crypto: hmac: add hmac driver framework
commit14a5a2aef47e27b6afd1f8855eb41c75b69440dc
authorLongpeng(Mike) <longpeng2@huawei.com>
Fri, 14 Jul 2017 18:04:04 +0000 (14 14:04 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Jul 2017 09:11:05 +0000 (19 10:11 +0100)
treec8a273d9e48e5b6b4a50125238b96392f1e5481a
parentd73c04e3ca3d4a1ac73da7f7952f769824417b47
crypto: hmac: add hmac driver framework

1) makes the public APIs in hmac-nettle/gcrypt/glib static,
   and rename them with "nettle/gcrypt/glib" prefix.

2) introduces hmac framework, including QCryptoHmacDriver
   and new public APIs.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/hmac-gcrypt.c
crypto/hmac-glib.c
crypto/hmac-nettle.c
crypto/hmac.c
crypto/hmacpriv.h [new file with mode: 0644]
include/crypto/hmac.h