// // EVP_PKEY_copy_parameters from 0x805244 to 0x805370 (300 bytes) // // 13 xrefs: // > sub_643938 @ 0x6442ba // > sub_79B558 @ 0x79b5b4 // > sub_79B6F4 @ 0x79b73c // > SSL_use_PrivateKey @ 0x79bed8 // > SSL_CTX_use_PrivateKey @ 0x79c7a4 // > tls_process_client_key_exchange @ 0x7ab4cc // > tls_process_client_key_exchange @ 0x7ab938 // > X509_get_pubkey_parameters @ 0x843d54 // > X509_get_pubkey_parameters @ 0x843d70 // > sub_8800DC @ 0x88011c // > sub_881C4C @ 0x881c88 // > sub_88B048 @ 0x88b094 // > @ 0x5536c // // 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_copy_parameters(_DWORD *a1, int *a2) { int v4; // r3 int (__fastcall *v5)(_DWORD *, int *); // r3 int result; // r0 if ( *a1 ) { if ( *a1 == *a2 ) { if ( !EVP_PKEY_missing_parameters((int)a2) ) goto LABEL_4; LABEL_11: ERR_put_error(6, 103, 103, (int)"crypto/evp/p_lib.c", 84); return 0; } ERR_put_error(6, 103, 101, (int)"crypto/evp/p_lib.c", 79); return 0; } if ( !EVP_PKEY_set_type(a1, *a2) ) return 0; if ( EVP_PKEY_missing_parameters((int)a2) ) goto LABEL_11; LABEL_4: if ( EVP_PKEY_missing_parameters((int)a1) ) { v4 = a2[3]; if ( v4 ) { v5 = *(int (__fastcall **)(_DWORD *, int *))(v4 + 72); if ( v5 ) return v5(a1, a2); } return 0; } result = EVP_PKEY_cmp_parameters(a1, a2); if ( result != 1 ) { ERR_put_error(6, 103, 153, (int)"crypto/evp/p_lib.c", 91); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source