On Sat, Apr 22, 2017 at 03:20:20PM +0800, Longpeng(Mike) wrote: > 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) <longpe...@huawei.com> > --- > crypto/hmac-gcrypt.c | 51 ++++++++++++----------------------- > crypto/hmac-glib.c | 75 > +++++++++++++++++++++------------------------------ > crypto/hmac-nettle.c | 52 ++++++++++++----------------------- > crypto/hmac.c | 44 ++++++++++++++++++++++++++++++ > crypto/hmacpriv.h | 36 +++++++++++++++++++++++++ > include/crypto/hmac.h | 1 + > 6 files changed, 145 insertions(+), 114 deletions(-) > create mode 100644 crypto/hmacpriv.h
Reviewed-by: Daniel P. Berrange <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|