commit | eb2a770b178b9040c3fc04ee31dc38d1775db09a | [log] [tgz] |
---|---|---|
author | Daniel P. Berrange <berrange@redhat.com> | Fri Oct 16 13:23:13 2015 +0100 |
committer | Daniel P. Berrange <berrange@redhat.com> | Thu Oct 22 19:03:08 2015 +0100 |
tree | 66e5b16132d6ee466c245ad280207819fa078069 | |
parent | 91bfcdb01d4869aa8f4cb67007827de63b8c2217 [diff] |
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>