mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Fix return type
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
321c7e9ed9
commit
2bc38a6dfe
|
|
@ -472,7 +472,7 @@ static inline psa_status_t psa_driver_wrapper_verify_hash(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int psa_driver_wrapper_sign_hash_get_num_ops(
|
static inline psa_status_t psa_driver_wrapper_sign_hash_get_num_ops(
|
||||||
psa_sign_hash_interruptible_operation_t *operation, uint32_t *num_ops )
|
psa_sign_hash_interruptible_operation_t *operation, uint32_t *num_ops )
|
||||||
{
|
{
|
||||||
switch( operation->id )
|
switch( operation->id )
|
||||||
|
|
@ -497,7 +497,7 @@ static inline int psa_driver_wrapper_sign_hash_get_num_ops(
|
||||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int psa_driver_wrapper_verify_hash_get_num_ops(
|
static inline psa_status_t psa_driver_wrapper_verify_hash_get_num_ops(
|
||||||
psa_verify_hash_interruptible_operation_t *operation, uint32_t *num_ops )
|
psa_verify_hash_interruptible_operation_t *operation, uint32_t *num_ops )
|
||||||
{
|
{
|
||||||
switch( operation->id )
|
switch( operation->id )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue