// // EVP_PKEY_derive_init from 0x8065ac to 0x80662c (128 bytes) // // 7 xrefs: // > ssl_derive @ 0x78f1a8 // > sub_7BA004 @ 0x7ba040 // > tls1_final_finish_mac @ 0x7bab3c // > tls1_generate_master_secret @ 0x7bad24 // > CMS_RecipientInfo_kari_set0_pkey @ 0x874820 // > cms_RecipientInfo_kari_init @ 0x874b20 // > @ 0x5aeac // // 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_derive_init(int *a1) { int v2; // r3 int (*v3)(void); // r3 int result; // r0 if ( a1 && (v2 = *a1) != 0 && *(_DWORD *)(v2 + 96) ) { v3 = *(int (**)(void))(v2 + 92); a1[4] = 1024; if ( v3 ) { result = v3(); if ( result <= 0 ) a1[4] = 0; } else { return 1; } } else { ERR_put_error(6, 154, 150, (int)"crypto/evp/pmeth_fn.c", 207); return -2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source