//
// ssl3_cbc_record_digest_supported from 0x9a1f6c to 0x9a1fc4 (88 bytes)
//
// 3 xrefs:
// > n_ssl3_mac @ 0x99f844
// > tls1_mac @ 0x99fb64
// > ??> @ 0x7449c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:48 +0000
//
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;
}