Lines Matching refs:system_token
49 const void *system_token, in hash_once() argument
67 assert(system_token_size == 0 || system_token); in hash_once()
74 sha256_process_bytes(system_token, system_token_size, &hash); in hash_once()
83 const void *system_token, in hash_many() argument
92 assert(system_token_size == 0 || system_token); in hash_many()
102 system_token, system_token_size, in hash_many()
114 const void *system_token, in mangle_random_seed() argument
124 assert(system_token_size == 0 || system_token); in mangle_random_seed()
137 err = hash_many(old_seed, rng, size, system_token, system_token_size, 0, n, &new_seed); in mangle_random_seed()
142 err = hash_many(old_seed, rng, size, system_token, system_token_size, n, n, &for_kernel); in mangle_random_seed()
227 …eepool_ void *seed = NULL, *new_seed = NULL, *rng = NULL, *for_kernel = NULL, *system_token = NULL; in process_random_seed() local
248 err = acquire_system_token(&system_token, &system_token_size); in process_random_seed()
289 …err = mangle_random_seed(seed, rng, size, system_token, system_token_size, &new_seed, &for_kernel); in process_random_seed()