Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_sub_mpi (Results 1 – 12 of 12) sorted by relevance

/optee_os-3.20.0/lib/libutee/
A Dtee_api_arith_mpi.c405 bigint_binary(dest, op1, op2, mbedtls_mpi_sub_mpi); in TEE_BigIntSub()
518 bigint_binary_mod(dest, op1, op2, n, mbedtls_mpi_sub_mpi); in TEE_BigIntSubMod()
654 MPI_CHECK(mbedtls_mpi_sub_mpi(&B, &B, &x)); in mpi_egcd()
664 MPI_CHECK(mbedtls_mpi_sub_mpi(&D, &D, &x)); in mpi_egcd()
672 MPI_CHECK(mbedtls_mpi_sub_mpi(&u, &u, gcd)); in mpi_egcd()
673 MPI_CHECK(mbedtls_mpi_sub_mpi(&A, &A, &C)); in mpi_egcd()
674 MPI_CHECK(mbedtls_mpi_sub_mpi(&B, &B, &D)); in mpi_egcd()
676 MPI_CHECK(mbedtls_mpi_sub_mpi(gcd, gcd, &u)); in mpi_egcd()
677 MPI_CHECK(mbedtls_mpi_sub_mpi(&C, &C, &A)); in mpi_egcd()
678 MPI_CHECK(mbedtls_mpi_sub_mpi(&D, &D, &B)); in mpi_egcd()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dbignum.c1410 return( mbedtls_mpi_sub_mpi( X, A, &B ) ); in mbedtls_mpi_sub_int()
1747 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &X, &X, &Y ) ); in mbedtls_mpi_div_mpi()
1779 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &X, &X, &T1 ) ); in mbedtls_mpi_div_mpi()
1853 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( R, R, B ) ); in mbedtls_mpi_mod_mpi()
2632 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &TU, &TU, &TV ) ); in mbedtls_mpi_inv_mod()
2633 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &U1, &U1, &V1 ) ); in mbedtls_mpi_inv_mod()
2634 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &U2, &U2, &V2 ) ); in mbedtls_mpi_inv_mod()
2638 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &TV, &TV, &TU ) ); in mbedtls_mpi_inv_mod()
2639 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &V1, &V1, &U1 ) ); in mbedtls_mpi_inv_mod()
2640 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &V2, &V2, &U2 ) ); in mbedtls_mpi_inv_mod()
[all …]
A Drsa_internal.c263 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DP, D ) ); in mbedtls_rsa_validate_crt()
283 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DQ, D ) ); in mbedtls_rsa_validate_crt()
A Decp.c1265 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( X, A, B ) ); in mbedtls_mpi_sub_mod()
1479 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &mQY, &grp->P, &Q->Y ) ); in ecp_safe_invert_jac()
2129 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &mm, &grp->N, m ) ); in ecp_comb_recode_scalar()
2814 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &R->Y, &grp->P, &R->Y ) ); in mbedtls_ecp_mul_shortcuts()
2987 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &XmP, &XmP, P ) ); in ecp_check_bad_points_mx()
A Decdsa.c240 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( x, x, &grp->N ) ); in derive_mpi()
A Decjpake.c335 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &h, &v, &h ) ); /* v - x*h */ in ecjpake_zkp_write()
A Drsa.c566 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &H, &ctx->P, &ctx->Q ) ); in mbedtls_rsa_gen_key()
1014 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &T, &TP, &TQ ) ); in mbedtls_rsa_private()
A Decp_curves.c777 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &grp->N, &grp->N, &Ns ) ); in ecp_use_curve448()
/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-dsa.c112 mres = mbedtls_mpi_sub_mpi(&tmp, &k, &tmp); in sm2_mbedtls_dsa_sign()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dbignum.h691 int mbedtls_mpi_sub_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
A Dcompat-1.3.h2088 #define mpi_sub_mpi mbedtls_mpi_sub_mpi
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c294 if (mbedtls_mpi_sub_mpi(c, a, b)) in sub()

Completed in 71 milliseconds