Lines Matching refs:dnents
1283 unsigned int dnents = 0, transhdr_len, phys_dsgl, kctx_len; in process_cipher() local
1285 dnents = sg_nents_xlen(req->dst, req->cryptlen, in process_cipher()
1287 phys_dsgl = get_space_for_phys_dsgl(dnents); in process_cipher()
2448 unsigned int kctx_len = 0, dnents, snents; in create_authenc_wr() local
2471 dnents = sg_nents_xlen(req->dst, req->assoclen + req->cryptlen + in create_authenc_wr()
2473 dnents += MIN_AUTH_SG; // For IV in create_authenc_wr()
2476 dst_size = get_space_for_phys_dsgl(dnents); in create_authenc_wr()
2487 if (chcr_aead_need_fallback(req, dnents, T6_MAX_AAD_SIZE, in create_authenc_wr()
3045 unsigned int dst_size = 0, kctx_len, dnents, temp, snents; in create_aead_ccm_wr() local
3065 dnents = sg_nents_xlen(req->dst, req->assoclen + req->cryptlen in create_aead_ccm_wr()
3068 dnents += MIN_CCM_SG; // For IV and B0 in create_aead_ccm_wr()
3069 dst_size = get_space_for_phys_dsgl(dnents); in create_aead_ccm_wr()
3083 if (chcr_aead_need_fallback(req, dnents, T6_MAX_AAD_SIZE - in create_aead_ccm_wr()
3143 unsigned int transhdr_len, dnents = 0, snents; in create_gcm_wr() local
3161 dnents = sg_nents_xlen(req->dst, req->assoclen + req->cryptlen + in create_gcm_wr()
3166 dnents += MIN_GCM_SG; // For IV in create_gcm_wr()
3167 dst_size = get_space_for_phys_dsgl(dnents); in create_gcm_wr()
3176 if (chcr_aead_need_fallback(req, dnents, T6_MAX_AAD_SIZE, in create_gcm_wr()