/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | test_suite_mpi.function | 40 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == result_read ); 91 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 157 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 183 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 198 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 199 TEST_ASSERT( mbedtls_mpi_read_string( &Y, radix_Y, output_Y ) == 0 ); 218 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 232 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 247 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == 0 ); 248 TEST_ASSERT( mbedtls_mpi_read_string( &Y, radix_Y, input_Y ) == 0 ); [all …]
|
D | test_suite_rsa.function | 43 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.P, radix_P, input_P ) == 0 ); 44 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.Q, radix_Q, input_Q ) == 0 ); 45 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 46 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 95 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 96 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 140 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.P, radix_P, input_P ) == 0 ); 141 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.Q, radix_Q, input_Q ) == 0 ); 142 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 143 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); [all …]
|
D | test_suite_ecp.function | 42 TEST_ASSERT( mbedtls_mpi_read_string( &P.X, 16, key_hex ) == 0 ); 72 TEST_ASSERT( mbedtls_mpi_read_string( &dA, 16, dA_str ) == 0 ); 73 TEST_ASSERT( mbedtls_mpi_read_string( &xA, 16, xA_str ) == 0 ); 74 TEST_ASSERT( mbedtls_mpi_read_string( &yA, 16, yA_str ) == 0 ); 75 TEST_ASSERT( mbedtls_mpi_read_string( &dB, 16, dB_str ) == 0 ); 76 TEST_ASSERT( mbedtls_mpi_read_string( &xB, 16, xB_str ) == 0 ); 77 TEST_ASSERT( mbedtls_mpi_read_string( &yB, 16, yB_str ) == 0 ); 78 TEST_ASSERT( mbedtls_mpi_read_string( &xZ, 16, xZ_str ) == 0 ); 79 TEST_ASSERT( mbedtls_mpi_read_string( &yZ, 16, yZ_str ) == 0 ); 127 TEST_ASSERT( mbedtls_mpi_read_string( &dA, 16, dA_hex ) == 0 ); [all …]
|
D | test_suite_pkcs1_v15.function | 34 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 35 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 79 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.P, radix_P, input_P ) == 0 ); 80 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.Q, radix_Q, input_Q ) == 0 ); 81 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 82 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 140 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.P, radix_P, input_P ) == 0 ); 141 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.Q, radix_Q, input_Q ) == 0 ); 142 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 143 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); [all …]
|
D | test_suite_pkcs1_v21.function | 34 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 35 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 79 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.P, radix_P, input_P ) == 0 ); 80 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.Q, radix_Q, input_Q ) == 0 ); 81 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 82 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 140 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.P, radix_P, input_P ) == 0 ); 141 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.Q, radix_Q, input_Q ) == 0 ); 142 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.N, radix_N, input_N ) == 0 ); 143 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); [all …]
|
D | test_suite_ecdsa.function | 63 TEST_ASSERT( mbedtls_mpi_read_string( &d, 16, d_str ) == 0 ); 64 TEST_ASSERT( mbedtls_mpi_read_string( &r_check, 16, r_str ) == 0 ); 65 TEST_ASSERT( mbedtls_mpi_read_string( &s_check, 16, s_str ) == 0 ); 114 TEST_ASSERT( mbedtls_mpi_read_string( &d, 16, d_str ) == 0 ); 115 TEST_ASSERT( mbedtls_mpi_read_string( &r_check, 16, r_str ) == 0 ); 116 TEST_ASSERT( mbedtls_mpi_read_string( &s_check, 16, s_str ) == 0 );
|
D | test_suite_dhm.function | 39 TEST_ASSERT( mbedtls_mpi_read_string( &ctx_srv.P, radix_P, input_P ) == 0 ); 40 TEST_ASSERT( mbedtls_mpi_read_string( &ctx_srv.G, radix_G, input_G ) == 0 ); 108 TEST_ASSERT( mbedtls_mpi_read_string( &P, 16, p ) == 0 ); 109 TEST_ASSERT( mbedtls_mpi_read_string( &G, 16, g ) == 0 );
|
D | test_suite_ecdh.function | 99 TEST_ASSERT( mbedtls_mpi_read_string( &check, 16, xA_str ) == 0 ); 101 TEST_ASSERT( mbedtls_mpi_read_string( &check, 16, yA_str ) == 0 ); 107 TEST_ASSERT( mbedtls_mpi_read_string( &check, 16, xB_str ) == 0 ); 109 TEST_ASSERT( mbedtls_mpi_read_string( &check, 16, yB_str ) == 0 ); 112 TEST_ASSERT( mbedtls_mpi_read_string( &check, 16, z_str ) == 0 );
|
D | test_suite_pk.function | 138 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->N, radix_N, input_N ) == 0 ); 139 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->E, radix_E, input_E ) == 0 ); 182 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->N, radix_N, input_N ) == 0 ); 183 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->E, radix_E, input_E ) == 0 ); 306 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->N, radix_N, input_N ) == 0 ); 307 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->E, radix_E, input_E ) == 0 ); 353 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->N, radix_N, input_N ) == 0 ); 354 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->E, radix_E, input_E ) == 0 ); 357 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->P, radix_P, input_P ) == 0 ); 358 TEST_ASSERT( mbedtls_mpi_read_string( &rsa->Q, radix_Q, input_Q ) == 0 );
|
D | test_suite_debug.function | 185 TEST_ASSERT( mbedtls_mpi_read_string( &val, radix, value ) == 0 );
|
D | test_suite_x509write.function | 101 TEST_ASSERT( mbedtls_mpi_read_string( &serial, 10, serial_str ) == 0 );
|
/net-tools-latest/mbedtls-2.4.0/programs/pkey/ |
D | mpi_demo.c | 57 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P, 10, "2789" ) ); in main() 58 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &Q, 10, "3203" ) ); in main() 59 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 10, "257" ) ); in main() 81 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &X, 10, "55555" ) ); in main()
|
D | dh_genprime.c | 109 if( ( ret = mbedtls_mpi_read_string( &G, 10, GENERATOR ) ) != 0 ) in main()
|
/net-tools-latest/mbedtls-2.4.0/library/ |
D | rsa.c | 1627 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.N , 16, RSA_N ) ); in mbedtls_rsa_self_test() 1628 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.E , 16, RSA_E ) ); in mbedtls_rsa_self_test() 1629 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.D , 16, RSA_D ) ); in mbedtls_rsa_self_test() 1630 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.P , 16, RSA_P ) ); in mbedtls_rsa_self_test() 1631 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.Q , 16, RSA_Q ) ); in mbedtls_rsa_self_test() 1632 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.DP, 16, RSA_DP ) ); in mbedtls_rsa_self_test() 1633 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.DQ, 16, RSA_DQ ) ); in mbedtls_rsa_self_test() 1634 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.QP, 16, RSA_QP ) ); in mbedtls_rsa_self_test()
|
D | bignum.c | 424 int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s ) in mbedtls_mpi_read_string() function 622 return( mbedtls_mpi_read_string( X, radix, p + 1 ) ); in mbedtls_mpi_read_file() 2290 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &A, 16, in mbedtls_mpi_self_test() 2296 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 16, in mbedtls_mpi_self_test() 2302 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &N, 16, in mbedtls_mpi_self_test() 2309 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test() 2335 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test() 2338 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &V, 16, in mbedtls_mpi_self_test() 2361 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test() 2383 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test()
|
D | ecp.c | 430 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P->X, radix, x ) ); in mbedtls_ecp_point_read_string() 431 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P->Y, radix, y ) ); in mbedtls_ecp_point_read_string() 2007 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[0] ) ); in mbedtls_ecp_self_test() 2019 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[i] ) ); in mbedtls_ecp_self_test() 2044 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[0] ) ); in mbedtls_ecp_self_test() 2056 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[i] ) ); in mbedtls_ecp_self_test()
|
D | ecp_curves.c | 663 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &grp->A, 16, "01DB42" ) ); in ecp_use_curve25519()
|
D | ssl_tls.c | 5902 if( ( ret = mbedtls_mpi_read_string( &conf->dhm_P, 16, dhm_P ) ) != 0 || in mbedtls_ssl_conf_dh_param() 5903 ( ret = mbedtls_mpi_read_string( &conf->dhm_G, 16, dhm_G ) ) != 0 ) in mbedtls_ssl_conf_dh_param()
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | bignum.h | 320 int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s );
|
D | compat-1.3.h | 2142 #define mpi_read_string mbedtls_mpi_read_string
|
/net-tools-latest/mbedtls-2.4.0/programs/test/ |
D | benchmark.c | 685 if( mbedtls_mpi_read_string( &dhm.P, 16, dhm_P[i] ) != 0 || in main() 686 mbedtls_mpi_read_string( &dhm.G, 16, dhm_G[i] ) != 0 ) in main()
|
/net-tools-latest/mbedtls-2.4.0/yotta/data/example-benchmark/ |
D | main.cpp | 737 if( mbedtls_mpi_read_string( &dhm.P, 16, dhm_P[i] ) != 0 || in benchmark() 738 mbedtls_mpi_read_string( &dhm.G, 16, dhm_G[i] ) != 0 ) in benchmark()
|
/net-tools-latest/mbedtls-2.4.0/programs/x509/ |
D | cert_write.c | 390 if( ( ret = mbedtls_mpi_read_string( &serial, 10, opt.serial ) ) != 0 ) in main()
|
/net-tools-latest/mbedtls-2.4.0/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1687 mpi_read_string mbedtls_mpi_read_string
|
/net-tools-latest/mbedtls-2.4.0/ |
D | ChangeLog | 219 * Fix potential buffer overflow in mbedtls_mpi_read_string().
|