mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-30 09:01:08 +02:00
Don't re-code the logic to determine a valid nonce length. This fixes exercise_key() for PSA_ALG_CHACHA20_POLY1305, which was trying to use a 16-byte nonce. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>