Home
last modified time | relevance | path

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

/freebsd/sys/netipsec/
H A Dxform_ah.c181 const struct auth_hash *thash; in ah_init0() local
184 thash = auth_algorithm_lookup(sav->alg_auth); in ah_init0()
185 if (thash == NULL) { in ah_init0()
206 __func__, thash->name)); in ah_init0()
210 if (keylen > thash->keysize && thash->keysize != 0) { in ah_init0()
213 keylen, thash->name, thash->keysize)); in ah_init0()
218 sav->tdb_authalgxform = thash; in ah_init0()
/freebsd/sys/opencrypto/
H A Dcryptodev.c337 const struct auth_hash *thash; in cse_create() local
388 thash = crypto_auth_hash(&csp); in cse_create()
397 } else if (txform != NULL && thash != NULL) { in cse_create()
401 } else if (thash != NULL) { in cse_create()
436 if (thash != NULL) { in cse_create()
437 if (sop->mackeylen > thash->keysize || sop->mackeylen < 0) { in cse_create()
473 if (!(thash != NULL || csp.csp_mode == CSP_MODE_AEAD)) { in cse_create()
504 else if (thash != NULL) in cse_create()
505 cse->hashsize = thash->hashsize; in cse_create()