Searched refs:radix (Results 1 – 6 of 6) sorted by relevance
/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | bignum.c | 407 static int mpi_get_digit( mbedtls_mpi_uint *d, int radix, char c ) in mpi_get_digit() argument 415 if( *d >= (mbedtls_mpi_uint) radix ) in mpi_get_digit() 424 int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s ) in mbedtls_mpi_read_string() argument 431 if( radix < 2 || radix > 16 ) in mbedtls_mpi_read_string() 438 if( radix == 16 ) in mbedtls_mpi_read_string() 456 MBEDTLS_MPI_CHK( mpi_get_digit( &d, radix, s[i - 1] ) ); in mbedtls_mpi_read_string() 472 MBEDTLS_MPI_CHK( mpi_get_digit( &d, radix, s[i] ) ); in mbedtls_mpi_read_string() 473 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_int( &T, X, radix ) ); in mbedtls_mpi_read_string() 496 static int mpi_write_hlp( mbedtls_mpi *X, int radix, char **p ) in mpi_write_hlp() argument 501 if( radix < 2 || radix > 16 ) in mpi_write_hlp() [all …]
|
D | ecp.c | 425 int mbedtls_ecp_point_read_string( mbedtls_ecp_point *P, int radix, in mbedtls_ecp_point_read_string() argument 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()
|
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/ |
D | bignum.h | 320 int mbedtls_mpi_read_string( mbedtls_mpi *X, int radix, const char *s ); 338 int mbedtls_mpi_write_string( const mbedtls_mpi *X, int radix, 353 int mbedtls_mpi_read_file( mbedtls_mpi *X, int radix, FILE *fin ); 367 int mbedtls_mpi_write_file( const char *p, const mbedtls_mpi *X, int radix, FILE *fout );
|
D | ecp.h | 374 int mbedtls_ecp_point_read_string( mbedtls_ecp_point *P, int radix,
|
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_debug.function | 169 void mbedtls_debug_print_mpi( int radix, char *value, char *file, int line, 185 TEST_ASSERT( mbedtls_mpi_read_string( &val, radix, value ) == 0 );
|
D | test_suite_mpi.data | 25 Test mpi_read_write_string #2 (Illegal input radix) 34 Test mpi_read_write_string #5 (Illegal output radix) 37 Test mpi_read_write_string #6 (Output radix of 15)
|