mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-10 05:03:02 +03:00
Adapt return status to 2.x
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
@@ -1250,7 +1250,7 @@ int mbedtls_cipher_crypt( mbedtls_cipher_context_t *ctx,
|
|||||||
{
|
{
|
||||||
status = psa_cipher_set_iv( &cipher_op, iv, iv_len );
|
status = psa_cipher_set_iv( &cipher_op, iv, iv_len );
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
return( MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED );
|
return( MBEDTLS_ERR_CIPHER_HW_ACCEL_FAILED );
|
||||||
}
|
}
|
||||||
|
|
||||||
status = psa_cipher_update( &cipher_op,
|
status = psa_cipher_update( &cipher_op,
|
||||||
|
Reference in New Issue
Block a user