Home
last modified time | relevance | path

Searched refs:MBEDTLS_ENTROPY_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dentropy.c55 MBEDTLS_ENTROPY_BLOCK_SIZE, in mbedtls_entropy_init()
128 unsigned char tmp[MBEDTLS_ENTROPY_BLOCK_SIZE]; in entropy_update()
133 if (use_len > MBEDTLS_ENTROPY_BLOCK_SIZE) { in entropy_update()
139 use_len = MBEDTLS_ENTROPY_BLOCK_SIZE; in entropy_update()
275 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func()
277 if (len > MBEDTLS_ENTROPY_BLOCK_SIZE) { in mbedtls_entropy_func()
322 } while (!thresholds_reached || strong_size < MBEDTLS_ENTROPY_BLOCK_SIZE); in mbedtls_entropy_func()
324 memset(buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE); in mbedtls_entropy_func()
350 MBEDTLS_ENTROPY_BLOCK_SIZE)) != 0) { in mbedtls_entropy_func()
358 buf, MBEDTLS_ENTROPY_BLOCK_SIZE, buf)) != 0) { in mbedtls_entropy_func()
[all …]
H A Dentropy_poll.c210 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_nv_seed_poll()
211 size_t use_len = MBEDTLS_ENTROPY_BLOCK_SIZE; in mbedtls_nv_seed_poll()
214 memset(buf, 0, MBEDTLS_ENTROPY_BLOCK_SIZE); in mbedtls_nv_seed_poll()
216 if (mbedtls_nv_seed_read(buf, MBEDTLS_ENTROPY_BLOCK_SIZE) < 0) { in mbedtls_nv_seed_poll()
H A Dpsa_crypto.c7986 MBEDTLS_ENTROPY_BLOCK_SIZE, in mbedtls_psa_random_init()
8051 (seed_size < MBEDTLS_ENTROPY_BLOCK_SIZE)) || in mbedtls_psa_inject_entropy()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dentropy.h24 #define MBEDTLS_ENTROPY_BLOCK_SIZE 64 /**< Block size of entropy accumulator (SHA-512) */ macro
29 #define MBEDTLS_ENTROPY_BLOCK_SIZE 32 /**< Block size of entropy accumulator (SHA-256) */ macro
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog2928 MBEDTLS_ENTROPY_BLOCK_SIZE bytes or more from strong sources. In the