//
// ssl3_cbc_record_digest_supported from 0x78d368 to 0x78d3c0 (88 bytes)
//
// 3 xrefs:
// > n_ssl3_mac @ 0x78ac40
// > tls1_mac @ 0x78af60
// > ??> @ 0x5aa1c
//
// 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
//
int __fastcall ssl3_cbc_record_digest_supported(int a1)
{
int v3; // r0
int v4; // r0
if ( FIPS_mode() )
return 0;
v3 = EVP_MD_CTX_md(a1);
v4 = EVP_MD_type(v3);
if ( v4 == 64 )
return 1;
if ( v4 <= 64 )
return v4 == 4;
return (unsigned int)(v4 - 672) <= 3;
}