1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-06 19:29:29 +03:00
Files
mbedtls/library/cipher.c
Andrzej Kurek 63439eda62 Return an error for IV lengths other than 12 with ChaCha20+Poly1305
The implementation was silently overwriting the IV length to 12
even though the caller passed a different value.
Change the behavior to signal that a different length is not supported.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
2022-01-14 16:31:54 +01:00

52 KiB