[dpdk-dev] Failures in AESNI-GCM enc/dec tests

Ashot Andreasyan ashota at hotmail.com
Fri Jun 29 23:17:01 CEST 2018


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


More information about the dev mailing list