Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: talitos - drop icv_ool

icv_ool is not used anymore, drop it.

Fixes: e345177ded17 ("crypto: talitos - fix AEAD processing.")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Christophe Leroy and committed by
Herbert Xu
d45b1714 58cdbc6d

-5
-3
drivers/crypto/talitos.c
··· 1285 1285 is_ipsec_esp && !encrypt); 1286 1286 tbl_off += ret; 1287 1287 1288 - /* ICV data */ 1289 - edesc->icv_ool = !encrypt; 1290 - 1291 1288 if (!encrypt && is_ipsec_esp) { 1292 1289 struct talitos_ptr *tbl_ptr = &edesc->link_tbl[tbl_off]; 1293 1290
-2
drivers/crypto/talitos.h
··· 46 46 * talitos_edesc - s/w-extended descriptor 47 47 * @src_nents: number of segments in input scatterlist 48 48 * @dst_nents: number of segments in output scatterlist 49 - * @icv_ool: whether ICV is out-of-line 50 49 * @iv_dma: dma address of iv for checking continuity and link table 51 50 * @dma_len: length of dma mapped link_tbl space 52 51 * @dma_link_tbl: bus physical address of link_tbl/buf ··· 60 61 struct talitos_edesc { 61 62 int src_nents; 62 63 int dst_nents; 63 - bool icv_ool; 64 64 dma_addr_t iv_dma; 65 65 int dma_len; 66 66 dma_addr_t dma_link_tbl;