crypto/aesni_mb: update chain order for AES-CCM
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 5 Sep 2019 14:45:06 +0000 (15:45 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit13209e9be7e51f62c217353fd8f06458edaa8dec
tree926608fb57ecad0a51575453ded468e5309892c1
parentba245f60559dc1b8de354736567f57e28f996984
crypto/aesni_mb: update chain order for AES-CCM

Up to version 0.52 of the IPSec Multi buffer library,
the chain order for AES-CCM was CIPHER_HASH when encrypting.
However, after this version, the order has been reversed in the library
since, when encrypting, hashing is done first and then ciphering.

Therefore, order is changed to be compatible with newer versions
of the library.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c