Home
last modified time | relevance | path

Searched refs:rand_prime (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dsub.mk3 srcs-y += rand_prime.c
A Drand_prime.c14 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 Drsa_make_key.c33 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 Dtomcrypt_pk.h20 int rand_prime(void *N, long len, prng_state *prng, int wprng);

Completed in 6 milliseconds