Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/prng/
H A Dprng_random.c51 #define SEED_SIZE SHA512_DIGEST_LENGTH macro
56 #define BOOTLOADER_ENTROPY_REQUEST_SIZE 4*SEED_SIZE
59 static uint8_t kprngseed[SEED_SIZE];
60 static uint8_t earlyseed[SEED_SIZE];
61 static uint8_t entropyseed[SEED_SIZE];
62 static uint8_t kprng_reseed[SEED_SIZE];
141 uint8_t bootloader_rand[4 * SEED_SIZE]; in bootseed_init()
156 memcpy(kprngseed, bootloader_rand, SEED_SIZE); in bootseed_init()
157 cc_clear(SEED_SIZE, bootloader_rand); in bootseed_init()
159 uint8_t native_rand[3 * SEED_SIZE]; in bootseed_init()
[all …]