Lines Matching refs:cipher
22 struct rte_crypto_cipher_xform *cipher; member
55 xform->cipher = &xfn->cipher; in fill_crypto_xform()
71 xform->cipher = &xfn->cipher; in fill_crypto_xform()
80 xform->cipher = &xf->cipher; in fill_crypto_xform()
257 sa->ctp.cipher.offset = sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_inb_init()
258 sa->ctp.cipher.length = sa->icv_len + sa->ctp.cipher.offset; in esp_inb_init()
268 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_inb_init()
273 sa->cofs.ofs.cipher.tail = 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()
313 sa->ctp.cipher.offset = hlen + sizeof(struct rte_esp_hdr) + in esp_outb_init()
315 sa->ctp.cipher.length = 0; in esp_outb_init()
319 sa->ctp.cipher.offset = hlen + sizeof(struct rte_esp_hdr); in esp_outb_init()
320 sa->ctp.cipher.length = sa->iv_len; in esp_outb_init()
323 sa->ctp.cipher.offset = 0; in esp_outb_init()
324 sa->ctp.cipher.length = 0; in esp_outb_init()
336 sa->ctp.auth.raw = sa->ctp.cipher.raw; 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()
347 (sa->ctp.cipher.offset + sa->ctp.cipher.length); in esp_outb_init()
439 sa->iv_ofs = cxf->cipher->iv.offset; in esp_sa_init()
441 switch (cxf->cipher->algo) { in esp_sa_init()