Searched refs:mbedtls_mpi_lset (Results 1 – 13 of 13) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/programs/pkey/ |
D | ecdh_curve25519.c | 150 ret = mbedtls_mpi_lset( &ctx_srv.Qp.Z, 1 ); in main() 181 ret = mbedtls_mpi_lset( &ctx_cli.Qp.Z, 1 ); in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | bignum.c | 290 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_lset() function 446 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_string() 462 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_string() 677 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_binary() 769 return mbedtls_mpi_lset( X, 0 ); in mbedtls_mpi_shift_r() 1188 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_mul_mpi() 1331 if( Q != NULL ) MBEDTLS_MPI_CHK( mbedtls_mpi_lset( Q, 0 ) ); in mbedtls_mpi_div_mpi() 1341 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &Z, 0 ) ); in mbedtls_mpi_div_mpi() 1380 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &T1, 0 ) ); in mbedtls_mpi_div_mpi() 1385 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &T2, 0 ) ); in mbedtls_mpi_div_mpi() [all …]
|
D | ecp.c | 390 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->X , 1 ) ); in mbedtls_ecp_set_zero() 391 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Y , 1 ) ); in mbedtls_ecp_set_zero() 392 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z , 0 ) ); in mbedtls_ecp_set_zero() 432 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &P->Z, 1 ) ); in mbedtls_ecp_point_read_string() 524 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in mbedtls_ecp_point_read_binary() 769 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in ecp_normalize_jac() 1288 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &R->Z, 1 ) ); in ecp_mul_comb_core() 1446 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &P->Z, 1 ) ); in ecp_normalize_mxz() 1568 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &R->X, 1 ) ); in ecp_mul_mxz() 1569 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &R->Z, 0 ) ); in ecp_mul_mxz() [all …]
|
D | dhm.c | 107 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &L, 2 ) ); in dhm_check_range() 298 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vi, 1 ) ); in dhm_update_blinding() 299 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vf, 1 ) ); in dhm_update_blinding()
|
D | ecp_curves.c | 666 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->P, 1 ) ); in ecp_use_curve25519() 673 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 9 ) ); in ecp_use_curve25519() 674 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve25519()
|
D | ecjpake.c | 538 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in ecjpake_ecp_add3() 736 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in mbedtls_ecjpake_derive_secret()
|
D | pkparse.c | 342 mbedtls_mpi_lset( &grp->G.Y, p[0] - 2 ) != 0 || in pk_group_from_specified() 343 mbedtls_mpi_lset( &grp->G.Z, 1 ) != 0 ) in pk_group_from_specified()
|
D | rsa.c | 115 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->E, exponent ) ); in mbedtls_rsa_gen_key()
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_mpi.function | 264 TEST_ASSERT( mbedtls_mpi_lset( &X, input_X ) == 0); 310 TEST_ASSERT( mbedtls_mpi_lset( &X, input_X ) == 0 ); 311 TEST_ASSERT( mbedtls_mpi_lset( &Y, input_A ) == 0 ); 312 TEST_ASSERT( mbedtls_mpi_lset( &A, input_A ) == 0 ); 330 TEST_ASSERT( mbedtls_mpi_lset( &X, input_X ) == 0 ); 417 TEST_ASSERT( mbedtls_mpi_lset( &X, input_X ) == 0 ); 418 TEST_ASSERT( mbedtls_mpi_lset( &Y, input_Y ) == 0 ); 419 TEST_ASSERT( mbedtls_mpi_lset( &A, input_X ) == 0 );
|
D | test_suite_ecp.function | 43 TEST_ASSERT( mbedtls_mpi_lset( &P.Z, 1 ) == 0 );
|
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/ |
D | bignum.h | 256 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z );
|
D | compat-1.3.h | 2134 #define mpi_lset mbedtls_mpi_lset
|
/net-tools-3.4.0/mbedtls-2.4.0/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1679 mpi_lset mbedtls_mpi_lset
|