Home
last modified time | relevance | path

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 Drand_prime.c63 if ((err = mp_prime_is_prime(N, LTC_MILLER_RABIN_REPS, &res)) != CRYPT_OK) { in rand_prime()
A Dltm_desc.c455 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 Ddsa_verify_key.c107 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 Ddsa_generate_pqg.c131 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 Dtomcrypt_private.h222 #define mp_prime_is_prime(a, b, c) ltc_mp.isprime(a, b, c) macro

Completed in 7 milliseconds