aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorValdikSS ValdikSS <iam@valdikss.org.ru>2023-01-20 14:41:35 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-22 01:33:33 +0100
commit2fc170cc21e5ae3cc5ffaf6d0522903a5cbe4f2a (patch)
tree73851b302487d631f74f5a6cad3a8cb0978b9524 /include
parent614bba095845cb58f64f5cb82c1710d42a338b61 (diff)
downloadupstream-2fc170cc21e5ae3cc5ffaf6d0522903a5cbe4f2a.tar.gz
upstream-2fc170cc21e5ae3cc5ffaf6d0522903a5cbe4f2a.tar.bz2
upstream-2fc170cc21e5ae3cc5ffaf6d0522903a5cbe4f2a.zip
openssl: fix VIA Padlock AES-192 and 256 encryption
Byte swapping code incorrectly uses the number of AES rounds to swap expanded AES key, while swapping only a single dword in a loop, resulting in swapped key and partially swapped expanded keys, breaking AES encryption and decryption on VIA Padlock hardware. This commit correctly sets the number of swapping loops to be done. Upstream: https://github.com/openssl/openssl/commit/2bcf8e69bd92e33d84c48e7d108d3d46b22f8a6d Acked-by: Eneas U de Queiroz <cotequeiroz@gmail.com> Signed-off-by: ValdikSS ValdikSS <iam@valdikss.org.ru>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions