Home
last modified time | relevance | path

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

/xnu-12377.41.6/osfmk/prng/
H A Dprng_random.c51 #define SEED_SIZE (SHA256_BLOCK_LENGTH) macro
54 static uint8_t earlyseed[SEED_SIZE];
55 static uint8_t prngseed[SEED_SIZE];
97 ccdigest_update(di, ectx_left, SEED_SIZE, src); in wide_hash()
107 ccdigest_final(di, ectx_right, &dst[SEED_SIZE / 2]); in wide_hash()
116 uint8_t seed[SEED_SIZE]; in bootseed_init_bootloader()
119 n = PE_get_random_seed(seed, SEED_SIZE); in bootseed_init_bootloader()
120 if (n < SEED_SIZE) { in bootseed_init_bootloader()
125 panic("Expected %u seed bytes from bootloader, but got %u.", SEED_SIZE, n); in bootseed_init_bootloader()
129 cc_clear(SEED_SIZE, seed); in bootseed_init_bootloader()
[all …]