openssl/crypto/aes
Daniel Axtens 5dcfd6c50a PPC assembly pack: fix copy-paste error in CTR mode
There are two copy-paste errors in handling CTR mode. When dealing
with a 2 or 3 block tail, the code branches to the CBC decryption exit
path, rather than to the CTR exit path.

This can lead to data corruption: in the Linux kernel we have a copy
of this file, and the bug leads to corruption of the IV, which leads
to data corruption when we call the encryption function again later to
encrypt subsequent blocks.

Originally reported to the Linux kernel by Ondrej Mosnáček <omosnacek@gmail.com>

CLA: trivial

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8510)

(cherry picked from commit f643deac41)
2019-03-18 20:07:57 +10:00
..
asm PPC assembly pack: fix copy-paste error in CTR mode 2019-03-18 20:07:57 +10:00
aes_cbc.c
aes_cfb.c
aes_core.c Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
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 Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
build.info Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00