qemu-e2k/crypto
Daniel P. Berrange 3a661f1eab crypto: add sanity checking of plaintext/ciphertext length
When encrypting/decrypting data, the plaintext/ciphertext
buffers are required to be a multiple of the cipher block
size. If this is not done, nettle will abort and gcrypt
will report an error. To get consistent behaviour add
explicit checks upfront for the buffer sizes.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2015-10-22 19:03:08 +01:00
..
aes.c crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
cipher-builtin.c crypto: add sanity checking of plaintext/ciphertext length 2015-10-22 19:03:08 +01:00
cipher-gcrypt.c crypto: add sanity checking of plaintext/ciphertext length 2015-10-22 19:03:08 +01:00
cipher-nettle.c crypto: add sanity checking of plaintext/ciphertext length 2015-10-22 19:03:08 +01:00
cipher.c crypto: allow use of nettle/gcrypt to be selected explicitly 2015-10-22 19:03:07 +01:00
desrfb.c crypto: move built-in D3DES implementation into crypto/ 2015-07-07 12:04:31 +02:00
hash.c crypto: introduce new module for computing hash digests 2015-07-07 12:04:07 +02:00
init.c crypto: allow use of nettle/gcrypt to be selected explicitly 2015-10-22 19:03:07 +01:00
Makefile.objs crypto: introduce new module for handling TLS sessions 2015-09-15 15:07:43 +01:00
tlscreds.c crypto: introduce new base module for TLS credentials 2015-09-15 14:47:37 +01:00
tlscredsanon.c crypto: introduce new module for TLS anonymous credentials 2015-09-15 15:00:20 +01:00
tlscredspriv.h crypto: introduce new base module for TLS credentials 2015-09-15 14:47:37 +01:00
tlscredsx509.c crypto: add sanity checking of TLS x509 credentials 2015-09-15 15:05:09 +01:00
tlssession.c crypto: introduce new module for handling TLS sessions 2015-09-15 15:07:43 +01:00