Searched refs:rng_read (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 597 static int rng_read(void *ignored __unused, unsigned char *buf, size_t blen) in rng_read() function 606 int res = mbedtls_mpi_is_prime_ext(a, b, rng_read, NULL); in isprime() 621 if (mbedtls_mpi_fill_random(a, size, rng_read, NULL)) in mpi_rand()
|
| /optee_os/lib/libutee/ |
| H A D | tee_api_arith_mpi.c | 882 static int rng_read(void *ignored __unused, unsigned char *buf, size_t blen) in rng_read() function 898 rng_read, NULL); in TEE_BigIntIsProbablePrime()
|