tn3399_openwrt/package
Mathias Kresin 17656f21f3 ltq-deu: aes-ctr: process all input data
Even if the minimum blocksize is set to 16 (AES_BLOCK_SIZE), the crypto
manager tests pass 499 bytes of data to the aes-ctr encryption, from
which only 496 bytes are actually encrypted.

Reading the comment regarding the minimum blocksize, it only states that
it's the "smallest possible unit which can be transformed with this
algorithm". Which doesn't necessarily mean, the data have to be a
multiple of the minimal blocksize.

All kernel hardware crypto driver enforce a minimum blocksize of 1,
which perfect fine works for the lantiq data encryption unit as well.

Lower the blocksize limit to 1, to process not padded data as well.
In AES for processing the remaining bytes, uninitialized pointers
were used.
This patch fixes using uninitialized pointers and wrong offsets.

Signed-off-by: Mathias Kresin <dev@kresin.me>
[fix commit title prefix]
Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
2022-01-05 23:05:38 +01:00
..
base-files base-files: upgrade: fix efi partitions size calculation 2021-12-27 13:51:41 +01:00
boot kirkwood: add support for NETGEAR ReadyNAS Duo v2 2021-12-29 20:35:57 +01:00
devel binutils: fix compiling with arch-based distros 2022-01-02 20:33:28 +01:00
firmware linux-firmware: amd: consolidate amd's linux-firmware entries 2021-12-27 13:51:41 +01:00
kernel ltq-deu: aes-ctr: process all input data 2022-01-05 23:05:38 +01:00
libs openssl: bump to 1.1.1m 2022-01-01 18:02:49 +01:00
network hostapd: refresh patchset 2021-12-31 12:11:59 +01:00
system procd: update to git HEAD 2021-12-20 02:23:47 +00:00
utils lua: add HOST_FPIC for host builds 2022-01-03 10:34:31 +01:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00