openssl: fix AES-GCM-SIV and AES-SIV with zero-length messages
authorFelix Fietkau <[email protected]>
Mon, 1 Dec 2025 18:13:52 +0000 (18:13 +0000)
committerFelix Fietkau <[email protected]>
Mon, 1 Dec 2025 18:20:14 +0000 (19:20 +0100)
commit2bc79783233c5d8612bfa5831cd334cab62b3e5e
treeb23195bf8a185de6609cc425e0262c2f5cd9ce57
parent5bdf1b8d9c6354228655b6ced0d78c238e943d27
openssl: fix AES-GCM-SIV and AES-SIV with zero-length messages

Fix the cipher implementation to avoid treating empty input as finalizer.
This issue is fixed in the openssl 3.6 branch, but the fix approach from
that branch is not suitable for 3.5, since the code is completely different.

Signed-off-by: Felix Fietkau <[email protected]>
package/libs/openssl/patches/010-fix-aes-gcm-siv-cipher.patch [new file with mode: 0644]