Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_read_string (Results 1 – 15 of 15) sorted by relevance

/third_party/mbedtls/programs/pkey/
Dmpi_demo.c89 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P, 10, "2789" ) ); in main()
90 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &Q, 10, "3203" ) ); in main()
91 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 10, "257" ) ); in main()
113 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &X, 10, "55555" ) ); in main()
Ddh_genprime.c139 if( ( ret = mbedtls_mpi_read_string( &G, 10, GENERATOR ) ) != 0 ) in main()
/third_party/mbedtls/library/
Dbignum.c572 int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s ) in mbedtls_mpi_read_string() function
796 return( mbedtls_mpi_read_string( X, radix, p + 1 ) ); in mbedtls_mpi_read_file()
3028 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &A, 16, in mbedtls_mpi_self_test()
3034 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 16, in mbedtls_mpi_self_test()
3040 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &N, 16, in mbedtls_mpi_self_test()
3047 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test()
3073 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test()
3076 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &V, 16, in mbedtls_mpi_self_test()
3099 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test()
3121 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &U, 16, in mbedtls_mpi_self_test()
Drsa.c2668 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_N ) ); in mbedtls_rsa_self_test()
2670 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_P ) ); in mbedtls_rsa_self_test()
2672 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_Q ) ); in mbedtls_rsa_self_test()
2674 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_D ) ); in mbedtls_rsa_self_test()
2676 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_E ) ); in mbedtls_rsa_self_test()
Decp.c1002 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P->X, radix, x ) ); in mbedtls_ecp_point_read_string()
1003 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P->Y, radix, y ) ); in mbedtls_ecp_point_read_string()
3464 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[0] ) ); in mbedtls_ecp_self_test()
3476 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[i] ) ); in mbedtls_ecp_self_test()
3501 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[0] ) ); in mbedtls_ecp_self_test()
3513 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &m, 16, exponents[i] ) ); in mbedtls_ecp_self_test()
Dssl_tls.c7553 if( ( ret = mbedtls_mpi_read_string( &conf->dhm_P, 16, dhm_P ) ) != 0 || in mbedtls_ssl_conf_dh_param()
7554 ( ret = mbedtls_mpi_read_string( &conf->dhm_G, 16, dhm_G ) ) != 0 ) in mbedtls_ssl_conf_dh_param()
/third_party/mbedtls/include/mbedtls/
Dbignum.h437 int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s );
Dcompat-1.3.h2104 #define mpi_read_string mbedtls_mpi_read_string
/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.function32 * the format that mbedtls_mpi_read_string understands and is chunk_len long.
135 mbedtls_mpi_read_string( NULL, 2, s_in ) );
137 mbedtls_mpi_read_string( &X, 2, NULL ) );
332 TEST_ASSERT( mbedtls_mpi_read_string( &X, radix_X, input_X ) == result_read );
Dhelpers.function857 /* mbedtls_mpi_read_string() currently retains leading zeros.
865 return( mbedtls_mpi_read_string( X, radix, s ) );
/third_party/ffmpeg/libavformat/
Drtmpdh.c196 ret = (mbedtls_mpi_read_string(bn, 16, buf) == 0); \
/third_party/mbedtls/programs/x509/
Dcert_write.c519 if( ( ret = mbedtls_mpi_read_string( &serial, 10, opt.serial ) ) != 0 ) in main()
/third_party/libwebsockets/lib/plat/freertos/esp32/
Desp32-helpers.c1207 mbedtls_mpi_read_string(&mpi, 10, subject); in lws_esp32_selfsigned()
/third_party/mbedtls/scripts/data_files/
Drename-1.3-2.0.txt1687 mpi_read_string mbedtls_mpi_read_string
/third_party/mbedtls/
DChangeLog37 mbedtls_mpi_read_string() was called on "-0", or when
1885 * Fix potential buffer overflow in mbedtls_mpi_read_string().