Home
last modified time | relevance | path

Searched refs:expected_hash (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/security/mac_veriexec_parser/
H A Dmac_veriexec_parser.c85 const unsigned char *expected_hash);
221 verify_digest(const char *data, size_t len, const unsigned char *expected_hash) in verify_digest() argument
230 return (memcmp(expected_hash, hash, SHA256_DIGEST_LENGTH)); in verify_digest()
/freebsd/contrib/libfido2/src/
H A Dlargeblob.c415 u_char expected_hash[LARGEBLOB_DIGEST_LENGTH]; in largeblob_array_check() local
419 if (array->len < sizeof(expected_hash)) { in largeblob_array_check()
423 body_len = array->len - sizeof(expected_hash); in largeblob_array_check()
424 if (largeblob_array_digest(expected_hash, array->ptr, body_len) < 0) { in largeblob_array_check()
429 return timingsafe_bcmp(expected_hash, array->ptr + body_len, in largeblob_array_check()
430 sizeof(expected_hash)); in largeblob_array_check()
H A Dcred.c230 unsigned char expected_hash[SHA256_DIGEST_LENGTH]; in fido_check_rp_id() local
232 explicit_bzero(expected_hash, sizeof(expected_hash)); in fido_check_rp_id()
235 expected_hash) != expected_hash) { in fido_check_rp_id()
240 return (timingsafe_bcmp(expected_hash, obtained_hash, in fido_check_rp_id()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DAppleDWARFIndex.cpp81 uint32_t expected_hash) { in EntryHasMatchingQualhash() argument
87 return hash && (*hash == expected_hash); in EntryHasMatchingQualhash()