DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Failures in AESNI-GCM enc/dec tests
@ 2018-06-29 21:17 Ashot Andreasyan
  0 siblings, 0 replies; only message in thread
From: Ashot Andreasyan @ 2018-06-29 21:17 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-29 21:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-29 21:17 [dpdk-dev] Failures in AESNI-GCM enc/dec tests Ashot Andreasyan

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).