crypto/cnxk: remove IV clearing
Zeroising AES-CMAC IV would be done in microcode. Clearing in DPDK is not redundant. Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
This commit is contained in:
parent
661aeb251c
commit
effdcd4853
@ -91,10 +91,6 @@ pdcp_iv_copy(uint8_t *iv_d, uint8_t *iv_s, const uint8_t pdcp_alg_type,
|
||||
memcpy(iv_d + 6, iv_s + 8, 17);
|
||||
} else
|
||||
memcpy(iv_d, iv_s, 16);
|
||||
} else {
|
||||
/* AES-CMAC EIA2, microcode expects 16B zeroized IV */
|
||||
for (j = 0; j < 16; j++)
|
||||
iv_d[j] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user