Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/prng/
H A Dprng_random.c166 uint8_t combined_input[2 * SEED_SIZE]; in bootseed_init() local
169 memcpy(combined_input, &bootloader_rand[1 * SEED_SIZE], SEED_SIZE); in bootseed_init()
170 memcpy(&combined_input[SEED_SIZE], &native_rand[0 * SEED_SIZE], SEED_SIZE); in bootseed_init()
171 cchmac(di, SEED_SIZE, zero_salt, 2 * SEED_SIZE, combined_input, earlyseed); in bootseed_init()
174 memcpy(combined_input, &bootloader_rand[2 * SEED_SIZE], SEED_SIZE); in bootseed_init()
175 memcpy(&combined_input[SEED_SIZE], &native_rand[1 * SEED_SIZE], SEED_SIZE); in bootseed_init()
176 cchmac(di, SEED_SIZE, zero_salt, 2 * SEED_SIZE, combined_input, entropyseed); in bootseed_init()
179 memcpy(combined_input, &bootloader_rand[3 * SEED_SIZE], SEED_SIZE); in bootseed_init()
180 memcpy(&combined_input[SEED_SIZE], &native_rand[2 * SEED_SIZE], SEED_SIZE); in bootseed_init()
181 cchmac(di, SEED_SIZE, zero_salt, 2 * SEED_SIZE, combined_input, kprng_reseed); in bootseed_init()
[all …]