Since QEMU has been supported cryptodev, so it is necessary to support more crypto algorithms(i.e. hmac,aead) in QEMU backend.
We have already added HMAC support, and this patchset adds AEAD algos support. Longpeng(Mike) (6): configure: add CONFIG_GCRYPT/NETTLE_AEAD item crypto: add AEAD algorithms framework crypto: implement nettle-backed AEAD algorithms crypto: implement gcrypt-backed AEAD algorithms crypto: implement other common funcs for AEAD algorithms crypto: add AEAD algorithms testcases configure | 36 +++++ crypto/Makefile.objs | 3 + crypto/aead-gcrypt.c | 231 ++++++++++++++++++++++++++++++ crypto/aead-nettle.c | 232 ++++++++++++++++++++++++++++++ crypto/aead.c | 124 ++++++++++++++++ crypto/aead.h | 180 ++++++++++++++++++++++++ qapi/crypto.json | 4 +- tests/Makefile.include | 2 + tests/test-crypto-aead.c | 357 +++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 1168 insertions(+), 1 deletion(-) create mode 100644 crypto/aead-gcrypt.c create mode 100644 crypto/aead-nettle.c create mode 100644 crypto/aead.c create mode 100644 crypto/aead.h create mode 100644 tests/test-crypto-aead.c -- 2.9.3