| /external/mbedtls/tests/suites/ |
| D | test_suite_bignum.misc.data | 1299 Base test mbedtls_mpi_exp_mod #1 1302 Base test mbedtls_mpi_exp_mod #2 (Even N) 1305 Base test mbedtls_mpi_exp_mod #2 (N = 0 (null)) 1308 Base test mbedtls_mpi_exp_mod #3 (Negative N) 1311 Base test mbedtls_mpi_exp_mod #4 (Negative base) 1314 Base test mbedtls_mpi_exp_mod #5 (Negative exponent) 1317 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent) 1320 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (null) mod 9 1323 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (1 limb) mod 9 1326 Test mbedtls_mpi_exp_mod: 0 (null) ^ 1 mod 9 [all …]
|
| D | test_suite_bignum.function | 963 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, NULL); 971 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 979 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1019 TEST_ASSERT(mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR) == exp_result);
|
| D | test_suite_psa_crypto_driver_wrappers.function | 453 TEST_ASSERT(mbedtls_mpi_exp_mod(&X, &C, &D, &N, NULL) == 0);
|
| /external/openthread/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_bignum.misc.data | 1296 Base test mbedtls_mpi_exp_mod #1 1299 Base test mbedtls_mpi_exp_mod #2 (Even N) 1302 Base test mbedtls_mpi_exp_mod #2 (N = 0 (null)) 1305 Base test mbedtls_mpi_exp_mod #3 (Negative N) 1308 Base test mbedtls_mpi_exp_mod #4 (Negative base) 1311 Base test mbedtls_mpi_exp_mod #5 (Negative exponent) 1314 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent) 1317 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (null) mod 9 1320 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (1 limb) mod 9 1323 Test mbedtls_mpi_exp_mod: 0 (null) ^ 1 mod 9 [all …]
|
| D | test_suite_bignum.function | 323 mbedtls_mpi_exp_mod(NULL, &X, &X, &X, NULL)); 325 mbedtls_mpi_exp_mod(&X, NULL, &X, &X, NULL)); 327 mbedtls_mpi_exp_mod(&X, &X, NULL, &X, NULL)); 329 mbedtls_mpi_exp_mod(&X, &X, &X, NULL, NULL)); 1221 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, NULL); 1229 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1237 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1277 TEST_ASSERT(mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR) == exp_result);
|
| /external/mbedtls/programs/pkey/ |
| D | mpi_demo.c | 62 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Y, &X, &E, &N, NULL)); in main() 63 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Z, &Y, &D, &N, NULL)); in main()
|
| /external/openthread/third_party/mbedtls/repo/programs/pkey/ |
| D | mpi_demo.c | 66 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Y, &X, &E, &N, NULL)); in main() 67 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Z, &Y, &D, &N, NULL)); in main()
|
| /external/mbedtls/library/ |
| D | psa_crypto_ffdh.c | 155 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&GX, &G, &X, &P, NULL)); in mbedtls_psa_ffdh_export_public_key() 273 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &GY, &X, &P, NULL)); in mbedtls_psa_ffdh_key_agreement()
|
| D | dhm.c | 209 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->GX, &ctx->G, &ctx->X, in dhm_make_common() 394 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP)); in dhm_update_blinding() 433 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
|
| D | rsa.c | 890 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &ctx->E, &ctx->N, &ctx->RN)); in mbedtls_rsa_public() 964 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding() 1158 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &D_blind, &ctx->N, &ctx->RN)); in mbedtls_rsa_private() 1167 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private() 1168 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TQ, &T, &DQ_blind, &ctx->Q, &ctx->RQ)); in mbedtls_rsa_private() 1185 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&check_result_blinded, &T, &ctx->E, in mbedtls_rsa_private()
|
| D | rsa_alt_helpers.c | 127 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
|
| D | bignum.c | 1752 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function 2415 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin() 2716 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&X, &A, &E, &N, NULL)); in mbedtls_mpi_self_test()
|
| D | ecp.c | 1292 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(Y, Y /*y^2*/, &exp, &grp->P, NULL)); in mbedtls_ecp_sw_derive_y()
|
| /external/openthread/third_party/mbedtls/repo/library/ |
| D | dhm.c | 180 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->GX, &ctx->G, &ctx->X, in dhm_make_common() 380 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP)); in dhm_update_blinding() 422 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
|
| D | rsa.c | 725 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &ctx->E, &ctx->N, &ctx->RN)); in mbedtls_rsa_public() 799 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() 1041 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&check_result_blinded, &T, &ctx->E, in mbedtls_rsa_private()
|
| D | rsa_internal.c | 127 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
|
| D | bignum.c | 2037 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function 2776 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin() 3097 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&X, &A, &E, &N, NULL)); in mbedtls_mpi_self_test()
|
| /external/mbedtls/include/mbedtls/ |
| D | bignum.h | 909 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
| /external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
| D | bignum.h | 887 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
| D | compat-1.3.h | 2061 #define mpi_exp_mod mbedtls_mpi_exp_mod
|
| /external/openthread/third_party/mbedtls/repo/scripts/data_files/ |
| D | rename-1.3-2.0.txt | 1668 mpi_exp_mod mbedtls_mpi_exp_mod
|
| /external/mbedtls/ |
| D | ChangeLog | 987 in mbedtls_mpi_exp_mod(). Reported by Tautvydas Žilys in #5467. 1588 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with 1834 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to
|
| /external/openthread/third_party/mbedtls/repo/ |
| D | ChangeLog | 603 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with 842 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to
|