Searched refs:rand_prime (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | sub.mk | 3 srcs-y += rand_prime.c
|
A D | rand_prime.c | 14 int rand_prime(void *N, long len, prng_state *prng, int wprng) in rand_prime() function
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 33 if ((err = rand_prime( p, size/2, prng, wprng)) != CRYPT_OK) { goto cleanup; } in s_rsa_make_key() 40 if ((err = rand_prime( q, size/2, prng, wprng)) != CRYPT_OK) { goto cleanup; } in s_rsa_make_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_pk.h | 20 int rand_prime(void *N, long len, prng_state *prng, int wprng);
|
Completed in 6 milliseconds