mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-20 09:07:23 +00:00
Adapt return status to 2.x
Signed-off-by: Przemyslaw Stekiel <[email protected]>
This commit is contained in:
+1
-1
@@ -1250,7 +1250,7 @@ int mbedtls_cipher_crypt( mbedtls_cipher_context_t *ctx,
|
||||
{
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user