• Home
  • Raw
  • Download

Lines Matching refs:authsize

994 	unsigned int authsize = crypto_aead_authsize(aead);  in ipsec_esp_unmap()  local
995 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize); in ipsec_esp_unmap()
1005 cryptlen + authsize, areq->assoclen); in ipsec_esp_unmap()
1048 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_decrypt_swauth_done() local
1059 icv = oicv - authsize; in ipsec_esp_decrypt_swauth_done()
1061 err = crypto_memneq(oicv, icv, authsize) ? -EBADMSG : 0; in ipsec_esp_decrypt_swauth_done()
1200 unsigned int authsize = crypto_aead_authsize(aead); in ipsec_esp() local
1204 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize); in ipsec_esp()
1215 dma_addr_t dma_icv = edesc->dma_link_tbl + edesc->dma_len - authsize; in ipsec_esp()
1252 elen = authsize; in ipsec_esp()
1271 elen = authsize; in ipsec_esp()
1287 to_talitos_ptr(tbl_ptr, dma_icv, authsize, is_sec1); in ipsec_esp()
1288 to_talitos_ptr_ext_or(&desc->ptr[5], authsize, is_sec1); in ipsec_esp()
1291 to_talitos_ptr(&desc->ptr[6], dma_icv, authsize, is_sec1); in ipsec_esp()
1294 talitos_sg_map(dev, areq->dst, authsize, edesc, &desc->ptr[6], in ipsec_esp()
1325 unsigned int authsize, in talitos_edesc_alloc() argument
1340 if (cryptlen + authsize > max_len) { in talitos_edesc_alloc()
1346 src_len = assoclen + cryptlen + authsize; in talitos_edesc_alloc()
1356 src_len = assoclen + cryptlen + (encrypt ? 0 : authsize); in talitos_edesc_alloc()
1363 dst_len = assoclen + cryptlen + (encrypt ? authsize : 0); in talitos_edesc_alloc()
1381 (dst_nents ? dst_len : 0) + authsize; in talitos_edesc_alloc()
1384 sizeof(struct talitos_ptr) + authsize; in talitos_edesc_alloc()
1389 alloc_len += icv_stashing ? authsize : 0; in talitos_edesc_alloc()
1421 unsigned int authsize = crypto_aead_authsize(authenc); in aead_edesc_alloc() local
1424 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize); in aead_edesc_alloc()
1428 authsize, ivsize, icv_stashing, in aead_edesc_alloc()
1452 unsigned int authsize = crypto_aead_authsize(authenc); in aead_decrypt() local
1485 sg_pcopy_to_buffer(req->src, edesc->src_nents ? : 1, icvdata, authsize, in aead_decrypt()
1486 req->assoclen + req->cryptlen - authsize); in aead_decrypt()