// // ec_GF2m_simple_group_check_discriminant from 0x10b16cc to 0x10b1784 (184 bytes) // // 2 xrefs: // > @ 0x926e0 // > @ 0x153ef08 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:17:43 +0000 // bool __fastcall ec_GF2m_simple_group_check_discriminant(__int64 a1, int32x2_t *a2) { int32x2_t *v2; // x19 void **v4; // x20 __int64 v5; // x0 __int64 v6; // x22 _BOOL4 v7; // w21 v2 = a2; v4 = nullptr; if ( a2 || (v4 = (void **)BN_CTX_new(), (v2 = (int32x2_t *)v4) != nullptr) ) { BN_CTX_start((unsigned __int64)v2); v5 = BN_CTX_get(v2); v6 = v5; v7 = v5 && (unsigned int)BN_GF2m_mod_arr(v5, *(_QWORD *)(a1 + 104), a1 + 72) && !BN_is_zero(v6); BN_CTX_end((__int64)v2); } else { v7 = 0; ERR_put_error(16, 159, 65, (__int64)"crypto/ec/ec2_smpl.c", 259); } BN_CTX_free(v4); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source