Add dynamic signature support

This commit is contained in:
ShirkNeko
2025-07-05 15:56:19 +08:00
parent e5f58caf11
commit f5c236c925
6 changed files with 350 additions and 4 deletions

View File

@@ -2,7 +2,19 @@
#define __KSU_H_APK_V2_SIGN
#include <linux/types.h>
#include "ksu.h"
bool ksu_is_manager_apk(char *path);
#endif
struct dynamic_sign_config {
unsigned int size;
char hash[65];
int is_set;
};
int ksu_handle_dynamic_sign(struct dynamic_sign_user_config *config);
void ksu_dynamic_sign_init(void);
void ksu_dynamic_sign_exit(void);
bool ksu_load_dynamic_sign(void);
#endif