Searched refs:mbedtls_mpi_lset (Results 1 – 16 of 16) sorted by relevance
/mbedtls-3.4.0/library/ |
D | bignum.c | 269 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_lset() function 416 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_string() 426 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_string() 1114 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_mul_mpi() 1155 return( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_mul_int() 1305 if( Q != NULL ) MBEDTLS_MPI_CHK( mbedtls_mpi_lset( Q, 0 ) ); in mbedtls_mpi_div_mpi() 1315 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &Z, 0 ) ); in mbedtls_mpi_div_mpi() 1357 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &T1, 0 ) ); in mbedtls_mpi_div_mpi() 1698 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &RR, 1 ) ); in mbedtls_mpi_exp_mod() 2073 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &lower_bound, min ) ); in mbedtls_mpi_random() [all …]
|
D | ecp.c | 638 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->X , 1 ) ); in mbedtls_ecp_set_zero() 639 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Y , 1 ) ); in mbedtls_ecp_set_zero() 640 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z , 0 ) ); in mbedtls_ecp_set_zero() 679 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &P->Z, 1 ) ); in mbedtls_ecp_point_read_string() 784 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in mbedtls_ecp_point_read_binary() 807 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in mbedtls_ecp_point_read_binary() 1159 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, c ) ) 3428 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &m, 2 ) ); in mbedtls_ecp_self_test()
|
D | dhm.c | 358 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vi, 1 ) ); in dhm_update_blinding() 359 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vf, 1 ) ); in dhm_update_blinding()
|
D | ecp_curves.c | 4642 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->A, curve25519_a24 ) ); in ecp_use_curve25519() 4645 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->P, 1 ) ); in ecp_use_curve25519() 4657 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 9 ) ); in ecp_use_curve25519() 4658 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve25519() 4693 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->A, curve448_a24 ) ); in ecp_use_curve448() 4696 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->P, 1 ) ); in ecp_use_curve448() 4705 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 5 ) ); in ecp_use_curve448() 4706 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve448()
|
D | rsa_alt_helpers.c | 131 mbedtls_mpi_lset( &K, primes[attempt] ); in mbedtls_rsa_deduce_primes()
|
D | ecjpake.c | 584 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in ecjpake_ecp_add3() 774 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in mbedtls_ecjpake_derive_k()
|
D | pkparse.c | 338 mbedtls_mpi_lset( &grp->G.Y, p[0] - 2 ) != 0 || in pk_group_from_specified() 339 mbedtls_mpi_lset( &grp->G.Z, 1 ) != 0 ) in pk_group_from_specified()
|
D | bignum_core.c | 534 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 1 ) ); in mbedtls_mpi_core_get_mont_r2_unsafe()
|
D | rsa.c | 555 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->E, exponent ) ); in mbedtls_rsa_gen_key()
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_bignum.function | 447 TEST_ASSERT( mbedtls_mpi_lset( &X, input_X ) == 0); 1083 TEST_ASSERT( mbedtls_mpi_lset( &A, 1 ) == 0 ); 1088 TEST_ASSERT( mbedtls_mpi_lset( &E, 1 ) == 0 ); 1093 TEST_ASSERT( mbedtls_mpi_lset( &N, 1 ) == 0 ); 1267 TEST_ASSERT( mbedtls_mpi_lset( &X, before > 0 ? 1 : -1 ) == 0 ); 1418 TEST_ASSERT( mbedtls_mpi_lset( &result, before > 0 ? 1 : -1 ) == 0 ); 1492 /* Test mbedtls_mpi_lset() */ 1493 TEST_EQUAL( mbedtls_mpi_lset( &A, most_negative ), 0 ); 1510 TEST_EQUAL( mbedtls_mpi_lset( &A, most_positive ), 0 ); 1515 TEST_EQUAL( mbedtls_mpi_lset( &A, 0 ), 0 ); [all …]
|
D | test_suite_random.function | 188 TEST_EQUAL( 0, mbedtls_mpi_lset( &d, 123456789 ) );
|
D | test_suite_ecdsa.function | 151 TEST_EQUAL( mbedtls_mpi_lset( &zero, 0 ), 0 ); 486 TEST_EQUAL( mbedtls_mpi_lset( &ctx.Q.Z, 1 ), 0 );
|
D | test_suite_dhm.function | 238 TEST_ASSERT( mbedtls_mpi_lset( &P, 1 ) == 0 );
|
D | test_suite_ecp.function | 275 TEST_ASSERT( mbedtls_mpi_lset( &Q.Z, 1 ) == 0 ); 1077 TEST_EQUAL( 0, mbedtls_mpi_lset( &C, -c ) );
|
D | test_suite_asn1parse.function | 453 TEST_ASSERT( mbedtls_mpi_lset( &complement, 1 ) == 0 );
|
/mbedtls-3.4.0/include/mbedtls/ |
D | bignum.h | 372 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z );
|