crypto/cnxk: remove auth IV from Kasumi cipher

Auth IV is not applicable for kasumi cipher operation.
Removed the same.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
This commit is contained in:
Anoob Joseph 2022-08-09 16:23:50 +05:30 committed by Akhil Goyal
parent 5cbc879b81
commit 256d24011e

View File

@ -2411,14 +2411,9 @@ fill_fc_params(struct rte_crypto_op *cop, struct cnxk_se_sess *sess,
}
}
/* Kasumi would need auth IV */
if (is_kasumi && sess->zsk_flag) {
fc_params.auth_iv_len = sess->auth_iv_length;
if (sess->auth_iv_length)
fc_params.auth_iv_buf =
rte_crypto_op_ctod_offset(cop, uint8_t *, sess->auth_iv_offset);
/* Kasumi would need SG mode */
if (is_kasumi)
inplace = 0;
}
m_src = sym_op->m_src;
m_dst = sym_op->m_dst;