openssl/crypto/aes/asm
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
..
aes-586.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-armv4.pl ARM assembly pack: make it Windows-friendly. 2019-02-16 16:59:23 +01:00
aes-c64xplus.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-ia64.S Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-mips.pl MIPS32R3 provides the EXT instruction to extract bits from 2019-02-20 23:17:16 +01:00
aes-parisc.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-ppc.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-s390x.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-sparcv9.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aes-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:39:51 +01:00
aesfx-sparcv9.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aesni-mb-x86_64.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aesni-sha1-x86_64.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aesni-sha256-x86_64.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aesni-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:39:51 +01:00
aesni-x86.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aesp8-ppc.pl PPC assembly pack: fix copy-paste error in CTR mode 2019-03-18 18:13:24 +10:00
aest4-sparcv9.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aesv8-armx.pl ARM assembly pack: make it Windows-friendly. 2019-02-16 16:59:23 +01:00
bsaes-armv7.pl ARM assembly pack: make it Windows-friendly. 2019-02-16 16:59:23 +01:00
bsaes-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:39:51 +01:00
vpaes-armv8.pl ARM64 assembly pack: make it Windows-friendly. 2019-02-16 17:01:15 +01:00
vpaes-ppc.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
vpaes-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:39:51 +01:00
vpaes-x86.pl Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00