Home
last modified time | relevance | path

Searched refs:rng_read (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c598 static int rng_read(void *ignored __unused, unsigned char *buf, size_t blen) in rng_read() function
607 int res = mbedtls_mpi_is_prime(a, rng_read, NULL); in isprime()
622 if (mbedtls_mpi_fill_random(a, size, rng_read, NULL)) in mpi_rand()
/optee_os-3.20.0/lib/libutee/
A Dtee_api_arith_mpi.c755 static int rng_read(void *ignored __unused, unsigned char *buf, size_t blen) in rng_read() function
770 rc = mbedtls_mpi_is_prime(&mpi_op, rng_read, NULL); in TEE_BigIntIsProbablePrime()

Completed in 5 milliseconds