The following changes since commit 82ecffa8c050bf5bbc13329e9b65eac1caa5b55c:
Open 2.9 development tree (2016-12-20 16:20:16 +0000) are available in the git repository at: git://github.com/berrange/qemu pull-qcrypto-2016-12-21-2 for you to fetch changes up to 4fd460bf25b197f94b9db463b77a69433901ac92: crypto: add HMAC algorithms testcases (2016-12-22 09:24:59 +0000) ---------------------------------------------------------------- Merge qcrypto 2016/12/21 v2 ---------------------------------------------------------------- Longpeng(Mike) (7): crypto: add 3des-ede support when using libgcrypt/nettle configure: add CONFIG_GCRYPT_HMAC item crypto: add HMAC algorithms framework crypto: support HMAC algorithms based on libgcrypt crypto: support HMAC algorithms based on glib crypto: support HMAC algorithms based on nettle crypto: add HMAC algorithms testcases Marc-André Lureau (1): cipher: fix leak on initialization error configure | 17 +++ crypto/Makefile.objs | 4 + crypto/cipher-gcrypt.c | 6 + crypto/cipher-nettle.c | 42 ++++++- crypto/cipher.c | 7 +- crypto/hmac-gcrypt.c | 152 ++++++++++++++++++++++++++ crypto/hmac-glib.c | 166 ++++++++++++++++++++++++++++ crypto/hmac-nettle.c | 175 +++++++++++++++++++++++++++++ crypto/hmac.c | 72 ++++++++++++ crypto/hmac.h | 166 ++++++++++++++++++++++++++++ qapi/crypto.json | 3 +- tests/Makefile.include | 2 + tests/test-crypto-cipher.c | 119 ++++++++++++++++++++ tests/test-crypto-hmac.c | 266 +++++++++++++++++++++++++++++++++++++++++++++ 14 files changed, 1191 insertions(+), 6 deletions(-) create mode 100644 crypto/hmac-gcrypt.c create mode 100644 crypto/hmac-glib.c create mode 100644 crypto/hmac-nettle.c create mode 100644 crypto/hmac.c create mode 100644 crypto/hmac.h create mode 100644 tests/test-crypto-hmac.c -- 2.9.3