// // EVP_CIPHER_CTX_set_key_length from 0xdaa1a0 to 0xdaa228 (136 bytes) // // 5 xrefs: // > CMAC_Init @ 0xd806f0 // > sub_DA7C88 @ 0xda7d44 // > PKCS7_dataDecode @ 0xdccfbc // > cms_EncryptedContent_init_bio @ 0xe7b1ac // > @ 0x86568 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __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