[dpdk-dev] [PATCH 4/6] crypto/mvsam: add support for AES ECB

Andrzej Ostruszka amo at semihalf.com
Fri Sep 21 16:46:01 CEST 2018


Akhil

This is ECB mode so AFAIU there is no need for IV as this is not feed
forward/back type of algo and there is nothing extra needed by the first
block (same thing in ccp driver).

I'm leaving this as it is (same for 3DES).

On 17.09.2018 15:59, Akhil Goyal wrote:
> On 8/24/2018 7:24 PM, Tomasz Duszynski wrote:
[...]
>> +	[RTE_CRYPTO_CIPHER_AES_ECB] = {
[...]
>> +				.algo = RTE_CRYPTO_CIPHER_AES_ECB,
>> +				.block_size = 16,
[...]
>> +				.iv_size = {
>> +					.min = 0,
>> +					.max = 0,
>> +					.increment = 0
>> +				}
> iv size may not be zero in this case and also in other patch for 3des. 
> Please check


More information about the dev mailing list