// // EVP_CIPHER_CTX_set_key_length from 0x1028500 to 0x1028588 (136 bytes) // // 5 xrefs: // > CMAC_Init @ 0xffea50 // > sub_1025FE8 @ 0x10260a4 // > PKCS7_dataDecode @ 0x104b31c // > cms_EncryptedContent_init_bio @ 0x10f91ac // > @ 0xb2498 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:16:14 +0000 // __int64 __fastcall EVP_CIPHER_CTX_set_key_length(_DWORD *a1, int a2) { __int64 v3; // x1 v3 = *(_QWORD *)(*(_QWORD *)a1 + 16LL); if ( (v3 & 0x80) != 0 ) return EVP_CIPHER_CTX_ctrl((__int64)a1); if ( a1[26] == a2 ) return 1; if ( a2 > 0 && (v3 & 8) != 0 ) { a1[26] = a2; return 1; } else { ERR_put_error(6, 122, 130, (__int64)"crypto/evp/evp_enc.c", 557); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source