// // DH_security_bits from 0xd88048 to 0xd880ac (100 bytes) // // 3 xrefs: // > tls_process_key_exchange @ 0xd4c02c // > sub_D859A8 @ 0xd859ac // > @ 0x96258 // // 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 DH_security_bits(__int64 *a1) { __int64 v2; // x0 int v3; // w0 int v4; // w1 __int64 v5; // x1 int v7; // [xsp+28h] [xbp+28h] int v8; // [xsp+28h] [xbp+28h] v2 = a1[8]; if ( v2 ) { v7 = BN_num_bits(v2); v3 = BN_num_bits(a1[1]); v4 = v7; } else { v5 = a1[3]; if ( !v5 ) LODWORD(v5) = -1; v8 = v5; v3 = BN_num_bits(a1[1]); v4 = v8; } return BN_security_bits(v3, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source