numam-dpdk/drivers/crypto/zuc
Pablo de Lara 6707226368 drivers/crypto: fix different auth/cipher keys
When ciphering and authenticating in the same operation
(cipher-then-auth or auth-then-cipher),
the cipher key and authentication key were set with the same
key, in SNOW3G, KASUMI and ZUC PMDs.
They were using the key of the first transform structure,
instead of using the keys of the two different transform
structures.

This is not a big issue, since usually, the same key is
used for ciphering and authentication, but keys may be different.

Fixes: 3aafc423cf ("snow3g: add driver for SNOW 3G library")
Fixes: 2773c86d06 ("crypto/kasumi: add driver for KASUMI library")
Fixes: cf7685d68f ("crypto/zuc: add driver for ZUC library")
Cc: stable@dpdk.org

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
2017-02-10 16:03:46 +01:00
..
Makefile crypto/zuc: add driver for ZUC library 2016-10-08 17:53:10 +02:00
rte_pmd_zuc_version.map crypto/zuc: add driver for ZUC library 2016-10-08 17:53:10 +02:00
rte_zuc_pmd_ops.c crypto/zuc: add driver for ZUC library 2016-10-08 17:53:10 +02:00
rte_zuc_pmd_private.h crypto/zuc: add driver for ZUC library 2016-10-08 17:53:10 +02:00
rte_zuc_pmd.c drivers/crypto: fix different auth/cipher keys 2017-02-10 16:03:46 +01:00