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
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
hash.c
init.c crypto: allow use of nettle/gcrypt to be selected explicitly 2015-10-22 19:03:07 +01:00
Makefile.objs
tlscreds.c
tlscredsanon.c
tlscredspriv.h
tlscredsx509.c
tlssession.c