Lines Matching refs:cipher
24 struct rte_crypto_cipher_xform *cipher; member
64 xform->cipher = &xfn->cipher; in fill_crypto_xform()
73 xform->cipher = &xf->cipher; in fill_crypto_xform()
246 sa->ctp.cipher.offset = sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_inb_init()
247 sa->ctp.cipher.length = sa->icv_len + sa->ctp.cipher.offset; in esp_inb_init()
256 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_inb_init()
261 sa->cofs.ofs.cipher.tail = sa->sqh_len; in esp_inb_init()
265 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_inb_init()
299 sa->ctp.cipher.offset = hlen + sizeof(struct rte_esp_hdr) + in esp_outb_init()
301 sa->ctp.cipher.length = 0; in esp_outb_init()
305 sa->ctp.cipher.offset = hlen + sizeof(struct rte_esp_hdr); in esp_outb_init()
306 sa->ctp.cipher.length = sa->iv_len; in esp_outb_init()
317 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_outb_init()
326 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_outb_init()
327 sa->cofs.ofs.cipher.tail = (sa->ctp.auth.offset + sa->ctp.auth.length) - in esp_outb_init()
328 (sa->ctp.cipher.offset + sa->ctp.cipher.length); in esp_outb_init()
382 sa->iv_ofs = cxf->cipher->iv.offset; in esp_sa_init()
385 switch (cxf->cipher->algo) { in esp_sa_init()