函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\random32.c Create Date:2022-07-27 07:16:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Generate some initially weak seeding values to allow* to start the prandom_u32() engine.

函数原型:static int __init prandom_init(void)

返回类型:int

参数:

202  prandom_state_selftest()
204  遍历可用CPU(i)
205  state等于per_cpu(net_rand_state, i)
206  weak_seed等于ijiffies按位异或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  返回:0