From: Naveen Kumar <Naveen.Kumar@commagility.com>
To: "Trahe, Fiona" <fiona.trahe@intel.com>,
"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] AES "Digest-encrypted" crypto chain case.
Date: Mon, 9 Sep 2019 14:27:43 +0000 [thread overview]
Message-ID: <0dca21c914fc4f9f935ecc051a1b2ec9@de-mta1.commagility.com> (raw)
In-Reply-To: <348A99DA5F5B7549AA880327E580B4358981225E@IRSMSX101.ger.corp.intel.com>
Hi Fiona,
Thanks for prompt response.
I observe digest overwriting issue with below combination (chained):
//
auth_xform->type = RTE_CRYPTO_SYM_XFORM_AUTH;
auth_xform->auth.algo = RTE_CRYPTO_AUTH_AES_CMAC;
auth_xform->auth.op = RTE_CRYPTO_AUTH_OP_GENERATE;
cipher_xform->type = RTE_CRYPTO_SYM_XFORM_CIPHER;
cipher_xform->cipher.algo = RTE_CRYPTO_CIPHER_AES_CTR;
cipher_xform->cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT;
//
Testing with snow3g and ZUC on same test suite i.e, encryption including digest, works as expected.
regards,
Naveen
--
Naveen Kumar
Senior Engineer
CommAgility is a Wireless Telecom Group company
T: +49 (0)203 306 4537 | www.commagility.com
Registered in England, Company No. 05914025. VAT No. DE299686390
CommAgility is an ISO 9001:2015-certified company
This email is confidential, for recipient’s use only.
-----Original Message-----
From: Trahe, Fiona <fiona.trahe@intel.com>
Sent: Monday, September 9, 2019 4:09 PM
To: Naveen Kumar <Naveen.Kumar@commagility.com>; users@dpdk.org
Cc: Trahe, Fiona <fiona.trahe@intel.com>
Subject: RE: [dpdk-users] AES "Digest-encrypted" crypto chain case.
Hi Naveen,
Which chain exactly are you testing? i.e. which cipher mode, which auth algorithm?
Our tests so far have focussed on ZUC and Snow3G use-cases.
Fiona
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Naveen Kumar
> Sent: Monday, September 9, 2019 10:16 AM
> To: users@dpdk.org
> Subject: [dpdk-users] AES "Digest-encrypted" crypto chain case.
>
> Hi All,
> I am trying to test AES symmetric crypto case "Digest-encrypted" by
> chaining Authentication operation followed by Ciphering.
> Digest data pointer, Ciphering lengths etc., are configured such that
> ciphering operation includes the digest data (as mentioned in ‘rte_crypto_sym.h’ line:650-715).
>
> With QAT PMD, I see the ‘raw’ digest data overwritten on the ciphered output as end result.
>
> This issue is seen only with AES - ‘Digest-Encrypt’ chained operation.
> Not with Snow3G/ZUC chained operations.
>
> Does anyone face this issue?
>
> Regards,
> Naveen
>
> --
> Naveen Kumar
> Senior Engineer
>
> CommAgility is a Wireless Telecom Group company
> T: +49 (0)203 306 4537 | www.commagility.com Registered in England,
> Company No. 05914025. VAT No. DE299686390 CommAgility is an ISO
> 9001:2015-certified company This email is confidential, for
> recipient’s use only.
next prev parent reply other threads:[~2019-09-09 14:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-09 9:15 Naveen Kumar
2019-09-09 14:08 ` Trahe, Fiona
2019-09-09 14:27 ` Naveen Kumar [this message]
2019-10-16 12:48 Dybkowski, AdamX
[not found] ` <9836169a72be40328d96c3c08e78ad3d@de-mta1.commagility.com>
2019-10-17 15:30 ` Naveen Kumar
2019-10-18 13:19 ` Dybkowski, AdamX
2019-11-05 11:17 ` Naveen Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0dca21c914fc4f9f935ecc051a1b2ec9@de-mta1.commagility.com \
--to=naveen.kumar@commagility.com \
--cc=fiona.trahe@intel.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).