summaryrefslogtreecommitdiff
path: root/crypto/cipher-nettle.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-10-16 13:23:13 +0100
committerDaniel P. Berrange <berrange@redhat.com>2015-10-22 19:03:08 +0100
commiteb2a770b178b9040c3fc04ee31dc38d1775db09a (patch)
tree66e5b16132d6ee466c245ad280207819fa078069 /crypto/cipher-nettle.c
parent91bfcdb01d4869aa8f4cb67007827de63b8c2217 (diff)
downloadqemu-eb2a770b178b9040c3fc04ee31dc38d1775db09a.tar.gz
crypto: don't let builtin aes crash if no IV is provided
If no IV is provided, then use a default IV of all-zeros instead of crashing. This gives parity with gcrypt and nettle backends. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'crypto/cipher-nettle.c')
0 files changed, 0 insertions, 0 deletions