Lines Matching defs:iv_len

160 	unsigned int iv_len;
629 u_int imm_len, iv_len;
669 iv_len = AES_BLOCK_LEN;
671 iv_len = s->cipher.iv_len;
673 if (ccr_use_imm_data(transhdr_len, crp->crp_payload_length + iv_len)) {
688 wr_len = roundup2(transhdr_len, 16) + iv_len +
703 memset(iv + s->cipher.iv_len, 0, iv_len - s->cipher.iv_len);
715 crwr->sec_cpl.pldlen = htobe32(iv_len + crp->crp_payload_length);
718 V_CPL_TX_SEC_PDU_CIPHERSTART(iv_len + 1) |
731 V_SCMD_IV_SIZE(iv_len / 2) |
768 memcpy(dst, iv, iv_len);
769 dst += iv_len;
822 u_int hash_size_in_response, imm_len, iopad_size, iv_len;
843 iv_len = AES_BLOCK_LEN;
845 iv_len = s->cipher.iv_len;
847 if (crp->crp_aad_length + iv_len > MAX_AAD_LEN)
867 if (iv_len + crp->crp_aad_length + crp->crp_payload_length +
871 if (iv_len + crp->crp_aad_length + crp->crp_payload_length >
877 iv_len + crp->crp_aad_length);
939 if (ccr_use_imm_data(transhdr_len, iv_len + input_len)) {
973 aad_start = iv_len + 1;
979 cipher_start = iv_len + crp->crp_aad_length + 1;
989 wr_len = roundup2(transhdr_len, 16) + iv_len + roundup2(imm_len, 16) +
1004 memset(iv + s->cipher.iv_len, 0, iv_len - s->cipher.iv_len);
1016 crwr->sec_cpl.pldlen = htobe32(iv_len + input_len);
1039 V_SCMD_IV_SIZE(iv_len / 2) |
1079 memcpy(dst, iv, iv_len);
1080 dst += iv_len;
1125 u_int iv_len, kctx_len, op_type, transhdr_len, wr_len;
1152 iv_len = AES_BLOCK_LEN;
1170 if (iv_len + crp->crp_aad_length + crp->crp_payload_length +
1174 if (iv_len + crp->crp_aad_length + crp->crp_payload_length >
1179 error = sglist_append_sglist(s->sg_dsgl, sc->sg_iv_aad, 0, iv_len +
1229 if (ccr_use_imm_data(transhdr_len, iv_len + input_len)) {
1262 aad_start = iv_len + 1;
1268 cipher_start = iv_len + crp->crp_aad_length + 1;
1278 wr_len = roundup2(transhdr_len, 16) + iv_len + roundup2(imm_len, 16) +
1303 crwr->sec_cpl.pldlen = htobe32(iv_len + input_len);
1335 V_SCMD_IV_SIZE(iv_len / 2) |
1350 memcpy(dst, iv, iv_len);
1351 dst += iv_len;
1455 u_int iv_len, kctx_len, op_type, transhdr_len, wr_len;
1499 iv_len = AES_BLOCK_LEN;
1501 if (iv_len + aad_len > MAX_AAD_LEN)
1520 if (iv_len + aad_len + crp->crp_payload_length +
1524 if (iv_len + aad_len + crp->crp_payload_length >
1529 error = sglist_append_sglist(s->sg_dsgl, sc->sg_iv_aad, 0, iv_len +
1579 if (ccr_use_imm_data(transhdr_len, iv_len + input_len)) {
1613 aad_start = iv_len + 1;
1625 wr_len = roundup2(transhdr_len, 16) + iv_len + roundup2(imm_len, 16) +
1641 memset(iv, 0, iv_len);
1655 crwr->sec_cpl.pldlen = htobe32(iv_len + input_len);
1682 V_SCMD_IV_SIZE(iv_len / 2) |
1697 memcpy(dst, iv, iv_len);
1698 dst += iv_len;
2500 s->cipher.iv_len = csp->csp_ivlen;