commit | 6c0ec0eb52ff9578cb1734f9d0149944aa281317 | [log] [tgz] |
---|---|---|
author | Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com> | Thu Sep 30 15:51:05 2021 +0200 |
committer | Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com> | Thu Sep 30 15:51:05 2021 +0200 |
tree | 8e69b542d479507d290feeb47d1fed25b8e60eda | |
parent | 7ab374f6b59763aee950782751568dce60c5a563 [diff] |
Adapt return status to 2.x Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
diff --git a/library/cipher.c b/library/cipher.c index c9871eb..b956030 100644 --- a/library/cipher.c +++ b/library/cipher.c
@@ -1250,7 +1250,7 @@ { status = psa_cipher_set_iv( &cipher_op, iv, iv_len ); if( status != PSA_SUCCESS ) - return( MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED ); + return( MBEDTLS_ERR_CIPHER_HW_ACCEL_FAILED ); } status = psa_cipher_update( &cipher_op,