Searched refs:mp_prime_is_prime (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | rand_prime.c | 63 if ((err = mp_prime_is_prime(N, LTC_MILLER_RABIN_REPS, &res)) != CRYPT_OK) { in rand_prime()
|
A D | ltm_desc.c | 455 err = mpi_to_ltc_error(mp_prime_is_prime(a, b, &res)); in isprime()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_verify_key.c | 107 if ((err = mp_prime_is_prime(key->q, LTC_MILLER_RABIN_REPS, &res)) != CRYPT_OK) { in dsa_int_validate_primes() 115 if ((err = mp_prime_is_prime(key->p, LTC_MILLER_RABIN_REPS, &res)) != CRYPT_OK) { in dsa_int_validate_primes()
|
A D | dsa_generate_pqg.c | 131 if ((err = mp_prime_is_prime(q, mr_tests_q, &res)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params() 158 if ((err = mp_prime_is_prime(p, mr_tests_p, &res)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 222 #define mp_prime_is_prime(a, b, c) ltc_mp.isprime(a, b, c) macro
|
Completed in 7 milliseconds