Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/rand/
Drand.c55 #define CRNGT_BLOCK_SIZE 16 macro
69 uint8_t last_block[CRNGT_BLOCK_SIZE];
198 if (CRYPTO_memcmp(state->last_block, entropy, CRNGT_BLOCK_SIZE) == 0) { in rand_get_seed()
203 for (size_t i = CRNGT_BLOCK_SIZE; i < sizeof(entropy); in rand_get_seed()
204 i += CRNGT_BLOCK_SIZE) { in rand_get_seed()
205 if (CRYPTO_memcmp(entropy + i - CRNGT_BLOCK_SIZE, entropy + i, in rand_get_seed()
206 CRNGT_BLOCK_SIZE) == 0) { in rand_get_seed()
212 entropy + sizeof(entropy) - CRNGT_BLOCK_SIZE, in rand_get_seed()
213 CRNGT_BLOCK_SIZE); in rand_get_seed()