openssl/crypto/aes/asm
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
..
aes-586.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
aes-armv4.pl Update copyright year 2018-03-20 13:08:46 +00:00
aes-c64xplus.pl
aes-ia64.S Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
aes-mips.pl Update copyright year 2018-03-20 13:08:46 +00:00
aes-parisc.pl Update copyright year 2018-09-11 13:45:17 +01:00
aes-ppc.pl Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
aes-s390x.pl Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
aes-sparcv9.pl Remove email addresses from source code. 2017-10-13 10:06:59 -04:00
aes-x86_64.pl Update copyright year 2019-02-26 14:05:09 +00:00
aesfx-sparcv9.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
aesni-mb-x86_64.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
aesni-sha1-x86_64.pl aes/asm/aesni-sha*-x86_64.pl: add SHAEXT performance results. 2017-07-24 23:29:46 +02:00
aesni-sha256-x86_64.pl aes/asm/aesni-sha*-x86_64.pl: add SHAEXT performance results. 2017-07-24 23:29:46 +02:00
aesni-x86.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
aesni-x86_64.pl Update copyright year 2019-02-26 14:05:09 +00:00
aesp8-ppc.pl PPC assembly pack: fix copy-paste error in CTR mode 2019-03-18 20:07:57 +10:00
aest4-sparcv9.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
aesv8-armx.pl Update copyright year 2019-02-26 14:05:09 +00:00
bsaes-armv7.pl Update copyright year 2018-03-20 13:08:46 +00:00
bsaes-x86_64.pl Update copyright year 2019-02-26 14:05:09 +00:00
vpaes-armv8.pl Update copyright year 2019-02-26 14:05:09 +00:00
vpaes-ppc.pl PPC assembler pack: add some PPC970/G5 performance data. 2016-11-11 13:24:52 +01:00
vpaes-x86.pl Remove filename argument to x86 asm_init. 2017-05-11 17:00:23 -04:00
vpaes-x86_64.pl Update copyright year 2019-02-26 14:05:09 +00:00