Lines Matching refs:auth
21 struct rte_crypto_auth_xform *auth; member
51 xf->auth.algo == RTE_CRYPTO_AUTH_AES_GMAC) { in fill_crypto_xform()
54 xform->auth = &xf->auth; in fill_crypto_xform()
70 xform->auth = &xf->auth; in fill_crypto_xform()
81 xform->auth = &xfn->auth; in fill_crypto_xform()
268 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_inb_init()
271 sa->ctp.auth.offset = 0; in esp_inb_init()
272 sa->ctp.auth.length = sa->icv_len - sa->sqh_len; in esp_inb_init()
277 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_inb_init()
336 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_outb_init()
339 sa->ctp.auth.offset = hlen; in esp_outb_init()
340 sa->ctp.auth.length = sizeof(struct rte_esp_hdr) + in esp_outb_init()
345 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_outb_init()
346 sa->cofs.ofs.cipher.tail = (sa->ctp.auth.offset + sa->ctp.auth.length) - in esp_outb_init()
428 } else if (cxf->auth->algo == RTE_CRYPTO_AUTH_AES_GMAC) { in esp_sa_init()
433 sa->icv_len = cxf->auth->digest_length; in esp_sa_init()
434 sa->iv_ofs = cxf->auth->iv.offset; in esp_sa_init()
438 sa->icv_len = cxf->auth->digest_length; in esp_sa_init()