Lines Matching refs:authsize

649 	unsigned int authsize;  member
670 unsigned int authsize) in aead_setauthsize() argument
674 ctx->authsize = authsize; in aead_setauthsize()
837 memcpy((char *)sg_virt(sg) + sg->length - ctx->authsize, in ipsec_esp_encrypt_done()
838 icvdata, ctx->authsize); in ipsec_esp_encrypt_done()
872 ctx->authsize, ctx->authsize) ? -EBADMSG : 0; in ipsec_esp_decrypt_swauth_done()
950 unsigned int authsize = ctx->authsize; in ipsec_esp() local
1011 desc->ptr[4].j_extent = authsize; in ipsec_esp()
1024 sg_link_tbl_len = cryptlen + authsize; in ipsec_esp()
1043 desc->ptr[5].j_extent = authsize; in ipsec_esp()
1066 tbl_ptr->len = cpu_to_be16(authsize); in ipsec_esp()
1120 unsigned int authsize, in talitos_edesc_alloc() argument
1133 if (cryptlen + authsize > TALITOS_MAX_DATA_LEN) { in talitos_edesc_alloc()
1158 src_nents = sg_count(src, cryptlen + authsize, &src_chained); in talitos_edesc_alloc()
1162 src_nents = sg_count(src, cryptlen + (encrypt ? 0 : authsize), in talitos_edesc_alloc()
1165 dst_nents = sg_count(dst, cryptlen + (encrypt ? authsize : 0), in talitos_edesc_alloc()
1178 sizeof(struct talitos_ptr) + authsize; in talitos_edesc_alloc()
1182 alloc_len += icv_stashing ? authsize : 0; in talitos_edesc_alloc()
1226 ctx->authsize, ivsize, icv_stashing, in aead_edesc_alloc()
1251 unsigned int authsize = ctx->authsize; in aead_decrypt() local
1257 req->cryptlen -= authsize; in aead_decrypt()
1292 memcpy(icvdata, (char *)sg_virt(sg) + sg->length - ctx->authsize, in aead_decrypt()
1293 ctx->authsize); in aead_decrypt()