openssl/crypto/modes
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
build.info
cbc128.c Don't call memcpy if len is zero. 2017-02-20 19:17:53 -05:00
ccm128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
cfb128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ctr128.c modes/ctr128.c: fix false carry in counter increment procedure. 2016-11-25 17:22:21 +01:00
cts128.c Convert modes selftests (cts128 and gcm128) to internal test 2016-11-03 13:13:31 +01:00
gcm128.c Convert modes selftests (cts128 and gcm128) to internal test 2016-11-03 13:13:31 +01:00
modes_lcl.h Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ocb128.c Whitespace cleanup in crypto 2016-06-29 09:56:39 -04:00
ofb128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
wrap128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
xts128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00