mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-17 20:42:44 +00:00
tests: fix bitflip comment
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
57f58b0e65
commit
83e60eef4d
@ -5607,9 +5607,8 @@ void raw_key_agreement_fail( int bad_server_ecdhe_key )
|
|||||||
USE_PSA_INIT( );
|
USE_PSA_INIT( );
|
||||||
|
|
||||||
/* Client side, force SECP256R1 to make one key bitflip fail
|
/* Client side, force SECP256R1 to make one key bitflip fail
|
||||||
* the raw key agreement. Flipping one bit with a Weierstrass
|
* the raw key agreement. Flipping the first byte makes the
|
||||||
* curve (as opposed to a Montgomery curve) has a high chance of
|
* required 0x04 identifier invalid. */
|
||||||
* making it invalid. */
|
|
||||||
TEST_EQUAL( mbedtls_endpoint_init( &client, MBEDTLS_SSL_IS_CLIENT,
|
TEST_EQUAL( mbedtls_endpoint_init( &client, MBEDTLS_SSL_IS_CLIENT,
|
||||||
MBEDTLS_PK_ECDSA, NULL, NULL,
|
MBEDTLS_PK_ECDSA, NULL, NULL,
|
||||||
NULL, iana_tls_group_list ), 0 );
|
NULL, iana_tls_group_list ), 0 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user