diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-10-16 16:35:06 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2015-10-22 19:03:08 +0100 |
commit | 3a661f1eabf7e8db66e28489884d9b54aacb94ea (patch) | |
tree | 4a0b45548a6eb797c9c254797f065b2b5cd9b33e /qemu-ga.texi | |
parent | eb2a770b178b9040c3fc04ee31dc38d1775db09a (diff) |
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>
Diffstat (limited to 'qemu-ga.texi')
0 files changed, 0 insertions, 0 deletions