From: Ashot Andreasyan <ashota@hotmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Failures in AESNI-GCM enc/dec tests
Date: Fri, 29 Jun 2018 21:17:01 +0000 [thread overview]
Message-ID: <CY4PR05MB31412F383204C0A15AE0CF57CF4E0@CY4PR05MB3141.namprd05.prod.outlook.com> (raw)
Hi there,
I think there is errors on running AESNI-GCM Enc/Dec tests with long authentication tag length.
When
#define GCM_LARGE_AAD_LENGTH 65296
then rte_pktmbuf_append(...) fails
if (unlikely(len > rte_pktmbuf_tailroom(m_last)))
return NULL;
because there is no room to append ( 65296 > 65536-512 )
Also in defining the authentication tag length 64 bytes plain text padding length must be considered as well.
I was trying to fix but expected authentication tag won't match.
Thanks,
Ashot
reply other threads:[~2018-06-29 21:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CY4PR05MB31412F383204C0A15AE0CF57CF4E0@CY4PR05MB3141.namprd05.prod.outlook.com \
--to=ashota@hotmail.com \
--cc=dev@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).