openssl/crypto/aes
Daniel Axtens f643deac41 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)
2019-03-18 18:13:24 +10:00
..
asm PPC assembly pack: fix copy-paste error in CTR mode 2019-03-18 18:13:24 +10:00
aes_cbc.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_cfb.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_core.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_ecb.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_ige.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_locl.h Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_misc.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_ofb.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_wrap.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes_x86core.c Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
build.info Build: Remove BEGINRAW / ENDRAW / OVERRIDE 2019-01-31 16:19:49 +01:00