• Home
  • Raw
  • Download

Lines Matching refs:IV

73 #define IV AES_BLOCK_SIZE  macro
847 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes); in create_cipher_wr()
849 FILL_SEC_CPL_CIPHERSTOP_HI(0, 0, IV + 1, 0); in create_cipher_wr()
855 0, 0, IV >> 1); in create_cipher_wr()
887 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr()
1206 memcpy(req->iv, reqctx->init_iv, IV); in chcr_handle_cipher_resp()
1297 reqctx->imm = (transhdr_len + IV + req->cryptlen) <= in process_cipher()
1299 bytes = IV + req->cryptlen; in process_cipher()
1327 memcpy(reqctx->init_iv, reqctx->iv, IV); in process_cipher()
1331 memcpy(reqctx->iv, req->iv, IV); in process_cipher()
1332 memcpy(reqctx->init_iv, req->iv, IV); in process_cipher()
2392 reqctx->scratch_pad = reqctx->iv + IV; in chcr_aead_common_init()
2516 chcr_req->sec_cpl.pldlen = htonl(req->assoclen + IV + req->cryptlen); in create_authenc_wr()
2518 null ? 0 : 1 + IV, in create_authenc_wr()
2519 null ? 0 : IV + req->assoclen, in create_authenc_wr()
2520 req->assoclen + IV + 1, in create_authenc_wr()
2524 null ? 0 : req->assoclen + IV + 1, in create_authenc_wr()
2535 IV >> 1); in create_authenc_wr()
2553 ulptx = (struct ulptx_sgl *)(ivptr + IV); in create_authenc_wr()
2562 memcpy(ivptr, req->iv, IV); in create_authenc_wr()
2567 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + IV + in create_authenc_wr()
2605 reqctx->iv_dma = dma_map_single(dev, reqctx->iv, (IV + reqctx->b0_len), in chcr_aead_dma_map()
2610 reqctx->b0_dma = reqctx->iv_dma + IV; in chcr_aead_dma_map()
2638 dma_unmap_single(dev, reqctx->iv_dma, IV, DMA_BIDIRECTIONAL); in chcr_aead_dma_map()
2667 dma_unmap_single(dev, reqctx->iv_dma, (IV + reqctx->b0_len), in chcr_aead_dma_unmap()
2724 dsgl_walk_add_page(&dsgl_walk, IV + reqctx->b0_len, reqctx->iv_dma); in chcr_add_aead_dst_ent()
2739 memcpy(buf, reqctx->iv, IV); in chcr_add_cipher_src_ent()
2740 buf += IV; in chcr_add_cipher_src_ent()
2990 (req->assoclen + IV + 1 + ccm_xtra) : 0; in fill_sec_cpl_for_aead()
3000 htonl(req->assoclen + IV + req->cryptlen + ccm_xtra); in fill_sec_cpl_for_aead()
3003 1 + IV, IV + assoclen + ccm_xtra, in fill_sec_cpl_for_aead()
3004 req->assoclen + IV + 1 + ccm_xtra, 0); in fill_sec_cpl_for_aead()
3013 aeadctx->hmac_ctrl, IV >> 1); in fill_sec_cpl_for_aead()
3113 ulptx = (struct ulptx_sgl *)(ivptr + IV); in create_aead_ccm_wr()
3121 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + IV + in create_aead_ccm_wr()
3202 htonl(req->assoclen + IV + req->cryptlen); in create_gcm_wr()
3204 assoclen ? 1 + IV : 0, in create_gcm_wr()
3205 assoclen ? IV + assoclen : 0, in create_gcm_wr()
3206 req->assoclen + IV + 1, 0); in create_gcm_wr()
3208 FILL_SEC_CPL_AUTHINSERT(0, req->assoclen + IV + 1, in create_gcm_wr()
3215 aeadctx->hmac_ctrl, IV >> 1); in create_gcm_wr()
3240 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + IV + in create_gcm_wr()