//
// ssl3_cbc_record_digest_supported from 0xd36968 to 0xd369e8 (128 bytes)
//
// 3 xrefs:
// > n_ssl3_mac @ 0xd34250
// > tls1_mac @ 0xd345b0
// > ??> @ 0xabc00
//
// 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
//
__int64 __fastcall ssl3_cbc_record_digest_supported(__int64 a1)
{
__int64 v3; // x0
int v4; // w0
if ( (unsigned int)FIPS_mode() )
return 0;
v3 = EVP_MD_CTX_md(a1);
v4 = EVP_MD_type(v3);
if ( v4 != 64 )
{
if ( v4 <= 64 )
{
if ( v4 != 4 )
return 0;
}
else if ( (unsigned int)(v4 - 672) > 3 )
{
return 0;
}
}
return 1;
}