[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.9 v3 0/6] crypto: add HMAC algorithms supp
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH for-2.9 v3 0/6] crypto: add HMAC algorithms support |
Date: |
Tue, 13 Dec 2016 09:30:24 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Tue, Dec 13, 2016 at 03:35:00PM +0800, Longpeng (Mike) wrote:
> Hi Daniel,
>
> The error is due to auto-build environment doesn't support both gcrypt and
> nettle, and it's glibc(2.28) is too old, so I think I should add no-op in
> hmac-glib.c when glibc is older than 2.30. for example:
>
> #include <...>
>
> #if GLIB_CHECK_VERSION(2, 30, 0)
> ....
> #else
> ...(no-op func)
> #endif
>
> Do you have any suggestion ?
Yep, you need to wrap the entire hmac-glib.c file in the #if so that you
hide the method impl too.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
- [Qemu-devel] [PATCH for-2.9 v3 0/6] crypto: add HMAC algorithms support, Longpeng(Mike), 2016/12/13
- [Qemu-devel] [PATCH for-2.9 v3 2/6] crypto: add HMAC algorithms framework, Longpeng(Mike), 2016/12/13
- [Qemu-devel] [PATCH for-2.9 v3 1/6] configure: add CONFIG_GCRYPT_HMAC item, Longpeng(Mike), 2016/12/13
- [Qemu-devel] [PATCH for-2.9 v3 5/6] crypto: support HMAC algorithms based on nettle, Longpeng(Mike), 2016/12/13
- [Qemu-devel] [PATCH for-2.9 v3 3/6] crypto: support HMAC algorithms based on libgcrypt, Longpeng(Mike), 2016/12/13
- [Qemu-devel] [PATCH for-2.9 v3 4/6] crypto: support HMAC algorithms based on glibc, Longpeng(Mike), 2016/12/13
- [Qemu-devel] [PATCH for-2.9 v3 6/6] crypto: add HMAC algorithms testcases, Longpeng(Mike), 2016/12/13
- Re: [Qemu-devel] [PATCH for-2.9 v3 0/6] crypto: add HMAC algorithms support, no-reply, 2016/12/13
- Re: [Qemu-devel] [PATCH for-2.9 v3 0/6] crypto: add HMAC algorithms support, Daniel P. Berrange, 2016/12/13