// // EVP_PKEY_encrypt from 0x8062d0 to 0x8063f0 (288 bytes) // // 8 xrefs: // > sub_79FC70 @ 0x79fdec // > tls_construct_client_key_exchange @ 0x7a24f4 // > tls_construct_client_key_exchange @ 0x7a2514 // > PKCS7_dataInit @ 0x826efc // > PKCS7_dataInit @ 0x826f3c // > CMS_RecipientInfo_encrypt @ 0x873bdc // > CMS_RecipientInfo_encrypt @ 0x873c24 // > @ 0x5cf5c // // 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 // int __fastcall EVP_PKEY_encrypt(int *a1, int a2, unsigned int *a3, int a4, int a5) { int v6; // r12 unsigned int v10; // r0 int (__fastcall *v12)(int *, int, unsigned int *, int, int); // r12 if ( a1 && (v6 = *a1) != 0 && *(_DWORD *)(v6 + 80) ) { if ( a1[4] == 256 ) { if ( (*(_DWORD *)(v6 + 4) & 2) == 0 ) { v12 = *(int (__fastcall **)(int *, int, unsigned int *, int, int))(v6 + 80); return v12(a1, a2, a3, a4, a5); } v10 = EVP_PKEY_size(a1[2]); if ( !a2 ) { *a3 = v10; return 1; } if ( v10 <= *a3 ) { v12 = *(int (__fastcall **)(int *, int, unsigned int *, int, int))(*a1 + 80); return v12(a1, a2, a3, a4, a5); } ERR_put_error(6, 105, 155, (int)"crypto/evp/pmeth_fn.c", 164); return 0; } else { ERR_put_error(6, 105, 151, (int)"crypto/evp/pmeth_fn.c", 161); return -1; } } else { ERR_put_error(6, 105, 150, (int)"crypto/evp/pmeth_fn.c", 157); return -2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source