aria: remove leftover in comments

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti 2024-01-30 11:40:24 +01:00
parent 76e4c6352d
commit 779a1a5b20

View file

@ -578,8 +578,7 @@ int mbedtls_aria_crypt_cfb128(mbedtls_aria_context *ctx,
n = *iv_off; n = *iv_off;
/* An overly large value of n can lead to an unlimited /* An overly large value of n can lead to an unlimited
* buffer overflow. Therefore, guard against this * buffer overflow. */
* outside of parameter validation. */
if (n >= MBEDTLS_ARIA_BLOCKSIZE) { if (n >= MBEDTLS_ARIA_BLOCKSIZE) {
return MBEDTLS_ERR_ARIA_BAD_INPUT_DATA; return MBEDTLS_ERR_ARIA_BAD_INPUT_DATA;
} }
@ -631,8 +630,7 @@ int mbedtls_aria_crypt_ctr(mbedtls_aria_context *ctx,
n = *nc_off; n = *nc_off;
/* An overly large value of n can lead to an unlimited /* An overly large value of n can lead to an unlimited
* buffer overflow. Therefore, guard against this * buffer overflow. */
* outside of parameter validation. */
if (n >= MBEDTLS_ARIA_BLOCKSIZE) { if (n >= MBEDTLS_ARIA_BLOCKSIZE) {
return MBEDTLS_ERR_ARIA_BAD_INPUT_DATA; return MBEDTLS_ERR_ARIA_BAD_INPUT_DATA;
} }