Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_mul_mpi (Results 1 – 13 of 13) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_bignum.misc.data958 Base test mbedtls_mpi_mul_mpi #1
961 Base test mbedtls_mpi_mul_mpi #2
964 Base test mbedtls_mpi_mul_mpi #3
967 Base test mbedtls_mpi_mul_mpi #4
970 Test mbedtls_mpi_mul_mpi: 0 (null) * 0 (null)
973 Test mbedtls_mpi_mul_mpi: 0 (null) * 0 (1 limb)
976 Test mbedtls_mpi_mul_mpi: 0 (null) * 1
979 Test mbedtls_mpi_mul_mpi: 0 (null) * -1
982 Test mbedtls_mpi_mul_mpi: 0 (1 limb) * -1
985 Test mbedtls_mpi_mul_mpi: 0 (1 limb) * 0 (null)
[all …]
Dtest_suite_bignum.function812 TEST_ASSERT(mbedtls_mpi_mul_mpi(&Z, &X, &Y) == 0);
/third_party/mbedtls/library/
Drsa_alt_helpers.c107 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&T, D, E)); in mbedtls_rsa_deduce_primes()
165 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, &K, &K)); in mbedtls_rsa_deduce_primes()
223 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, &K, &L)); in mbedtls_rsa_deduce_private_exponent()
314 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, P, Q)); in mbedtls_rsa_validate_params()
348 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, D, E)); in mbedtls_rsa_validate_params()
358 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, D, E)); in mbedtls_rsa_validate_params()
435 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, QP, Q)); in mbedtls_rsa_validate_crt()
Ddhm.c380 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vi, &ctx->Vi, &ctx->Vi)); in dhm_update_blinding()
383 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vf, &ctx->Vf, &ctx->Vf)); in dhm_update_blinding()
400 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vf, &ctx->Vi, &R)); in dhm_update_blinding()
403 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vf, &ctx->Vf, &R)); in dhm_update_blinding()
441 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&GYb, &ctx->GY, &ctx->Vi)); in mbedtls_dhm_calc_secret()
449 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->K, &ctx->K, &ctx->Vf)); in mbedtls_dhm_calc_secret()
Drsa.c272 if ((ret = mbedtls_mpi_mul_mpi(&ctx->N, &ctx->P, in mbedtls_rsa_complete()
595 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&H, &ctx->P, &ctx->Q)); in mbedtls_rsa_gen_key()
619 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->N, &ctx->P, &ctx->Q)); in mbedtls_rsa_gen_key()
788 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vi, &ctx->Vi, &ctx->Vi)); in rsa_prepare_blinding()
790 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vf, &ctx->Vf, &ctx->Vf)); in rsa_prepare_blinding()
807 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vi, &ctx->Vf, &R)); in rsa_prepare_blinding()
822 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vi, &ctx->Vi, &R)); in rsa_prepare_blinding()
980 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&T, &T, &ctx->Vi)); in mbedtls_rsa_private()
996 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&D_blind, &P1, &Q1)); in mbedtls_rsa_private()
997 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&D_blind, &D_blind, &R)); in mbedtls_rsa_private()
[all …]
Decdsa.c351 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, pr, d)); in mbedtls_ecdsa_sign_restartable()
353 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&e, &e, &t)); in mbedtls_ecdsa_sign_restartable()
354 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(pk, pk, &t)); in mbedtls_ecdsa_sign_restartable()
357 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, s, &e)); in mbedtls_ecdsa_sign_restartable()
557 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(pu1, &e, &s_inv)); in mbedtls_ecdsa_verify_restartable()
560 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(pu2, r, &s_inv)); in mbedtls_ecdsa_verify_restartable()
Decjpake.c386 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&h, &h, x)); /* x*h */ in ecjpake_zkp_write()
678 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&b, &b, N)); in ecjpake_mul_secret()
682 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(R, X, &b)); in ecjpake_mul_secret()
Dbignum.c1131 int mbedtls_mpi_mul_mpi(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B) in mbedtls_mpi_mul_mpi() function
2329 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&T, &A, &A)); in mpi_miller_rabin()
2562 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&X, &A, &N)); in mbedtls_mpi_self_test()
Decp_curves.c5638 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&M, &M, &R)); in ecp_mod_koblitz()
5664 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&M, &M, &R)); in ecp_mod_koblitz()
Decp.c1062 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(X, A, B)); in mbedtls_mpi_mul_mod()
/third_party/mbedtls/programs/pkey/
Dmpi_demo.c52 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&N, &P, &Q)); in main()
65 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&H, &P, &Q)); in main()
/third_party/mbedtls/include/mbedtls/
Dbignum.h769 int mbedtls_mpi_mul_mpi(mbedtls_mpi *X, const mbedtls_mpi *A,
/third_party/mbedtls/
DChangeLog1223 mbedtls_mpi_mul_mpi() and mbedtls_mpi_mul_int() was called with one of