//
// cms_keyid_cert_cmp from 0xe2071c to 0xe2075c (64 bytes)
//
// 4 xrefs:
// > CMS_RecipientInfo_kari_orig_id_cmp @ 0xe1ef84
// > CMS_RecipientEncryptedKey_cert_cmp @ 0xe1f080
// > cms_SignerIdentifier_cert_cmp @ 0xe213fc
// > ??> @ 0x561f0
//
// 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 cms_keyid_cert_cmp(const void **a1, __int64 a2)
{
__int64 v3; // x1
v3 = X509_get0_subject_key_id(a2);
if ( v3 )
return ASN1_OCTET_STRING_cmp(a1, v3);
else
return 0xFFFFFFFFLL;
}