1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Fix function name to fit conventions

This commit is contained in:
Manuel Pégourié-Gonnard
2018-10-16 10:41:31 +02:00
parent c0edc96704
commit b843b15a02
4 changed files with 6 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ void mbedtls_ecp_set_max_ops( unsigned max_ops )
/*
* Check if restart is enabled
*/
int mbedtls_ecp_restart_enabled( void )
int mbedtls_ecp_restart_is_enabled( void )
{
return( ecp_max_ops != 0 );
}
@@ -266,7 +266,7 @@ int mbedtls_ecp_check_budget( const mbedtls_ecp_group *grp,
rs_ctx->ops_done = 0; \
\
/* set up our own sub-context if needed */ \
if( mbedtls_ecp_restart_enabled() && \
if( mbedtls_ecp_restart_is_enabled() && \
rs_ctx != NULL && rs_ctx->SUB == NULL ) \
{ \
rs_ctx->SUB = mbedtls_calloc( 1, sizeof( *rs_ctx->SUB ) ); \