/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_bignum.misc.data | 1302 Base test mbedtls_mpi_exp_mod #1 1305 Base test mbedtls_mpi_exp_mod #2 (Even N) 1308 Base test mbedtls_mpi_exp_mod #2 (N = 0 (null)) 1311 Base test mbedtls_mpi_exp_mod #3 (Negative N) 1314 Base test mbedtls_mpi_exp_mod #4 (Negative base) 1317 Base test mbedtls_mpi_exp_mod #5 (Negative exponent) 1320 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent) 1323 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (null) mod 9 1326 Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (1 limb) mod 9 1329 Test mbedtls_mpi_exp_mod: 0 (null) ^ 1 mod 9 [all …]
|
H A D | test_suite_bignum.function | 989 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1022 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, NULL); 1030 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1038 res = mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR); 1078 TEST_ASSERT(mbedtls_mpi_exp_mod(&Z, &A, &E, &N, &RR) == exp_result);
|
H A D | test_suite_psa_crypto_driver_wrappers.function | 453 TEST_ASSERT(mbedtls_mpi_exp_mod(&X, &C, &D, &N, NULL) == 0);
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A 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 …]
|
H A 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);
|
H A D | test_suite_psa_crypto_driver_wrappers.function | 453 TEST_ASSERT(mbedtls_mpi_exp_mod(&X, &C, &D, &N, NULL) == 0);
|
/aosp_15_r20/external/mbedtls/programs/pkey/ |
H A 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()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/pkey/ |
H A 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()
|
/aosp_15_r20/external/mbedtls/library/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | rsa_alt_helpers.c | 127 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
|
H A 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()
|
H A 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()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A 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()
|
H A D | psa_crypto_ffdh.c | 181 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&GX, &G, &X, &P, NULL)); in mbedtls_psa_ffdh_export_public_key() 299 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &GY, &X, &P, NULL)); in mbedtls_psa_ffdh_key_agreement()
|
H A D | rsa.c | 1262 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &ctx->E, &ctx->N, &ctx->RN)); in mbedtls_rsa_public() 1336 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding() 1530 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &D_blind, &ctx->N, &ctx->RN)); in mbedtls_rsa_private() 1539 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TP, &T, &DP_blind, &ctx->P, &ctx->RP)); in mbedtls_rsa_private() 1540 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&TQ, &T, &DQ_blind, &ctx->Q, &ctx->RQ)); in mbedtls_rsa_private() 1557 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&check_result_blinded, &T, &ctx->E, in mbedtls_rsa_private()
|
H A D | rsa_alt_helpers.c | 127 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&K, &K, &T, N, in mbedtls_rsa_deduce_primes()
|
H A D | bignum.c | 1613 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A, in mbedtls_mpi_exp_mod() function 2078 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&A, &A, &R, X, &RR)); in mpi_miller_rabin() 2374 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&X, &A, &E, &N, NULL)); in mbedtls_mpi_self_test()
|
H A D | ecp.c | 1282 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(Y, Y /*y^2*/, &exp, &grp->P, NULL)); in mbedtls_ecp_sw_derive_y()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | bignum.h | 909 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | bignum.h | 909 int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/ |
H A D | ChangeLog | 254 * mbedtls_mpi_exp_mod and code that uses it, notably RSA and DHM operations, 1247 in mbedtls_mpi_exp_mod(). Reported by Tautvydas Žilys in #5467. 1848 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with 2094 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to
|
/aosp_15_r20/external/mbedtls/ |
H A 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
|