qemu/crypto
Prasad J Pandit 32c813e6c2 crypto: assert cipher algorithm is always valid
Crypto routines 'qcrypto_cipher_get_block_len' and
'qcrypto_cipher_get_key_len' return non-zero cipher block and key
lengths from static arrays 'alg_block_len[]' and 'alg_key_len[]'
respectively. Returning 'zero(0)' value from either of them would
likely lead to an error condition.

Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2017-02-27 13:37:14 +00:00
..
aes.c
afsplit.c
block-luks.c
block-luks.h
block-qcow.c
block-qcow.h
block.c
blockpriv.h
cipher-builtin.c
cipher-gcrypt.c
cipher-nettle.c
cipher.c crypto: assert cipher algorithm is always valid 2017-02-27 13:37:14 +00:00
desrfb.c
hash-gcrypt.c
hash-glib.c
hash-nettle.c
hash.c
hmac-gcrypt.c
hmac-glib.c
hmac-nettle.c crypto: support HMAC algorithms based on nettle 2016-12-22 09:24:59 +00:00
hmac.c
hmac.h
init.c
ivgen-essiv.c crypto: fix leak in ivgen essiv init 2017-02-27 13:37:14 +00:00
ivgen-essiv.h
ivgen-plain64.c
ivgen-plain64.h
ivgen-plain.c
ivgen-plain.h
ivgen.c
ivgenpriv.h
Makefile.objs
pbkdf-gcrypt.c
pbkdf-nettle.c
pbkdf-stub.c
pbkdf.c
random-gcrypt.c
random-gnutls.c
random-platform.c
secret.c
tlscreds.c
tlscredsanon.c
tlscredspriv.h
tlscredsx509.c
tlssession.c
trace-events
xts.c