Fix patch verity and forceencrypt

This commit is contained in:
topjohnwu
2019-09-26 03:14:56 -04:00
parent b763b81f56
commit 3d4081d0af
3 changed files with 29 additions and 32 deletions

View File

@@ -18,6 +18,6 @@ int hexpatch(const char *image, const char *from, const char *to);
int cpio_commands(int argc, char *argv[]);
int dtb_commands(int argc, char *argv[]);
char *patch_verity(const void *buf, uint32_t &size);
void patch_encryption(void **buf, uint32_t *size);
char *patch_verity(const void *buf, uint32_t &size, bool inplace = false);
void patch_encryption(void *&buf, uint32_t &size);
bool check_env(const char *name);