//
// sub_10A9C54 from 0x10a9c54 to 0x10a9d58 (260 bytes)
//
// 1 xrefs:
// > ??> @ 0x1410460
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:37 +0000
//
__int64 __fastcall sub_10A9C54(__int64 *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((__int64)a3);
return EVP_PKEY_CTX_ctrl(a1, 116, 2);
}
else
{
return 4294967294LL;
}
}