mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Remove driver entry points for {get|set}_max_ops().
Move the global variable to the PSA layer, and just set that when calling PSA level functions. Move the internal ecp set to before each ecp call. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
@ -433,24 +433,6 @@ psa_status_t psa_driver_wrapper_verify_hash(
|
||||
}
|
||||
}
|
||||
|
||||
void psa_driver_wrapper_interruptible_set_max_ops( uint32_t max_ops )
|
||||
{
|
||||
/* TODO - dispatch to drivers dynamically registered for this
|
||||
* service when registering is implemented. For now, fall
|
||||
* through to internal implementation. */
|
||||
|
||||
mbedtls_psa_interruptible_set_max_ops( max_ops );
|
||||
}
|
||||
|
||||
uint32_t psa_driver_wrapper_interruptible_get_max_ops( void )
|
||||
{
|
||||
/* TODO - dispatch to drivers dynamically registered for this
|
||||
* service when registering is implemented. For now, fall
|
||||
* through to internal implementation. */
|
||||
|
||||
return mbedtls_psa_interruptible_get_max_ops( );
|
||||
}
|
||||
|
||||
uint32_t psa_driver_wrapper_sign_hash_get_num_ops(
|
||||
psa_sign_hash_interruptible_operation_t *operation )
|
||||
{
|
||||
|
Reference in New Issue
Block a user