Home
last modified time | relevance | path

Searched refs:mbedtls_test_read_mpi (Results 1 – 14 of 14) sorted by relevance

/mbedtls-3.4.0/tests/suites/
Dtest_suite_bignum.function244 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
275 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
338 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
364 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
379 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
380 TEST_ASSERT( mbedtls_test_read_mpi( &Y, output_Y ) == 0 );
400 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
414 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
429 TEST_ASSERT( mbedtls_test_read_mpi( &X, input_X ) == 0 );
430 TEST_ASSERT( mbedtls_test_read_mpi( &Y, input_Y ) == 0 );
[all …]
Dtest_suite_rsa.function180 TEST_ASSERT( mbedtls_test_read_mpi( &P, input_P ) == 0 );
181 TEST_ASSERT( mbedtls_test_read_mpi( &Q, input_Q ) == 0 );
182 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
183 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
222 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
223 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
259 TEST_ASSERT( mbedtls_test_read_mpi( &P, input_P ) == 0 );
260 TEST_ASSERT( mbedtls_test_read_mpi( &Q, input_Q ) == 0 );
261 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
262 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
[all …]
Dtest_suite_ecp.function128 TEST_ASSERT( mbedtls_test_read_mpi( &P.X, x_hex ) == 0 );
129 TEST_ASSERT( mbedtls_test_read_mpi( &P.Y, y_hex ) == 0 );
130 TEST_ASSERT( mbedtls_test_read_mpi( &P.Z, z_hex ) == 0 );
181 TEST_ASSERT( mbedtls_test_read_mpi( &dA, dA_str ) == 0 );
182 TEST_ASSERT( mbedtls_test_read_mpi( &xA, xA_str ) == 0 );
183 TEST_ASSERT( mbedtls_test_read_mpi( &yA, yA_str ) == 0 );
185 TEST_ASSERT( mbedtls_test_read_mpi( &dB, dB_str ) == 0 );
186 TEST_ASSERT( mbedtls_test_read_mpi( &xZ, xZ_str ) == 0 );
187 TEST_ASSERT( mbedtls_test_read_mpi( &yZ, yZ_str ) == 0 );
268 TEST_ASSERT( mbedtls_test_read_mpi( &u1, u1_str ) == 0 );
[all …]
Dtest_suite_pkcs1_v15.function35 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
36 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
83 TEST_ASSERT( mbedtls_test_read_mpi( &P, input_P ) == 0 );
84 TEST_ASSERT( mbedtls_test_read_mpi( &Q, input_Q ) == 0 );
85 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
86 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
289 TEST_ASSERT( mbedtls_test_read_mpi( &P, input_P ) == 0 );
290 TEST_ASSERT( mbedtls_test_read_mpi( &Q, input_Q ) == 0 );
291 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
292 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
[all …]
Dtest_suite_ecdsa.function102 TEST_ASSERT( mbedtls_test_read_mpi( &d, d_str ) == 0 );
103 TEST_ASSERT( mbedtls_test_read_mpi( &r_check, r_str ) == 0 );
104 TEST_ASSERT( mbedtls_test_read_mpi( &s_check, s_str ) == 0 );
212 TEST_ASSERT( mbedtls_test_read_mpi( &d, d_str ) == 0 );
213 TEST_ASSERT( mbedtls_test_read_mpi( &r_check, r_str ) == 0 );
214 TEST_ASSERT( mbedtls_test_read_mpi( &s_check, s_str ) == 0 );
435 TEST_ASSERT( mbedtls_test_read_mpi( &ctx.d, d_str ) == 0 );
484 TEST_EQUAL( mbedtls_test_read_mpi( &ctx.Q.X, x ), 0 );
485 TEST_EQUAL( mbedtls_test_read_mpi( &ctx.Q.Y, y ), 0 );
489 TEST_EQUAL( mbedtls_test_read_mpi( &sig_r, r ), 0 );
[all …]
Dtest_suite_bignum_core.function550 TEST_EQUAL( 0, mbedtls_test_read_mpi( &A, input_A ) );
551 TEST_EQUAL( 0, mbedtls_test_read_mpi( &B, input_B ) );
552 TEST_EQUAL( 0, mbedtls_test_read_mpi( &X4, input_X4 ) );
553 TEST_EQUAL( 0, mbedtls_test_read_mpi( &X8, input_X8 ) );
654 TEST_EQUAL( 0, mbedtls_test_read_mpi( &A, input_A ) );
655 TEST_EQUAL( 0, mbedtls_test_read_mpi( &B, input_B ) );
656 TEST_EQUAL( 0, mbedtls_test_read_mpi( &S, input_S ) );
657 TEST_EQUAL( 0, mbedtls_test_read_mpi( &X4, input_X4 ) );
658 TEST_EQUAL( 0, mbedtls_test_read_mpi( &cy4, input_cy4 ) );
659 TEST_EQUAL( 0, mbedtls_test_read_mpi( &X8, input_X8 ) );
[all …]
Dtest_suite_dhm.function119 TEST_ASSERT( mbedtls_test_read_mpi( &ctx_srv.P, input_P ) == 0 );
120 TEST_ASSERT( mbedtls_test_read_mpi( &ctx_srv.G, input_G ) == 0 );
242 TEST_ASSERT( mbedtls_test_read_mpi( &G, input_G ) == 0 );
266 TEST_ASSERT( mbedtls_test_read_mpi( &P, p ) == 0 );
267 TEST_ASSERT( mbedtls_test_read_mpi( &G, g ) == 0 );
Dtest_suite_pk.function552 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->N, input_N ) == 0 );
553 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->E, input_E ) == 0 );
591 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->N, input_N ) == 0 );
592 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->E, input_E ) == 0 );
687 TEST_ASSERT( mbedtls_test_read_mpi( &mbedtls_pk_ec( prv )->d, d_str ) == 0 );
873 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->N, input_N ) == 0 );
874 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->E, input_E ) == 0 );
891 TEST_ASSERT( mbedtls_test_read_mpi( &N, input_N ) == 0 );
892 TEST_ASSERT( mbedtls_test_read_mpi( &E, input_E ) == 0 );
895 TEST_ASSERT( mbedtls_test_read_mpi( &P, input_P ) == 0 );
[all …]
Dtest_suite_ecdh.function163 TEST_ASSERT( mbedtls_test_read_mpi( &check, xA_str ) == 0 );
165 TEST_ASSERT( mbedtls_test_read_mpi( &check, yA_str ) == 0 );
172 TEST_ASSERT( mbedtls_test_read_mpi( &check, xB_str ) == 0 );
174 TEST_ASSERT( mbedtls_test_read_mpi( &check, yB_str ) == 0 );
177 TEST_ASSERT( mbedtls_test_read_mpi( &check, z_str ) == 0 );
Dtest_suite_debug.function210 TEST_ASSERT( mbedtls_test_read_mpi( &val, value ) == 0 );
Dtest_suite_x509write.function380 TEST_ASSERT( mbedtls_test_read_mpi( &serial, serial_str ) == 0 );
Dtest_suite_asn1parse.function420 ret = mbedtls_test_read_mpi( &expected_mpi, expected_hex );
/mbedtls-3.4.0/tests/include/test/
Dhelpers.h317 int mbedtls_test_read_mpi( mbedtls_mpi *X, const char *s );
/mbedtls-3.4.0/tests/src/
Dhelpers.c404 int mbedtls_test_read_mpi( mbedtls_mpi *X, const char *s ) in mbedtls_test_read_mpi() function