Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_exp_mod (Results 1 – 10 of 10) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.data1222 Base test mbedtls_mpi_exp_mod #1
1223 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"29":10:"24":0
1225 Base test mbedtls_mpi_exp_mod #2 (Even N)
1226 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"30":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1228 Base test mbedtls_mpi_exp_mod #2 (N = 0 (null))
1229 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1231 Base test mbedtls_mpi_exp_mod #3 (Negative N)
1232 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"-29":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1234 Base test mbedtls_mpi_exp_mod #4 (Negative base)
1235 mbedtls_mpi_exp_mod:10:"-23":10:"13":10:"29":10:"5":0
[all …]
Dtest_suite_mpi.function990 void mbedtls_mpi_exp_mod( int radix_A, char * input_A, int radix_E,
1004 res = mbedtls_mpi_exp_mod( &Z, &A, &E, &N, NULL );
1013 res = mbedtls_mpi_exp_mod( &Z, &A, &E, &N, &RR );
1022 res = mbedtls_mpi_exp_mod( &Z, &A, &E, &N, &RR );
1062 TEST_ASSERT( mbedtls_mpi_exp_mod( &Z, &A, &E, &N, &RR ) == exp_result );
/third_party/mbedtls/programs/pkey/
Dmpi_demo.c83 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Y, &X, &E, &N, NULL ) ); in main()
84 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Z, &Y, &D, &N, NULL ) ); in main()
/third_party/mbedtls/library/
Ddhm.c234 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->GX, &ctx->G, &ctx->X, in dhm_make_common()
425 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP ) ); in dhm_update_blinding()
464 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
Drsa.c767 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &T, &T, &ctx->E, &ctx->N, &ctx->RN ) ); in mbedtls_rsa_public()
840 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN ) ); in rsa_prepare_blinding()
1014 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &T, &T, D, &ctx->N, &ctx->RN ) ); in mbedtls_rsa_private()
1023 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &TP, &T, DP, &ctx->P, &ctx->RP ) ); in mbedtls_rsa_private()
1024 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &TQ, &T, DQ, &ctx->Q, &ctx->RQ ) ); in mbedtls_rsa_private()
1048 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &C, &T, &ctx->E, in mbedtls_rsa_private()
Drsa_alt_helpers.c140 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &K, &K, &T, N, in mbedtls_rsa_deduce_primes()
Dbignum.c2007 int mbedtls_mpi_exp_mod( mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function
2696 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &A, &A, &R, X, &RR ) ); in mpi_miller_rabin()
2990 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &X, &A, &E, &N, NULL ) ); in mbedtls_mpi_self_test()
/third_party/mbedtls/include/mbedtls/
Dbignum.h854 int mbedtls_mpi_exp_mod( mbedtls_mpi *X, const mbedtls_mpi *A,
/third_party/ffmpeg/libavformat/
Drtmpdh.c215 #define bn_modexp(bn, y, q, p) mbedtls_mpi_exp_mod(bn, y, q, p, 0)
/third_party/mbedtls/
DChangeLog576 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with
822 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to