qemu/crypto
Daniel P. Berrange 37788f253a crypto: add support for PBKDF2 algorithm
The LUKS data format includes use of PBKDF2 (Password-Based
Key Derivation Function). The Nettle library can provide
an implementation of this, but we don't want code directly
depending on a specific crypto library backend. Introduce
a new include/crypto/pbkdf.h header which defines a QEMU
API for invoking PBKDK2. The initial implementations are
backed by nettle & gcrypt, which are commonly available
with distros shipping GNUTLS.

The test suite data is taken from the cryptsetup codebase
under the LGPLv2.1+ license. This merely aims to verify
that whatever backend we provide for this function in QEMU
will comply with the spec.

Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-03-17 14:41:07 +00:00
..
Makefile.objs crypto: add support for PBKDF2 algorithm 2016-03-17 14:41:07 +00:00
aes.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
cipher-builtin.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
cipher-gcrypt.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
cipher-nettle.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
cipher.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
desrfb.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
hash.c crypto: ensure qcrypto_hash_digest_len is always defined 2016-02-02 13:02:56 +00:00
init.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
pbkdf-gcrypt.c crypto: add support for PBKDF2 algorithm 2016-03-17 14:41:07 +00:00
pbkdf-nettle.c crypto: add support for PBKDF2 algorithm 2016-03-17 14:41:07 +00:00
pbkdf-stub.c crypto: add support for PBKDF2 algorithm 2016-03-17 14:41:07 +00:00
pbkdf.c crypto: add support for PBKDF2 algorithm 2016-03-17 14:41:07 +00:00
random-gcrypt.c crypto: add cryptographic random byte source 2016-03-17 09:49:01 +00:00
random-gnutls.c crypto: add cryptographic random byte source 2016-03-17 09:49:01 +00:00
random-stub.c crypto: add cryptographic random byte source 2016-03-17 09:49:01 +00:00
secret.c crypto: register properties against the class instead of object 2016-02-01 14:11:35 +00:00
tlscreds.c crypto: register properties against the class instead of object 2016-02-01 14:11:35 +00:00
tlscredsanon.c crypto: register properties against the class instead of object 2016-02-01 14:11:35 +00:00
tlscredspriv.h crypto: introduce new base module for TLS credentials 2015-09-15 14:47:37 +01:00
tlscredsx509.c crypto: register properties against the class instead of object 2016-02-01 14:11:35 +00:00
tlssession.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00