Home
last modified time | relevance | path

Searched refs:mp_prime_is_prime (Results 1 – 17 of 17) sorted by relevance

/external/dropbear/libtommath/etc/
D2kprime.c42 mp_prime_is_prime(&q, 1, &y); in main()
50 mp_prime_is_prime(&p, 3, &y); in main()
56 mp_prime_is_prime(&q, 3, &y); in main()
Ddrprime.c34 mp_prime_is_prime(&a, 1, &res); in main()
39 mp_prime_is_prime(&b, 3, &res); in main()
41 mp_prime_is_prime(&a, 3, &res); in main()
Dmersenne.c60 mp_prime_is_prime(&n, 8, pp); in is_mersenne()
/external/dropbear/libtommath/
Dbn_mp_prime_random_ex.c93 if ((err = mp_prime_is_prime(a, t, &res)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
104 if ((err = mp_prime_is_prime(a, t, &res)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
Dbn_mp_prime_is_prime.c25 int mp_prime_is_prime (mp_int * a, int t, int *result) in mp_prime_is_prime() function
Dtommath.h483 int mp_prime_is_prime(mp_int *a, int t, int *result);
Dchanges.txt244 … -- mp_prime_is_prime will now return true if the input is one of the primes in the prime table
Dbn.tex1638 int mp_prime_is_prime (mp_int * a, int t, int *result)
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_test.c57 …if ((err = mp_prime_is_prime(modulus, 8, &primality)) != CRYPT_OK) { goto done; } in ecc_test()
64 …if ((err = mp_prime_is_prime(order, 8, &primality)) != CRYPT_OK) { goto done; } in ecc_test()
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_verify_key.c38 if ((err = mp_prime_is_prime(key->q, 8, &res)) != CRYPT_OK) { in dsa_verify_key()
45 if ((err = mp_prime_is_prime(key->p, 8, &res)) != CRYPT_OK) { in dsa_verify_key()
Ddsa_make_key.c85 … if ((err = mp_prime_is_prime(key->p, 8, &res)) != CRYPT_OK) { goto error; } in dsa_make_key()
/external/dropbear/libtomcrypt/src/math/
Drand_prime.c69 if ((err = mp_prime_is_prime(N, 8, &res)) != CRYPT_OK) { in rand_prime()
Dltm_desc.c390 err = mpi_to_ltc_error(mp_prime_is_prime(a, 8, b)); in isprime()
/external/dropbear/
Dgendss.c137 if (mp_prime_is_prime(key->p, 5, &result) != MP_OKAY) { in getp()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h494 #define mp_prime_is_prime(a, b, c) ltc_mp.isprime(a, c) macro
/external/dropbear/libtommath/demo/
Ddemo.c213 mp_prime_is_prime(&a, 8, &cnt); in main()
/external/dropbear/libtommath/pre_gen/
Dmpi.c5666 int mp_prime_is_prime (mp_int * a, int t, int *result) in mp_prime_is_prime() function
6158 if ((err = mp_prime_is_prime(a, t, &res)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
6169 if ((err = mp_prime_is_prime(a, t, &res)) != MP_OKAY) { goto error; } in mp_prime_random_ex()