Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.function232 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
264 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
329 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
355 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
370 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
371 TEST_ASSERT( mbedtls_test_read_mpi( &Y, radix_Y, output_Y ) == 0 );
391 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
405 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
420 TEST_ASSERT( mbedtls_test_read_mpi( &X, radix_X, input_X ) == 0 );
421 TEST_ASSERT( mbedtls_test_read_mpi( &Y, radix_Y, input_Y ) == 0 );
[all …]
Dtest_suite_rsa.function103 TEST_ASSERT( mbedtls_test_read_mpi( &P, radix_P, input_P ) == 0 );
104 TEST_ASSERT( mbedtls_test_read_mpi( &Q, radix_Q, input_Q ) == 0 );
105 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
106 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
151 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
152 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
191 TEST_ASSERT( mbedtls_test_read_mpi( &P, radix_P, input_P ) == 0 );
192 TEST_ASSERT( mbedtls_test_read_mpi( &Q, radix_Q, input_Q ) == 0 );
193 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
194 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
[all …]
Dtest_suite_ecp.function85 TEST_ASSERT( mbedtls_test_read_mpi( &P.X, 16, x_hex ) == 0 );
86 TEST_ASSERT( mbedtls_test_read_mpi( &P.Y, 16, y_hex ) == 0 );
87 TEST_ASSERT( mbedtls_test_read_mpi( &P.Z, 16, z_hex ) == 0 );
138 TEST_ASSERT( mbedtls_test_read_mpi( &dA, 16, dA_str ) == 0 );
139 TEST_ASSERT( mbedtls_test_read_mpi( &xA, 16, xA_str ) == 0 );
140 TEST_ASSERT( mbedtls_test_read_mpi( &yA, 16, yA_str ) == 0 );
142 TEST_ASSERT( mbedtls_test_read_mpi( &dB, 16, dB_str ) == 0 );
143 TEST_ASSERT( mbedtls_test_read_mpi( &xZ, 16, xZ_str ) == 0 );
144 TEST_ASSERT( mbedtls_test_read_mpi( &yZ, 16, yZ_str ) == 0 );
225 TEST_ASSERT( mbedtls_test_read_mpi( &u1, 16, u1_str ) == 0 );
[all …]
Dtest_suite_pkcs1_v15.function33 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
34 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
83 TEST_ASSERT( mbedtls_test_read_mpi( &P, radix_P, input_P ) == 0 );
84 TEST_ASSERT( mbedtls_test_read_mpi( &Q, radix_Q, input_Q ) == 0 );
85 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
86 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
292 TEST_ASSERT( mbedtls_test_read_mpi( &P, radix_P, input_P ) == 0 );
293 TEST_ASSERT( mbedtls_test_read_mpi( &Q, radix_Q, input_Q ) == 0 );
294 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
295 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
[all …]
Dtest_suite_dhm.function119 TEST_ASSERT( mbedtls_test_read_mpi( &ctx_srv.P, radix_P, input_P ) == 0 );
120 TEST_ASSERT( mbedtls_test_read_mpi( &ctx_srv.G, radix_G, input_G ) == 0 );
242 TEST_ASSERT( mbedtls_test_read_mpi( &G, radix_G, input_G ) == 0 );
266 TEST_ASSERT( mbedtls_test_read_mpi( &P, 16, p ) == 0 );
267 TEST_ASSERT( mbedtls_test_read_mpi( &G, 16, g ) == 0 );
Dtest_suite_ecdsa.function95 TEST_ASSERT( mbedtls_test_read_mpi( &d, 16, d_str ) == 0 );
96 TEST_ASSERT( mbedtls_test_read_mpi( &r_check, 16, r_str ) == 0 );
97 TEST_ASSERT( mbedtls_test_read_mpi( &s_check, 16, s_str ) == 0 );
160 TEST_ASSERT( mbedtls_test_read_mpi( &d, 16, d_str ) == 0 );
161 TEST_ASSERT( mbedtls_test_read_mpi( &r_check, 16, r_str ) == 0 );
162 TEST_ASSERT( mbedtls_test_read_mpi( &s_check, 16, s_str ) == 0 );
391 TEST_ASSERT( mbedtls_test_read_mpi( &ctx.d, 16, d_str ) == 0 );
Dtest_suite_pk.function406 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->N, radix_N, input_N ) == 0 );
407 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->E, radix_E, input_E ) == 0 );
449 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->N, radix_N, input_N ) == 0 );
450 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->E, radix_E, input_E ) == 0 );
538 TEST_ASSERT( mbedtls_test_read_mpi( &mbedtls_pk_ec( prv )->d, 16, d_str ) == 0 );
729 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->N, radix_N, input_N ) == 0 );
730 TEST_ASSERT( mbedtls_test_read_mpi( &rsa->E, radix_E, input_E ) == 0 );
768 TEST_ASSERT( mbedtls_test_read_mpi( &N, radix_N, input_N ) == 0 );
769 TEST_ASSERT( mbedtls_test_read_mpi( &E, radix_E, input_E ) == 0 );
772 TEST_ASSERT( mbedtls_test_read_mpi( &P, radix_P, input_P ) == 0 );
[all …]
Dtest_suite_ecdh.function160 TEST_ASSERT( mbedtls_test_read_mpi( &check, 16, xA_str ) == 0 );
162 TEST_ASSERT( mbedtls_test_read_mpi( &check, 16, yA_str ) == 0 );
169 TEST_ASSERT( mbedtls_test_read_mpi( &check, 16, xB_str ) == 0 );
171 TEST_ASSERT( mbedtls_test_read_mpi( &check, 16, yB_str ) == 0 );
174 TEST_ASSERT( mbedtls_test_read_mpi( &check, 16, z_str ) == 0 );
Dtest_suite_debug.function209 TEST_ASSERT( mbedtls_test_read_mpi( &val, radix, value ) == 0 );
Dtest_suite_x509write.function251 TEST_ASSERT( mbedtls_test_read_mpi( &serial, 10, serial_str ) == 0 );
Dtest_suite_asn1parse.function420 ret = mbedtls_test_read_mpi( &expected_mpi, 16, expected_hex );
/third_party/mbedtls/tests/include/test/
Dhelpers.h254 int mbedtls_test_read_mpi( mbedtls_mpi *X, int radix, const char *s );
/third_party/mbedtls/tests/src/
Dhelpers.c289 int mbedtls_test_read_mpi( mbedtls_mpi *X, int radix, const char *s ) in mbedtls_test_read_mpi() function