qemu-patch-raspberry4/include/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
..
aes.h crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
cipher.h include: Clean up includes 2016-02-23 12:43:05 +00:00
desrfb.h crypto: move built-in D3DES implementation into crypto/ 2015-07-07 12:04:31 +02:00
hash.h include: Clean up includes 2016-02-23 12:43:05 +00:00
init.h include: Clean up includes 2016-02-23 12:43:05 +00:00
pbkdf.h crypto: add support for PBKDF2 algorithm 2016-03-17 14:41:07 +00:00
random.h crypto: add cryptographic random byte source 2016-03-17 09:49:01 +00:00
secret.h include: Clean up includes 2016-02-23 12:43:05 +00:00
tlscreds.h include: Clean up includes 2016-02-23 12:43:05 +00:00
tlscredsanon.h crypto: introduce new module for TLS anonymous credentials 2015-09-15 15:00:20 +01:00
tlscredsx509.h crypto: add support for loading encrypted x509 keys 2015-12-18 16:25:08 +00:00
tlssession.h crypto: fix description of @errp parameter initialization 2016-02-01 14:11:35 +00:00