Home
last modified time | relevance | path

Searched refs:thash (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/opencrypto/
H A Dcryptodev.c403 struct auth_hash *thash; in cse_create() local
448 thash = NULL; in cse_create()
451 thash = &auth_hash_poly1305; in cse_create()
518 thash = &auth_hash_sha1; in cse_create()
521 thash = &auth_hash_sha2_224; in cse_create()
534 thash = &auth_hash_null; in cse_create()
538 thash = &auth_hash_blake2b; in cse_create()
541 thash = &auth_hash_blake2s; in cse_create()
588 thash = NULL; in cse_create()
641 if (thash != NULL) { in cse_create()
[all …]
/freebsd-13.1/sys/netipsec/
H A Dxform_ah.c178 const struct auth_hash *thash; in ah_init0() local
181 thash = auth_algorithm_lookup(sav->alg_auth); in ah_init0()
182 if (thash == NULL) { in ah_init0()
203 __func__, thash->name)); in ah_init0()
207 if (keylen > thash->keysize && thash->keysize != 0) { in ah_init0()
210 keylen, thash->name, thash->keysize)); in ah_init0()
215 sav->tdb_authalgxform = thash; in ah_init0()