Fix return type

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-09-28 18:15:58 +01:00
parent 321c7e9ed9
commit 2bc38a6dfe

View File

@ -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 )