//
// DSA_generate_parameters_ex from 0xa95728 to 0xa957c4 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x8428c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:00 +0000
//
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);
}