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 Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_cfb.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_core.c Fix a few if(, for(, while( inside code. 2016-07-20 07:21:53 -04:00
aes_ecb.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_ige.c Don't call memcpy if len is zero. 2017-02-20 19:17:53 -05:00
aes_locl.h Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_misc.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_ofb.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_wrap.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
aes_x86core.c Whitespace cleanup in crypto 2016-06-29 09:56:39 -04:00
build.info MIPS assembly pack: adapt it for MIPS[32|64]R6. 2016-09-02 13:33:17 +02:00