Home
last modified time | relevance | path

Searched refs:authsize (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sys/opencrypto/
H A Dxform.c207 .authsize = 12,
216 .authsize = 16,
225 .authsize = 20,
234 .authsize = 20,
243 .authsize = 12,
252 .authsize = 12,
261 .authsize = 12,
270 .authsize = 16,
279 .authsize = 20,
288 .authsize = 16,
[all …]
H A Dxform.h35 u_int16_t authsize; member
H A Dcryptosoft.c544 axf->auth_hash->authsize); in swcr_authcompute()
548 axf->auth_hash->authsize, aalg); in swcr_authcompute()
551 memcpy(crp->crp_mac, aalg, axf->auth_hash->authsize); in swcr_authcompute()
689 COPYBACK(outtype, buf, crda->crd_inject, axf->auth_hash->authsize, aalg); in swcr_combined()
691 memcpy(crp->crp_mac, aalg, axf->auth_hash->authsize); in swcr_combined()
H A Dcryptodev.c694 (error = copyout(crp->crp_mac, cop->mac, cse->thash->authsize))) { in cryptodev_op()
1817 cse->thash->authsize))) in cryptodev_getmstatus()
1920 cse->thash->authsize))) in cryptodev_getstatus()
/netbsd-src/sys/netipsec/
H A Dxform_ah.c100 ((sav->flags & SADB_X_EXT_OLD) ? 16 : (sav)->tdb_authalgxform->authsize)
170 int authsize, rplen, align; in ah_hdrsiz() local
183 authsize = AUTHSIZE(sav); in ah_hdrsiz()
184 size = roundup(rplen + authsize, align); in ah_hdrsiz()
530 int hl, rplen, authsize, ahsize, error, stat = AH_STAT_HDROPS; in ah_input() local
565 authsize = AUTHSIZE(sav); in ah_input()
615 size_t extra = skip + rplen + authsize; in ah_input()
645 m_copyback(m, skip + rplen, authsize, ipseczeroes); in ah_input()
739 int authsize; in ah_input_cb() local
761 authsize = AUTHSIZE(sav); in ah_input_cb()
[all …]
H A Dxform_esp.c338 alen = esph ? esph->authsize : 0; in esp_input()
562 m_copydata(m, m->m_pkthdr.len - esph->authsize, in esp_input_cb()
563 esph->authsize, aalg); in esp_input_cb()
568 if (!consttime_memequal(ptr, aalg, esph->authsize)) { in esp_input_cb()
578 m_adj(m, -(esph->authsize)); in esp_input_cb()
705 alen = esph ? esph->authsize : 0; in esp_output()
993 m_copyback(m, m->m_pkthdr.len - esph->authsize, in esp_output_cb()
994 esph->authsize, ipseczeroes); in esp_output_cb()
/netbsd-src/sys/dev/pci/qat/
H A Dqat_hw15.c600 auth_hdr->final_sz = sah->auth_hash->authsize; in qat_crypto_setup_auth_desc()
H A Dqat.c1486 desc->qcd_auth_sz = sah->auth_hash->authsize; in qat_crypto_load_auth_cryptoini()