mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Add infrastructure for ecdsa_verify_restartable()
This commit is contained in:
@ -100,6 +100,14 @@ void mbedtls_ecp_set_max_ops( unsigned max_ops )
|
||||
ecp_max_ops = max_ops;
|
||||
}
|
||||
|
||||
/*
|
||||
* Check if restart is enabled
|
||||
*/
|
||||
int mbedtls_ecp_restart_enabled( void )
|
||||
{
|
||||
return( ecp_max_ops != 0 );
|
||||
}
|
||||
|
||||
/*
|
||||
* Restart sub-context for ecp_mul_comb()
|
||||
*/
|
||||
|
Reference in New Issue
Block a user