// // sub_E34118 from 0xe34118 to 0xe342f4 (476 bytes) // // 1 xrefs: // > @ 0x1132fa0 // // 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 sub_E34118(__int64 *a1, char *a2, char *a3) { unsigned int v6; // w20 v6 = strcmp(a2, "ec_paramgen_curve"); if ( !v6 ) { if ( (unsigned int)EC_curve_nist2nid(a3) || (unsigned int)OBJ_sn2nid((__int64)a3) || (unsigned int)OBJ_ln2nid((__int64)a3) ) { return EVP_PKEY_CTX_ctrl(a1, 408, 6); } ERR_put_error(16, 198, 141, (__int64)"crypto/ec/ec_pmeth.c", 356); return v6; } if ( !strcmp(a2, "ec_param_enc") ) { if ( !strcmp(a3, "explicit") || !strcmp(a3, "named_curve") ) return EVP_PKEY_CTX_ctrl(a1, 408, 6); return (unsigned int)-2; } v6 = strcmp(a2, "ecdh_kdf_md"); if ( v6 ) { if ( !strcmp(a2, "ecdh_cofactor_mode") ) { atoi(a3); return EVP_PKEY_CTX_ctrl(a1, 408, 1024); } return (unsigned int)-2; } if ( EVP_get_digestbyname((__int64)a3) ) return EVP_PKEY_CTX_ctrl(a1, 408, 1024); ERR_put_error(16, 198, 151, (__int64)"crypto/ec/ec_pmeth.c", 372); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source