mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:35:49 +01:00
Remove parameter validation for deprecated function in ECDSA module
This commit is contained in:
parent
035c6baefe
commit
73b79841b2
@ -155,33 +155,6 @@ void ecdsa_invalid_param( )
|
|||||||
rnd_std_rand,
|
rnd_std_rand,
|
||||||
NULL, NULL ) );
|
NULL, NULL ) );
|
||||||
|
|
||||||
#if defined(MBEDTLS_ECDSA_DETERMINISTIC) && !defined(MBEDTLS_DEPRECATED_REMOVED)
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ECP_BAD_INPUT_DATA,
|
|
||||||
mbedtls_ecdsa_write_signature_det( NULL,
|
|
||||||
buf,
|
|
||||||
sizeof( buf ),
|
|
||||||
buf, &slen,
|
|
||||||
valid_md ) );
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ECP_BAD_INPUT_DATA,
|
|
||||||
mbedtls_ecdsa_write_signature_det( &ctx,
|
|
||||||
NULL,
|
|
||||||
sizeof( buf ),
|
|
||||||
buf, &slen,
|
|
||||||
valid_md ) );
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ECP_BAD_INPUT_DATA,
|
|
||||||
mbedtls_ecdsa_write_signature_det( &ctx,
|
|
||||||
buf,
|
|
||||||
sizeof( buf ),
|
|
||||||
NULL, &slen,
|
|
||||||
valid_md ) );
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ECP_BAD_INPUT_DATA,
|
|
||||||
mbedtls_ecdsa_write_signature_det( &ctx,
|
|
||||||
buf,
|
|
||||||
sizeof( buf ),
|
|
||||||
buf, NULL,
|
|
||||||
valid_md ) );
|
|
||||||
#endif /* MBEDTLS_ECDSA_DETERMINISTIC && !MBEDTLS_DEPRECATED_REMOVED */
|
|
||||||
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ECP_BAD_INPUT_DATA,
|
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ECP_BAD_INPUT_DATA,
|
||||||
mbedtls_ecdsa_read_signature( NULL,
|
mbedtls_ecdsa_read_signature( NULL,
|
||||||
buf, sizeof( buf ),
|
buf, sizeof( buf ),
|
||||||
|
Loading…
Reference in New Issue
Block a user