cryptodev: revert Chacha20-Poly1305 AEAD algorithm
authorThomas Monjalon <thomas@monjalon.net>
Wed, 5 Feb 2020 11:04:32 +0000 (12:04 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Feb 2020 14:14:46 +0000 (15:14 +0100)
commitf5862ae99e058c0cee36a08dfd51f8a3b766999a
tree496932fe8f46271c53ef97391fa5f23fb32648a8
parent777014e56d0796861c11126cf0b4836d4d42f2d4
cryptodev: revert Chacha20-Poly1305 AEAD algorithm

API makes think that rte_cryptodev_info_get() cannot return
a value >= 3 (RTE_CRYPTO_AEAD_LIST_END in 19.11).
20.02-rc1 was returning 3 (RTE_CRYPTO_AEAD_CHACHA20_POLY1305).
So the ABI compatibility contract was broken.

It could be solved with some function versioning,
but because a lack of time, the feature is reverted for now.

This reverts following commits:
6c9f3b347e21 ("cryptodev: add Chacha20-Poly1305 AEAD algorithm")
2c512e64d600 ("crypto/qat: support Chacha Poly")
d55e01f579e1 ("test/crypto: add Chacha Poly cases")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
12 files changed:
app/test/test_cryptodev.c
app/test/test_cryptodev_aead_test_vectors.h
doc/guides/cryptodevs/features/default.ini
doc/guides/cryptodevs/features/qat.ini
doc/guides/cryptodevs/qat.rst
doc/guides/rel_notes/release_20_02.rst
drivers/common/qat/qat_adf/icp_qat_hw.h
drivers/crypto/qat/qat_sym_capabilities.h
drivers/crypto/qat/qat_sym_pmd.c
drivers/crypto/qat/qat_sym_session.c
lib/librte_cryptodev/rte_crypto_sym.h
lib/librte_cryptodev/rte_cryptodev.c