// // EVP_PKEY_derive_init from 0xdad534 to 0xdad5c4 (144 bytes) // // 7 xrefs: // > ssl_derive @ 0xd388ac // > sub_D60980 @ 0xd609e0 // > tls1_final_finish_mac @ 0xd61434 // > tls1_generate_master_secret @ 0xd61608 // > CMS_RecipientInfo_kari_set0_pkey @ 0xe1f0d0 // > cms_RecipientInfo_kari_init @ 0xe1f3f4 // > @ 0x85008 // // 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_derive_init(__int64 *a1) { __int64 v2; // x1 __int64 (*v3)(void); // x1 __int64 result; // x0 if ( a1 && (v2 = *a1) != 0 && *(_QWORD *)(v2 + 184) ) { v3 = *(__int64 (**)(void))(v2 + 176); *((_DWORD *)a1 + 8) = 1024; if ( v3 ) { result = v3(); if ( (int)result <= 0 ) *((_DWORD *)a1 + 8) = 0; } else { return 1; } } else { ERR_put_error(6, 154, 150, (__int64)"crypto/evp/pmeth_fn.c", 207); return 4294967294LL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source