Haystack and Obfuscated OEMCrypto Level 3
This CL contains working versions of the haystack tools and the OEMCrypto Level 3 library for android ARM, MIPS and x86. The version number of the level 3 library is: android/level3/arm/libwvlevel3.a Level3 Library Nov 4 2013 18:39:06 android/level3/mips/libwvlevel3.a Level3 Library Nov 4 2013 18:42:29 android/level3/x86/libwvlevel3.a Level3 Library Nov 4 2013 18:41:07 bug: 9374954 MediaDrm haystack based L3 code hardening implementation. Change-Id: Ifef13900a11e83e4257723d3c6fc7107550882a8
This commit is contained in:
@@ -36,7 +36,7 @@ void ctr128_inc(uint8_t* counter) {
|
||||
uint32_t n = 16;
|
||||
do {
|
||||
if (++counter[--n] != 0) return;
|
||||
} while (n);
|
||||
} while (n>8);
|
||||
}
|
||||
void dump_openssl_error() {
|
||||
while (unsigned long err = ERR_get_error()) {
|
||||
|
||||
Reference in New Issue
Block a user