Home
last modified time | relevance | path

Searched refs:key_hash (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/ntp/libntp/
H A Dauthkeys.c74 symkey **key_hash; variable
285 newalloc = authhashbuckets * sizeof(key_hash[0]); in init_auth()
287 key_hash = emalloc_zero(newalloc); in init_auth()
312 free(key_hash); in free_auth_mem()
313 key_hash = NULL; in free_auth_mem()
457 newalloc = authhashbuckets * sizeof(key_hash[0]); in auth_resize_hashtable()
459 key_hash = erealloc(key_hash, newalloc); in auth_resize_hashtable()
460 zero_mem(key_hash, newalloc); in auth_resize_hashtable()
464 LINK_SLIST(key_hash[hash], sk, hlink); in auth_resize_hashtable()
490 bucket = &key_hash[KEYHASH(id)]; in allocsymkey()
[all …]
/freebsd-14.2/contrib/wpa/src/tls/
H A Dtlsv1_client_ocsp.c51 struct x509_name *name, const u8 *key_hash) in ocsp_responder_id_match() argument
53 if (key_hash) { in ocsp_responder_id_match()
60 return os_memcmp(hash, key_hash, SHA1_MAC_LEN) == 0; in ocsp_responder_id_match()
119 const u8 *name_hash, *key_hash; in tls_process_ocsp_single_response() local
192 key_hash = hdr.payload; in tls_process_ocsp_single_response()
200 os_memcmp(key_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response()
350 const u8 *resp_data, *sign_value, *key_hash = NULL, *responses; in tls_process_basic_ocsp_response() local
521 key_hash = hdr.payload; in tls_process_basic_ocsp_response()
523 key_hash, hdr.length); in tls_process_basic_ocsp_response()
592 if (ocsp_responder_id_match(issuer, &name, key_hash)) { in tls_process_basic_ocsp_response()
[all …]
/freebsd-14.2/contrib/bmake/
H A Dhash.c127 if (e->key_hash == h && in HashTable_Find()
229 he->next = newBuckets[he->key_hash & newMask]; in HashTable_Enlarge()
230 newBuckets[he->key_hash & newMask] = he; in HashTable_Enlarge()
267 he->key_hash = h; in HashTable_CreateEntry()
290 HashEntry **ref = &t->buckets[he->key_hash & t->bucketsMask]; in HashTable_DeleteEntry()
H A Dhash.h85 unsigned int key_hash; /* hash value of the key */ member
/freebsd-14.2/contrib/ntp/
H A DCommitLog-4.1.04421 * libntp/authkeys.c (key_hash, authnokey, authfreekeys,