openssl/crypto/aes
Rich Salz b1498c98f3 Don't call memcpy if len is zero.
Prevent undefined behavior in CRYPTO_cbc128_encrypt: calling this function
with the 'len' parameter being 0 would result in a memcpy where the source
and destination parameters are the same, which is undefined behavior.
Do same for AES_ige_encrypt.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2671)
2017-02-20 19:17:53 -05:00
..
asm ARMv4 assembly pack: harmonize Thumb-ification of iOS build. 2017-02-15 23:16:01 +01:00
aes_cbc.c
aes_cfb.c
aes_core.c
aes_ecb.c
aes_ige.c Don't call memcpy if len is zero. 2017-02-20 19:17:53 -05:00
aes_locl.h
aes_misc.c
aes_ofb.c
aes_wrap.c
aes_x86core.c
build.info MIPS assembly pack: adapt it for MIPS[32|64]R6. 2016-09-02 13:33:17 +02:00