Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_lset (Results 1 – 18 of 18) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/programs/pkey/
Decdh_curve25519.c154 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/
Decp_curves.c665 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()
Dbignum.c276 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 …]
Decp.c810 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 …]
Ddhm.c351 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()
Drsa_internal.c131 mbedtls_mpi_lset( &K, primes[attempt] ); in mbedtls_rsa_deduce_primes()
Decjpake.c551 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()
Dpkparse.c356 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()
Drsa.c553 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->E, exponent ) ); in mbedtls_rsa_gen_key()
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h335 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z );
Dcompat-1.3.h2069 #define mpi_lset mbedtls_mpi_lset
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_random.function188 TEST_EQUAL( 0, mbedtls_mpi_lset( &d, 123456789 ) );
Dtest_suite_mpi.function171 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 );
Dtest_suite_dhm.function306 TEST_ASSERT( mbedtls_mpi_lset( &P, 1 ) == 0 );
Dtest_suite_ecp.function548 TEST_ASSERT( mbedtls_mpi_lset( &Q.Z, 1 ) == 0 );
1225 TEST_EQUAL( 0, mbedtls_mpi_lset( &C, -c ) );
Dtest_suite_asn1parse.function453 TEST_ASSERT( mbedtls_mpi_lset( &complement, 1 ) == 0 );
/openthread-3.4.0/src/core/crypto/
Dcrypto_platform.cpp640 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/
Drename-1.3-2.0.txt1679 mpi_lset mbedtls_mpi_lset