//
// DSA_security_bits from 0x7e21a8 to 0x7e21f4 (76 bytes)
//
// 2 xrefs:
// > sub_7E1014 @ 0x7e1018
// > ??> @ 0x60d1c
//
// 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 DSA_security_bits(int a1)
{
int v2; // r5
int v3; // r1
if ( !*(_DWORD *)(a1 + 8) || !*(_DWORD *)(a1 + 12) )
return -1;
v2 = BN_num_bits(*(_DWORD **)(a1 + 8));
v3 = BN_num_bits(*(_DWORD **)(a1 + 12));
return BN_security_bits(v2, v3);
}