Re: [dpdk-dev] Crypto API for AES-XTS cipher algorithm

2021-02-02 Thread Matan Azrad
Yes. I'll do soon. From: Akhil Goyal Sent: Thursday, January 21, 2021 8:33 PM To: Matan Azrad ; Declan Doherty Cc: dev@dpdk.org Subject: RE: Crypto API for AES-XTS cipher algorithm External email: Use caution opening links or attachments Hi Matan, Can you send an RFC patch for the changes you

Re: [dpdk-dev] Crypto API for AES-XTS cipher algorithm

2021-01-21 Thread Akhil Goyal
Hi Matan, Can you send an RFC patch for the changes you are looking forward in the cryptodev lib. Regards, Akhil From: Matan Azrad Sent: Thursday, January 21, 2021 11:16 PM To: Akhil Goyal ; Declan Doherty Cc: dev@dpdk.org Subject: RE: Crypto API for AES-XTS cipher algorithm Hi Akhil Yes, y

Re: [dpdk-dev] Crypto API for AES-XTS cipher algorithm

2021-01-21 Thread Matan Azrad
Hi Akhil Yes, you right regards terms of data-unit and block size. My intention was for data-unit. AES-XTS algorithm is a mode of AES so by definition the block size is 16B. So, no need capability for it. Also in the symmetric operation structure, the `length` field is described as next: /**< T

Re: [dpdk-dev] Crypto API for AES-XTS cipher algorithm

2021-01-18 Thread Akhil Goyal
Hi Matan, Block size is specified in the capability structure and is expected to be same for a particular algorithm. And for AES-XTS it is 16 bytes only if I am not wrong. As per my understanding, data unit is different from block size. Data unit is the input data which may or may not be multipl

[dpdk-dev] Crypto API for AES-XTS cipher algorithm

2021-01-18 Thread Matan Azrad
Hi Declan, Akhil We are going to implement mlx5 crypto PMD to support AES-XTS de\encrypt operations. The algorithm defines block size >= 16Bytes (it is called also data-unit)which should be known for encryption\decryptions. I didn't find this parameterin the cypher xform. How do you sugge

[dpdk-dev] [Crypto-API query]

2016-06-28 Thread Anupam Kapoor
> [2016-06-28T11:39:08+0530]: "amartya.das" (amartya.das): ,[ amartya.das ] | EAL: no driver found for cryptodev_aesni_mb_pmd | EAL: failed to initialize cryptodev_aesni_mb_pmd device ` i have a _hunch_ that you have might have missed building the multi-buffer-crypto-pmd... for more

[dpdk-dev] [Crypto-API query]

2016-06-28 Thread Anupam Kapoor
> [2016-06-28T10:57:02+0530]: "amartya.das" (amartya.das): ,[ amartya.das ] | Is it possible to use Crypto API with virtual device without VFIO and by using UIO only. ` i have just taken a cursory look at the l2fwd-crypto, and it seems it is possible to have sw-only crypto devices...

[dpdk-dev] [Crypto-API]

2016-06-28 Thread Jain, Deepak K
HI Amartya, Please see answers below. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > amartya.das at wipro.com > Sent: Tuesday, June 28, 2016 6:26 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [Crypto-API] > > Hi, > > Is

[dpdk-dev] [Crypto-API query]

2016-06-28 Thread amartya....@wipro.com
hat it is not fetching? Thanks, Amartya -Original Message- From: Anupam Kapoor [mailto:anupam.kap...@gmail.com] Sent: Tuesday, June 28, 2016 11:46 AM To: Amartya Kumar Das (MFG & Tech) Cc: anupam.kapoor at gmail.com; dev at dpdk.org Subject: Re: [dpdk-dev] [Crypto-API query] ** This m

[dpdk-dev] [Crypto-API query]

2016-06-28 Thread amartya....@wipro.com
mail.com] Sent: Tuesday, June 28, 2016 11:21 AM To: Amartya Kumar Das (MFG & Tech) Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [Crypto-API query] ** This mail has been sent from an external source ** >>>>> [2016-06-28T10:57:02+0530]: "amartya.das" (amartya.das): ,--

[dpdk-dev] [Crypto-API query]

2016-06-28 Thread amartya....@wipro.com
Hi, Is it possible to use Crypto API with virtual device without VFIO and by using UIO only. Thanks, Amartya The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential

[dpdk-dev] [Crypto-API]

2016-06-28 Thread amartya....@wipro.com
Hi, Is it possible to use Crypto API with virtual device without VFIO and by using UIO only. Thanks, Amartya The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential

[dpdk-dev] Crypto API use error

2016-06-27 Thread amartya....@wipro.com
Hi, I am trying to run one sample application with crypto library with DPDK 16.04 from below path in VM: dpdk-16.04/examples/l2fwd-crypto I have followed below link: http://dpdk.org/doc/guides-16.04/cryptodevs/aesni_mb.html Command use: ./build/l2fwd-crypto -c 0x1 -n 4 --vdev "cryptodev_aesni_

[dpdk-dev] [Crypto API use error]

2016-06-27 Thread Sergio Gonzalez Monroy
Hi, Please send this kind of questions to users at dpdk.org next time. On 26/06/2016 13:59, amartya.das at wipro.com wrote: > Hi, > > I am trying to run one sample application with crypto library with DPDK 16.04 > from below path in VM: > dpdk-16.04/examples/l2fwd-crypto > > Command use: > ./bui

[dpdk-dev] [Crypto API use error]

2016-06-26 Thread amartya....@wipro.com
Hi, I am trying to run one sample application with crypto library with DPDK 16.04 from below path in VM: dpdk-16.04/examples/l2fwd-crypto Command use: ./build/l2fwd-crypto -c 0x1 -n 4 --vdev "cryptodev_aesni_mb_pmd" --vdev "cryptodev_aesni_mb_pmd" -- -p 0x1 --chain CIPHER_HASH --cipher_op ENCRY