//
// ssl3_cbc_record_digest_supported from 0xfb4cbc to 0xfb4d3c (128 bytes)
//
// 3 xrefs:
// > n_ssl3_mac @ 0xfb25a4
// > tls1_mac @ 0xfb2904
// > ??> @ 0xe1088
//
// 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:15:13 +0000
//
__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;
}