Searched refs:ctp (Results 1 – 4 of 4) sorted by relevance
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()271 sa->ctp.auth.offset = 0; in esp_inb_init()277 sa->cofs.ofs.cipher.head = sa->ctp.cipher.offset - sa->ctp.auth.offset; in esp_inb_init()315 sa->ctp.cipher.length = 0; 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()[all …]
30 sop->cipher.data.offset = pofs + sa->ctp.cipher.offset; in sop_ciph_auth_prepare()31 sop->cipher.data.length = plen - sa->ctp.cipher.length; in sop_ciph_auth_prepare()32 sop->auth.data.offset = pofs + sa->ctp.auth.offset; in sop_ciph_auth_prepare()33 sop->auth.data.length = plen - sa->ctp.auth.length; in sop_ciph_auth_prepare()47 sop->aead.data.offset = pofs + sa->ctp.cipher.offset; in sop_aead_prepare()48 sop->aead.data.length = plen - sa->ctp.cipher.length; in sop_aead_prepare()175 *pofs += sa->ctp.auth.offset; in inb_cpu_crypto_prepare()176 clen = plen - sa->ctp.auth.length; in inb_cpu_crypto_prepare()290 clen = plen - sa->ctp.cipher.length; in inb_prepare()590 const uint32_t cofs = sa->ctp.cipher.offset; in tun_process()[all …]
31 sop->cipher.data.offset = sa->ctp.cipher.offset + pofs; in sop_ciph_auth_prepare()32 sop->cipher.data.length = sa->ctp.cipher.length + plen; in sop_ciph_auth_prepare()33 sop->auth.data.offset = sa->ctp.auth.offset + pofs; in sop_ciph_auth_prepare()34 sop->auth.data.length = sa->ctp.auth.length + plen; in sop_ciph_auth_prepare()48 sop->aead.data.offset = sa->ctp.cipher.offset + pofs; in sop_aead_prepare()49 sop->aead.data.length = sa->ctp.cipher.length + plen; in sop_aead_prepare()523 *pofs += sa->ctp.auth.offset; in outb_cpu_crypto_prepare()524 clen = plen + sa->ctp.auth.length; in outb_cpu_crypto_prepare()
95 } ctp; member