//
// DSA_generate_parameters_ex from 0x880b28 to 0x880bc4 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x6a80c
//
// 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_generate_parameters_ex(int *a1, signed int a2, void *a3, size_t a4, _DWORD *a5, int *a6, int a7)
{
void *v12; // r10
int v13; // r0
if ( *(_DWORD *)(a1[11] + 40) )
return (*(int (**)(void))(a1[11] + 40))();
if ( a2 < 2048 )
v12 = EVP_sha1();
else
v12 = EVP_sha256();
v13 = EVP_MD_size((int)v12);
return dsa_builtin_paramgen(a1, a2, 8 * v13, (int)v12, a3, a4, nullptr, a5, a6, a7);
}