/openthread-3.4.0/third_party/mbedtls/repo/programs/pkey/ |
D | ecdh_curve25519.c | 154 ret = mbedtls_mpi_lset( &ctx_srv.Qp.Z, 1 ); in main() 185 ret = mbedtls_mpi_lset( &ctx_cli.Qp.Z, 1 ); in main()
|
/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | ecp_curves.c | 665 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->A, curve25519_a24 ) ); in ecp_use_curve25519() 668 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->P, 1 ) ); in ecp_use_curve25519() 680 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 9 ) ); in ecp_use_curve25519() 681 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve25519() 716 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->A, curve448_a24 ) ); in ecp_use_curve448() 719 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->P, 1 ) ); in ecp_use_curve448() 728 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.X, 5 ) ); in ecp_use_curve448() 729 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &grp->G.Z, 1 ) ); in ecp_use_curve448()
|
D | bignum.c | 276 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_lset() function 456 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_string() 466 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_read_string() 997 return mbedtls_mpi_lset( X, 0 ); in mbedtls_mpi_shift_r() 1485 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_mul_mpi() 1523 return( mbedtls_mpi_lset( X, 0 ) ); in mbedtls_mpi_mul_int() 1671 if( Q != NULL ) MBEDTLS_MPI_CHK( mbedtls_mpi_lset( Q, 0 ) ); in mbedtls_mpi_div_mpi() 1681 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &Z, 0 ) ); in mbedtls_mpi_div_mpi() 1723 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &T1, 0 ) ); in mbedtls_mpi_div_mpi() 2079 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &RR, 1 ) ); in mbedtls_mpi_exp_mod() [all …]
|
D | ecp.c | 810 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->X , 1 ) ); in mbedtls_ecp_set_zero() 811 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Y , 1 ) ); in mbedtls_ecp_set_zero() 812 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z , 0 ) ); in mbedtls_ecp_set_zero() 860 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &P->Z, 1 ) ); in mbedtls_ecp_point_read_string() 972 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in mbedtls_ecp_point_read_binary() 995 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in mbedtls_ecp_point_read_binary() 1351 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Z, 1 ) ); in ecp_normalize_jac() 2058 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &R->Z, 1 ) ); in ecp_mul_comb_core() 2447 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &P->Z, 1 ) ); in ecp_normalize_mxz() 2591 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &R->X, 1 ) ); in ecp_mul_mxz() [all …]
|
D | dhm.c | 351 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vi, 1 ) ); in dhm_update_blinding() 352 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->Vf, 1 ) ); in dhm_update_blinding()
|
D | rsa_internal.c | 131 mbedtls_mpi_lset( &K, primes[attempt] ); in mbedtls_rsa_deduce_primes()
|
D | ecjpake.c | 551 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in ecjpake_ecp_add3() 762 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in mbedtls_ecjpake_derive_secret()
|
D | pkparse.c | 356 mbedtls_mpi_lset( &grp->G.Y, p[0] - 2 ) != 0 || in pk_group_from_specified() 357 mbedtls_mpi_lset( &grp->G.Z, 1 ) != 0 ) in pk_group_from_specified()
|
D | rsa.c | 553 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->E, exponent ) ); in mbedtls_rsa_gen_key()
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | bignum.h | 335 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z );
|
D | compat-1.3.h | 2069 #define mpi_lset mbedtls_mpi_lset
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_random.function | 188 TEST_EQUAL( 0, mbedtls_mpi_lset( &d, 123456789 ) );
|
D | test_suite_mpi.function | 171 mbedtls_mpi_lset( NULL, 42 ) ); 653 TEST_ASSERT( mbedtls_mpi_lset( &X, input_X ) == 0); 1260 TEST_ASSERT( mbedtls_mpi_lset( &A, 1 ) == 0 ); 1265 TEST_ASSERT( mbedtls_mpi_lset( &E, 1 ) == 0 ); 1270 TEST_ASSERT( mbedtls_mpi_lset( &N, 1 ) == 0 ); 1445 TEST_ASSERT( mbedtls_mpi_lset( &X, before > 0 ? 1 : -1 ) == 0 ); 1596 TEST_ASSERT( mbedtls_mpi_lset( &result, before > 0 ? 1 : -1 ) == 0 );
|
D | test_suite_dhm.function | 306 TEST_ASSERT( mbedtls_mpi_lset( &P, 1 ) == 0 );
|
D | test_suite_ecp.function | 548 TEST_ASSERT( mbedtls_mpi_lset( &Q.Z, 1 ) == 0 ); 1225 TEST_EQUAL( 0, mbedtls_mpi_lset( &C, -c ) );
|
D | test_suite_asn1parse.function | 453 TEST_ASSERT( mbedtls_mpi_lset( &complement, 1 ) == 0 );
|
/openthread-3.4.0/src/core/crypto/ |
D | crypto_platform.cpp | 640 ret = mbedtls_mpi_lset(&ecdsa.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Z), 1); in otPlatCryptoEcdsaVerify()
|
/openthread-3.4.0/third_party/mbedtls/repo/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1679 mpi_lset mbedtls_mpi_lset
|