Lines Matching refs:transhdr_len
810 unsigned int temp = 0, transhdr_len, dst_size; in create_cipher_wr() local
824 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr()
829 transhdr_len += temp; in create_cipher_wr()
830 transhdr_len = roundup(transhdr_len, 16); in create_cipher_wr()
836 chcr_req = __skb_put_zero(skb, transhdr_len); in create_cipher_wr()
883 transhdr_len, temp, in create_cipher_wr()
1283 unsigned int dnents = 0, transhdr_len, phys_dsgl, kctx_len; in process_cipher() local
1289 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, phys_dsgl); in process_cipher()
1290 reqctx->imm = (transhdr_len + IV + req->cryptlen) <= in process_cipher()
1571 unsigned int nents = 0, transhdr_len; in create_hash_wr() local
1580 transhdr_len = HASH_TRANSHDR_SIZE(param->kctx_len); in create_hash_wr()
1581 req_ctx->hctx_wr.imm = (transhdr_len + param->bfr_len + in create_hash_wr()
1586 transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + in create_hash_wr()
1588 transhdr_len = roundup(transhdr_len, 16); in create_hash_wr()
1590 skb = alloc_skb(transhdr_len, flags); in create_hash_wr()
1593 chcr_req = __skb_put_zero(skb, transhdr_len); in create_hash_wr()
1647 param->hash_size, transhdr_len, in create_hash_wr()
2446 unsigned int transhdr_len; in create_authenc_wr() local
2479 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_authenc_wr()
2480 reqctx->imm = (transhdr_len + req->assoclen + req->cryptlen) < in create_authenc_wr()
2484 transhdr_len += temp; in create_authenc_wr()
2485 transhdr_len = roundup(transhdr_len, 16); in create_authenc_wr()
2488 transhdr_len, reqctx->op)) { in create_authenc_wr()
2493 skb = alloc_skb(transhdr_len, flags); in create_authenc_wr()
2499 chcr_req = __skb_put_zero(skb, transhdr_len); in create_authenc_wr()
2564 transhdr_len, temp, 0); in create_authenc_wr()
3044 unsigned int transhdr_len; in create_aead_ccm_wr() local
3074 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_aead_ccm_wr()
3075 reqctx->imm = (transhdr_len + req->assoclen + req->cryptlen + in create_aead_ccm_wr()
3080 transhdr_len += temp; in create_aead_ccm_wr()
3081 transhdr_len = roundup(transhdr_len, 16); in create_aead_ccm_wr()
3084 reqctx->b0_len, transhdr_len, reqctx->op)) { in create_aead_ccm_wr()
3089 skb = alloc_skb(transhdr_len, flags); in create_aead_ccm_wr()
3096 chcr_req = __skb_put_zero(skb, transhdr_len); in create_aead_ccm_wr()
3119 transhdr_len, temp, 0); in create_aead_ccm_wr()
3143 unsigned int transhdr_len, dnents = 0, snents; in create_gcm_wr() local
3169 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_gcm_wr()
3170 reqctx->imm = (transhdr_len + req->assoclen + req->cryptlen) <= in create_gcm_wr()
3174 transhdr_len += temp; in create_gcm_wr()
3175 transhdr_len = roundup(transhdr_len, 16); in create_gcm_wr()
3177 transhdr_len, reqctx->op)) { in create_gcm_wr()
3183 skb = alloc_skb(transhdr_len, flags); in create_gcm_wr()
3189 chcr_req = __skb_put_zero(skb, transhdr_len); in create_gcm_wr()
3237 transhdr_len, temp, reqctx->verify); in create_gcm_wr()