Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\random32.c Create Date:2022-07-28 06:19:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Generate some initially weak seeding values to allow* to start the prandom_u32() engine.

Proto:static int __init prandom_init(void)

Type:int

Parameter:Nothing

202  prandom_state_selftest()
204  for_each_possible_cpu(i)
205  state = per_cpu(net_rand_state, i)
206  weak_seed = i + jiffies ^ The random_get_entropy() function is used by the /dev/random driver* in order to extract entropy via the relative unpredictability of* when an interrupt takes places versus a high speed, fine-grained* timing source or cycle counter()
208  prandom_seed_early(state, weak_seed, true)
209  prandom_warmup(state)
212  Return 0