crypto: add a nettle cipher implementation
commited754746fea55df726f4de3dadb5bea0b6aa7409
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 1 Jul 2015 17:10:34 +0000 (1 18:10 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jul 2015 11:11:01 +0000 (8 13:11 +0200)
treefe9787a567e49367e7129a16b15d2ca5cb09072d
parent62893b67cd82bbd48b013c1cec25f0d863612c80
crypto: add a nettle cipher implementation

If we are linking to gnutls already and gnutls is built against
nettle, then we should use nettle as a cipher backend in
preference to our built-in backend.

This will be used when linking against some GNUTLS 2.x versions
and all GNUTLS 3.x versions.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1435770638-25715-7-git-send-email-berrange@redhat.com>
[Change "#elif" to "#elif defined". - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
crypto/cipher-nettle.c [new file with mode: 0644]
crypto/cipher.c