Searched refs:mbedtls_mpi_sub_mpi (Results 1 – 12 of 12) sorted by relevance
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_arith_mpi.c | 405 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 D | bignum.c | 1410 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 D | rsa_internal.c | 263 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 D | ecp.c | 1265 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 D | ecdsa.c | 240 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( x, x, &grp->N ) ); in derive_mpi()
|
A D | ecjpake.c | 335 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &h, &v, &h ) ); /* v - x*h */ in ecjpake_zkp_write()
|
A D | rsa.c | 566 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 D | ecp_curves.c | 777 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 D | sm2-dsa.c | 112 mres = mbedtls_mpi_sub_mpi(&tmp, &k, &tmp); in sm2_mbedtls_dsa_sign()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | bignum.h | 691 int mbedtls_mpi_sub_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
|
A D | compat-1.3.h | 2088 #define mpi_sub_mpi mbedtls_mpi_sub_mpi
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | mpi_desc.c | 294 if (mbedtls_mpi_sub_mpi(c, a, b)) in sub()
|
Completed in 71 milliseconds