qemu/include/crypto
Daniel P. Berrange 84f7f180b0 crypto: import an implementation of the XTS cipher mode
The XTS (XEX with tweaked-codebook and ciphertext stealing)
cipher mode is commonly used in full disk encryption. There
is unfortunately no implementation of it in either libgcrypt
or nettle, so we need to provide our own.

The libtomcrypt project provides a repository of crypto
algorithms under a choice of either "public domain" or
the "what the fuck public license".

So this impl is taken from the libtomcrypt GIT repo and
adapted to be compatible with the way we need to call
ciphers provided by nettle/gcrypt.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-03-17 14:41:15 +00:00
..
aes.h crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
afsplit.h crypto: add support for anti-forensic split algorithm 2016-03-17 14:41:14 +00: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
ivgen.h crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +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
xts.h crypto: import an implementation of the XTS cipher mode 2016-03-17 14:41:15 +00:00