//
// EVP_PKEY_get0_hmac from 0x102a7a4 to 0x102a800 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xb74d8
//
// 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:16:16 +0000
//
__int64 __fastcall EVP_PKEY_get0_hmac(_DWORD *a1, _QWORD *a2)
{
int *v2; // x0
__int64 v3; // x2
__int64 result; // x0
if ( *a1 == 855 )
{
v2 = (int *)EVP_PKEY_get0((__int64)a1);
v3 = *v2;
result = *((_QWORD *)v2 + 1);
*a2 = v3;
}
else
{
ERR_put_error(6, 183, 174, (__int64)"crypto/evp/p_lib.c", 244);
return 0;
}
return result;
}