• Home
  • Raw
  • Download

Lines Matching refs:authsize

985 	unsigned int authsize = crypto_aead_authsize(authenc);  in ipsec_esp_encrypt_done()  local
1002 memcpy((char *)sg_virt(sg) + sg->length - authsize, in ipsec_esp_encrypt_done()
1003 icvdata, authsize); in ipsec_esp_encrypt_done()
1017 unsigned int authsize = crypto_aead_authsize(authenc); in ipsec_esp_decrypt_swauth_done() local
1031 icv = (char *)sg_virt(sg) + sg->length - authsize; in ipsec_esp_decrypt_swauth_done()
1042 icv = oicv + authsize; in ipsec_esp_decrypt_swauth_done()
1046 err = crypto_memneq(oicv, icv, authsize) ? -EBADMSG : 0; in ipsec_esp_decrypt_swauth_done()
1166 unsigned int authsize = crypto_aead_authsize(aead); in ipsec_esp() local
1234 to_talitos_ptr_ext_set(&desc->ptr[4], authsize, is_sec1); in ipsec_esp()
1237 sg_link_tbl_len += authsize; in ipsec_esp()
1259 to_talitos_ptr_ext_or(&desc->ptr[5], authsize, is_sec1); in ipsec_esp()
1270 sizeof(struct talitos_ptr) + authsize; in ipsec_esp()
1276 to_talitos_ptr_len(tbl_ptr, authsize, is_sec1); in ipsec_esp()
1290 to_talitos_ptr_len(&desc->ptr[6], authsize, is_sec1); in ipsec_esp()
1293 ret = talitos_sg_map(dev, areq->dst, authsize, edesc, in ipsec_esp()
1335 unsigned int authsize, in talitos_edesc_alloc() argument
1351 if (cryptlen + authsize > max_len) { in talitos_edesc_alloc()
1360 src_len = assoclen + cryptlen + authsize; in talitos_edesc_alloc()
1371 src_len = assoclen + cryptlen + (encrypt ? 0 : authsize); in talitos_edesc_alloc()
1379 dst_len = assoclen + cryptlen + (encrypt ? authsize : 0); in talitos_edesc_alloc()
1401 sizeof(struct talitos_ptr) + authsize * 2; in talitos_edesc_alloc()
1405 alloc_len += icv_stashing ? authsize : 0; in talitos_edesc_alloc()
1435 unsigned int authsize = crypto_aead_authsize(authenc); in aead_edesc_alloc() local
1441 authsize, ivsize, icv_stashing, in aead_edesc_alloc()
1465 unsigned int authsize = crypto_aead_authsize(authenc); in aead_decrypt() local
1472 req->cryptlen -= authsize; in aead_decrypt()
1506 memcpy(icvdata, (char *)sg_virt(sg) + sg->length - authsize, authsize); in aead_decrypt()