//
// sub_A962E0 from 0xa962e0 to 0xa963c8 (232 bytes)
//
// 1 xrefs:
// > ??> @ 0xc81558
//
// 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 sub_A962E0(int a1, char *a2, const char *a3)
{
if ( !strcmp(a2, "dsa_paramgen_bits") || !strcmp(a2, "dsa_paramgen_q_bits") )
{
atoi(a3);
return EVP_PKEY_CTX_ctrl(a1, 116, 2);
}
else if ( !strcmp(a2, "dsa_paramgen_md") )
{
EVP_get_digestbyname((int)a3);
return EVP_PKEY_CTX_ctrl(a1, 116, 2);
}
else
{
return -2;
}
}