diff options
author | Benjamin BOURGEAIS | 2021-02-22 22:15:54 +0100 |
---|---|---|
committer | Benjamin BOURGEAIS | 2021-05-08 14:16:50 +0200 |
commit | a777c657c956d6a350a8d089fe6e9e1e8f6e9bde (patch) | |
tree | 5e11a9d1d3c2afecaf262ccbf811b033c1d99684 /src | |
parent | 4c154e82197039fd0991c69f563706bb17eb13ff (diff) | |
download | idevicerestore-a777c657c956d6a350a8d089fe6e9e1e8f6e9bde.tar.gz idevicerestore-a777c657c956d6a350a8d089fe6e9e1e8f6e9bde.tar.bz2 |
img4: Add new cases for the ASN1 label rewriting
Diffstat (limited to 'src')
-rw-r--r-- | src/img4.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -409,6 +409,14 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo memcpy((void*)tag, "rlgo", 4); } else if (strcmp(component_name, "RestoreTrustCache") == 0) { memcpy((void*)tag, "rtsc", 4); + } else if (strcmp(component_name, "RestoreDCP") == 0) { + memcpy((void*)tag, "rdcp", 4); + } else if (strcmp(component_name, "Ap,RestoreTMU") == 0) { + memcpy((void*)tag, "rtmu", 4); + } else if (strcmp(component_name, "Ap,RestoreCIO") == 0) { + memcpy((void*)tag, "rcio", 4); + } else if (strcmp(component_name, "Ap,DCP2") == 0) { + memcpy((void*)tag, "dcp2", 4); } } |