mbedtls/ChangeLog.d/psa_cipher_update_ecp.txt
Gilles Peskine a63ba6cd93 psa_cipher_update_ecb: remove parameter output_size
This parameter was set but not used, which was pointless. Clang 14 detects
this and legitimately complains.

Remove the parameter. This is an internal function, only called once. The
caller already has a sufficient check on the output buffer size which
applies in more cases, so there is no real gain in robustness in adding the
same check inside the internal function.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-09-13 12:54:46 +02:00

3 lines
80 B
Plaintext

Bugfix
* Fix a parameter set but unused in psa_crypto_cipher.c. Fixes #4935.