qemu-e2k/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 crypto: add 3des-ede support when using libgcrypt/nettle 2016-12-21 14:26:26 +00:00
cipher-nettle.c crypto: add 3des-ede support when using libgcrypt/nettle 2016-12-21 14:26:26 +00:00
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 crypto: support HMAC algorithms based on libgcrypt 2016-12-22 09:24:59 +00:00
hmac-glib.c crypto: support HMAC algorithms based on glib 2016-12-22 09:24:59 +00:00
hmac-nettle.c crypto: support HMAC algorithms based on nettle 2016-12-22 09:24:59 +00:00
hmac.c crypto: add HMAC algorithms framework 2016-12-22 09:24:59 +00:00
hmac.h crypto: add HMAC algorithms framework 2016-12-22 09:24:59 +00:00
init.c crypto: fix initialization of gcrypt threading 2016-10-20 12:19:35 +01:00
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 crypto: add HMAC algorithms framework 2016-12-22 09:24:59 +00:00
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