Searched refs:expected_hash (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/security/mac_veriexec_parser/ |
H A D | mac_veriexec_parser.c | 85 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 D | largeblob.c | 415 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 D | cred.c | 230 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 D | AppleDWARFIndex.cpp | 81 uint32_t expected_hash) { in EntryHasMatchingQualhash() argument 87 return hash && (*hash == expected_hash); in EntryHasMatchingQualhash()
|