• Home
  • Raw
  • Download

Lines Matching refs:authsize

951 	unsigned int authsize = crypto_aead_authsize(aead);  in ipsec_esp_unmap()  local
952 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize); in ipsec_esp_unmap()
987 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_encrypt_done() local
1003 authsize, areq->assoclen + areq->cryptlen); in ipsec_esp_encrypt_done()
1017 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_decrypt_swauth_done() local
1034 sg_pcopy_to_buffer(req->dst, nents, icvdata, authsize, in ipsec_esp_decrypt_swauth_done()
1035 len - authsize); in ipsec_esp_decrypt_swauth_done()
1038 icv = (char *)sg_virt(req->dst) + len - authsize; in ipsec_esp_decrypt_swauth_done()
1050 icv = oicv + authsize; in ipsec_esp_decrypt_swauth_done()
1054 err = crypto_memneq(oicv, icv, authsize) ? -EBADMSG : 0; in ipsec_esp_decrypt_swauth_done()
1184 unsigned int authsize = crypto_aead_authsize(aead); in ipsec_esp() local
1188 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize); in ipsec_esp()
1248 elen = authsize; in ipsec_esp()
1269 to_talitos_ptr_ext_or(&desc->ptr[5], authsize, is_sec1); in ipsec_esp()
1280 sizeof(struct talitos_ptr) + authsize; in ipsec_esp()
1286 to_talitos_ptr_len(tbl_ptr, authsize, is_sec1); in ipsec_esp()
1300 to_talitos_ptr_len(&desc->ptr[6], authsize, is_sec1); in ipsec_esp()
1303 ret = talitos_sg_map(dev, areq->dst, authsize, edesc, in ipsec_esp()
1345 unsigned int authsize, in talitos_edesc_alloc() argument
1360 if (cryptlen + authsize > max_len) { in talitos_edesc_alloc()
1366 src_len = assoclen + cryptlen + authsize; in talitos_edesc_alloc()
1376 src_len = assoclen + cryptlen + (encrypt ? 0 : authsize); in talitos_edesc_alloc()
1383 dst_len = assoclen + cryptlen + (encrypt ? authsize : 0); in talitos_edesc_alloc()
1404 sizeof(struct talitos_ptr) + authsize * 2; in talitos_edesc_alloc()
1408 alloc_len += icv_stashing ? authsize : 0; in talitos_edesc_alloc()
1436 unsigned int authsize = crypto_aead_authsize(authenc); in aead_edesc_alloc() local
1439 unsigned int cryptlen = areq->cryptlen - (encrypt ? 0 : authsize); in aead_edesc_alloc()
1443 authsize, ivsize, icv_stashing, in aead_edesc_alloc()
1467 unsigned int authsize = crypto_aead_authsize(authenc); in aead_decrypt() local
1505 sg_pcopy_to_buffer(req->src, edesc->src_nents ? : 1, icvdata, authsize, in aead_decrypt()
1506 req->assoclen + req->cryptlen - authsize); in aead_decrypt()