diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-02-11 14:00:17 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2016-03-17 14:41:15 +0000 |
commit | 84f7f180b034b2a08b558bd3fbb5be1ae88f74c1 (patch) | |
tree | 960925d61d945670c15930392e38ad2c0a28fd2e /tests/.gitignore | |
parent | 50f6753e2787b60475c2c5c07c6be5d600aa84de (diff) | |
download | qemu-84f7f180b034b2a08b558bd3fbb5be1ae88f74c1.zip qemu-84f7f180b034b2a08b558bd3fbb5be1ae88f74c1.tar.gz qemu-84f7f180b034b2a08b558bd3fbb5be1ae88f74c1.tar.bz2 |
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>
Diffstat (limited to 'tests/.gitignore')
-rw-r--r-- | tests/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore index 5b97e8c..b3170ba 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -25,6 +25,7 @@ test-crypto-tlssession test-crypto-tlssession-work/ test-crypto-tlssession-client/ test-crypto-tlssession-server/ +test-crypto-xts test-cutils test-hbitmap test-int128 |