mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Add test for ecdsa_read_signature_restartable()
Test values taken from a random signature as generated in ecdsa_write_read_random() test function
This commit is contained in:
@ -476,7 +476,7 @@ void mbedtls_ecdsa_free( mbedtls_ecdsa_context *ctx )
|
||||
*/
|
||||
void mbedtls_ecdsa_restart_init( mbedtls_ecdsa_restart_ctx *ctx )
|
||||
{
|
||||
mbedtls_ecp_restart_init( &ctx->rs_ecp );
|
||||
mbedtls_ecp_restart_init( &ctx->ecp );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -484,7 +484,7 @@ void mbedtls_ecdsa_restart_init( mbedtls_ecdsa_restart_ctx *ctx )
|
||||
*/
|
||||
void mbedtls_ecdsa_restart_free( mbedtls_ecdsa_restart_ctx *ctx )
|
||||
{
|
||||
mbedtls_ecp_restart_free( &ctx->rs_ecp );
|
||||
mbedtls_ecp_restart_free( &ctx->ecp );
|
||||
}
|
||||
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
||||
|
||||
|
Reference in New Issue
Block a user