Add infrastructure for ecdsa_verify_restartable()
This commit is contained in:
parent
722e5156fd
commit
a0c5bcc2bc
4 changed files with 107 additions and 2 deletions
|
@ -341,6 +341,14 @@ typedef void mbedtls_ecp_restart_ctx;
|
|||
* \note This setting is currently ignored by Curve25519
|
||||
*/
|
||||
void mbedtls_ecp_set_max_ops( unsigned max_ops );
|
||||
|
||||
/**
|
||||
* \brief Check if restart is enabled (max_ops != 0)
|
||||
*
|
||||
* \return 0 if max_ops == 0 (restart disabled)
|
||||
* 1 otherwise (restart enabled)
|
||||
*/
|
||||
int mbedtls_ecp_restart_enabled( void );
|
||||
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue