openwrt/package/libs/openssl/patches
ValdikSS ValdikSS 2fc170cc21 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: 2bcf8e69bd

Acked-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: ValdikSS ValdikSS <iam@valdikss.org.ru>
2023-01-22 01:33:33 +01:00
..
001-crypto-perlasm-ppc-xlate.pl-add-linux64v2-flavour.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
010-padlock.patch openssl: fix VIA Padlock AES-192 and 256 encryption 2023-01-22 01:33:33 +01:00
100-Configure-afalg-support.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
110-openwrt_targets.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
120-strip-cflags-from-binary.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
130-dont-build-tests-fuzz.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
140-allow-prefer-chacha20.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
150-openssl.cnf-add-engines-conf.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
400-eng_devcrypto-save-ioctl-if-EVP_MD_.FLAG_ONESHOT.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
410-eng_devcrypto-add-configuration-options.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
420-eng_devcrypto-add-command-to-dump-driver-info.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
430-e_devcrypto-make-the-dev-crypto-engine-dynamic.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
500-e_devcrypto-default-to-not-use-digests-in-engine.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00
510-e_devcrypto-ignore-error-when-closing-session.patch openssl: bump to 1.1.1s 2022-11-05 14:07:46 +00:00