Undo deprecation of MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH

This commit is contained in:
Hanno Becker 2018-12-18 09:42:58 +00:00
parent 938f9e9bdb
commit a034369eca
5 changed files with 8 additions and 7 deletions

View file

@ -613,7 +613,7 @@ int mbedtls_aria_crypt_cbc( mbedtls_aria_context *ctx,
unsigned char temp[MBEDTLS_ARIA_BLOCKSIZE];
if( length % MBEDTLS_ARIA_BLOCKSIZE )
return( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA );
return( MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH );
if( mode == MBEDTLS_ARIA_DECRYPT )
{