// // EVP_PKEY_keygen_init from 0xdada70 to 0xdadb00 (144 bytes) // // 5 xrefs: // > ssl_generate_pkey @ 0xd38750 // > ssl_generate_pkey_curve @ 0xd387e4 // > EVP_PKEY_new_mac_key @ 0xdadc70 // > cms_RecipientInfo_kari_init @ 0xe1f3b8 // > @ 0xc2a48 // // 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_PKEY_keygen_init(__int64 *a1) { __int64 v2; // x1 __int64 (*v3)(void); // x1 __int64 result; // x0 if ( a1 && (v2 = *a1) != 0 && *(_QWORD *)(v2 + 56) ) { v3 = *(__int64 (**)(void))(v2 + 48); *((_DWORD *)a1 + 8) = 4; if ( v3 ) { result = v3(); if ( (int)result <= 0 ) *((_DWORD *)a1 + 8) = 0; } else { return 1; } } else { ERR_put_error(6, 147, 150, (__int64)"crypto/evp/pmeth_gn.c", 73); return 4294967294LL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source