// // EC_POINT_set_affine_coordinates_GF2m from 0x7eb2b0 to 0x7eb388 (216 bytes) // // 5 xrefs: // > EC_KEY_set_public_key_affine_coordinates @ 0x7e9568 // > ec_GF2m_simple_set_compressed_coordinates @ 0x888f0c // > ec_GF2m_simple_oct2point @ 0x8896b8 // > ec_GF2m_simple_add @ 0x88a610 // > @ 0x6178c // // 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 EC_POINT_set_affine_coordinates_GF2m(int a1, _DWORD *a2) { int (__fastcall *v2)(int); // r4 int result; // r0 v2 = *(int (__fastcall **)(int))(*(_DWORD *)a1 + 72); if ( v2 ) { if ( *(_DWORD *)a1 == *a2 ) { result = v2(a1); if ( result ) { if ( EC_POINT_is_on_curve(a1, a2) <= 0 ) { ERR_put_error(16, 185, 107, "crypto/ec/ec_lib.c", 733); return 0; } else { return 1; } } } else { ERR_put_error(16, 185, 101, "crypto/ec/ec_lib.c", 725); return 0; } } else { ERR_put_error(16, 185, 66, "crypto/ec/ec_lib.c", 720); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source