xemu/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.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
afsplit.c crypto: add support for anti-forensic split algorithm 2016-03-17 14:41:14 +00:00
cipher-builtin.c crypto: Clean up includes 2016-01-29 15:07:22 +00:00
cipher-gcrypt.c crypto: add support for the twofish cipher algorithm 2016-03-17 14:41:15 +00:00
cipher-nettle.c crypto: add support for the twofish cipher algorithm 2016-03-17 14:41:15 +00:00
cipher.c crypto: add support for the twofish cipher algorithm 2016-03-17 14:41:15 +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
ivgen-essiv.c crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgen-essiv.h crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgen-plain64.c crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgen-plain64.h crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgen-plain.c crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgen-plain.h crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgen.c crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
ivgenpriv.h crypto: add support for generating initialization vectors 2016-03-17 14:41:14 +00:00
Makefile.objs crypto: import an implementation of the XTS cipher mode 2016-03-17 14:41:15 +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
xts.c crypto: import an implementation of the XTS cipher mode 2016-03-17 14:41:15 +00:00