Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Drsa_internal.c108 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, D, E ) ); in mbedtls_rsa_deduce_primes()
167 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, &K, &K ) ); in mbedtls_rsa_deduce_primes()
226 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, &K, &L ) ); in mbedtls_rsa_deduce_private_exponent()
302 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, QP, Q ) ); in mbedtls_rsa_validate_crt()
377 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, P, Q ) ); in mbedtls_rsa_validate_params()
416 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, D, E ) ); in mbedtls_rsa_validate_params()
427 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, D, E ) ); in mbedtls_rsa_validate_params()
A Ddhm.c363 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vi, &ctx->Vi, &ctx->Vi ) ); in dhm_update_blinding()
366 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vf, &ctx->Vf, &ctx->Vf ) ); in dhm_update_blinding()
383 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vf, &ctx->Vi, &R ) ); in dhm_update_blinding()
386 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vf, &ctx->Vf, &R ) ); in dhm_update_blinding()
423 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &GYb, &ctx->GY, &ctx->Vi ) ); in mbedtls_dhm_calc_secret()
436 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->K, &ctx->K, &ctx->Vf ) ); in mbedtls_dhm_calc_secret()
A Drsa.c281 if( ( ret = mbedtls_mpi_mul_mpi( &ctx->N, &ctx->P, in mbedtls_rsa_complete()
577 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &H, &ctx->P, &ctx->Q ) ); in mbedtls_rsa_gen_key()
600 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->N, &ctx->P, &ctx->Q ) ); in mbedtls_rsa_gen_key()
817 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->Vi, &ctx->Vi, &R ) ); in rsa_prepare_blinding()
953 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, &T, &ctx->Vi ) ); in mbedtls_rsa_private()
968 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &D_blind, &P1, &Q1 ) ); in mbedtls_rsa_private()
979 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &DP_blind, &P1, &R ) ); in mbedtls_rsa_private()
990 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &DQ_blind, &Q1, &R ) ); in mbedtls_rsa_private()
1015 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &TP, &T, &ctx->QP ) ); in mbedtls_rsa_private()
1021 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &TP, &T, &ctx->Q ) ); in mbedtls_rsa_private()
[all …]
A Decdsa.c361 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( s, pr, d ) ); in ecdsa_sign_restartable()
363 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &e, &e, &t ) ); in ecdsa_sign_restartable()
364 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( pk, pk, &t ) ); in ecdsa_sign_restartable()
367 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( s, s, &e ) ); in ecdsa_sign_restartable()
654 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( pu1, &e, &s_inv ) ); in ecdsa_verify_restartable()
657 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( pu2, r, &s_inv ) ); in ecdsa_verify_restartable()
A Decjpake.c334 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &h, &h, x ) ); /* x*h */ in ecjpake_zkp_write()
639 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &b, &b, N ) ); in ecjpake_mul_secret()
643 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( R, X, &b ) ); in ecjpake_mul_secret()
A Decp_curves.c1440 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &M, &M, &R ) ); in ecp_mod_koblitz()
1462 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &M, &M, &R ) ); in ecp_mod_koblitz()
A Dbignum.c1504 int mbedtls_mpi_mul_mpi( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B ) in mbedtls_mpi_mul_mpi() function
2787 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, &A, &A ) ); in mpi_miller_rabin()
3039 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &X, &A, &N ) ); in mbedtls_mpi_self_test()
A Decp.c1238 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( X, A, B ) ); in mbedtls_mpi_mul_mod()
/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-dsa.c106 mres = mbedtls_mpi_mul_mpi(&tmp, &r, (mbedtls_mpi *)key->d); in sm2_mbedtls_dsa_sign()
115 mres = mbedtls_mpi_mul_mpi(&s, &s, &tmp); in sm2_mbedtls_dsa_sign()
A Dsm2-kep.c350 mres = mbedtls_mpi_mul_mpi(&tA, &x1bar, (mbedtls_mpi *)my_eph_key->d); in crypto_acipher_sm2_kep_derive()
/optee_os-3.20.0/lib/libutee/
A Dtee_api_arith_mpi.c446 bigint_binary(tmp, op1, op2, mbedtls_mpi_mul_mpi); in TEE_BigIntMul()
524 bigint_binary_mod(dest, op1, op2, n, mbedtls_mpi_mul_mpi); in TEE_BigIntMulMod()
850 MPI_CHECK(mbedtls_mpi_mul_mpi(&mpi_t, &mpi_op1, &mpi_op2)); in TEE_BigIntComputeFMM()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dbignum.h735 int mbedtls_mpi_mul_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
A Dcompat-1.3.h2074 #define mpi_mul_mpi mbedtls_mpi_mul_mpi
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c316 if (mbedtls_mpi_mul_mpi(c, a, b)) in mul()
406 if (mbedtls_mpi_mul_mpi(&tmp, a, b)) in lcm()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog300 mbedtls_mpi_mul_mpi() and mbedtls_mpi_mul_int() was called with one of

Completed in 49 milliseconds