mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00: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…
x
Reference in New Issue
Block a user