Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/soc/tegra/fuse/
Dfuse-tegra30.c79 u32 randomness[12]; in tegra30_fuse_add_randomness() local
81 randomness[0] = tegra_sku_info.sku_id; in tegra30_fuse_add_randomness()
82 randomness[1] = tegra_read_straps(); in tegra30_fuse_add_randomness()
83 randomness[2] = tegra_read_chipid(); in tegra30_fuse_add_randomness()
84 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra30_fuse_add_randomness()
85 randomness[3] |= tegra_sku_info.soc_process_id; in tegra30_fuse_add_randomness()
86 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra30_fuse_add_randomness()
87 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra30_fuse_add_randomness()
88 randomness[5] = tegra_fuse_read_early(FUSE_VENDOR_CODE); in tegra30_fuse_add_randomness()
89 randomness[6] = tegra_fuse_read_early(FUSE_FAB_CODE); in tegra30_fuse_add_randomness()
[all …]
Dfuse-tegra20.c149 u32 randomness[7]; in tegra20_fuse_add_randomness() local
151 randomness[0] = tegra_sku_info.sku_id; in tegra20_fuse_add_randomness()
152 randomness[1] = tegra_read_straps(); in tegra20_fuse_add_randomness()
153 randomness[2] = tegra_read_chipid(); in tegra20_fuse_add_randomness()
154 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra20_fuse_add_randomness()
155 randomness[3] |= tegra_sku_info.soc_process_id; in tegra20_fuse_add_randomness()
156 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra20_fuse_add_randomness()
157 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra20_fuse_add_randomness()
158 randomness[5] = tegra_fuse_read_early(FUSE_UID_LOW); in tegra20_fuse_add_randomness()
159 randomness[6] = tegra_fuse_read_early(FUSE_UID_HIGH); in tegra20_fuse_add_randomness()
[all …]
/Linux-v4.19/drivers/nvmem/
Dsunxi_sid.c158 char *randomness; in sunxi_sid_probe() local
188 randomness = kzalloc(size, GFP_KERNEL); in sunxi_sid_probe()
189 if (!randomness) { in sunxi_sid_probe()
195 econfig.reg_read(sid, i, &randomness[i], 1); in sunxi_sid_probe()
197 add_device_randomness(randomness, size); in sunxi_sid_probe()
198 kfree(randomness); in sunxi_sid_probe()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
DKconfig189 randomness into Linux entropy pool (/dev/urandom and /dev/random)
/Linux-v4.19/drivers/char/tpm/
DKconfig35 device. This allows the kernel to collect randomness from the TPM at
/Linux-v4.19/lib/
DKconfig.debug1263 bool "Warn for all uses of unseeded randomness"
1282 warning for the first use of unseeded randomness.
1285 unseeded randomness. This will be of use primarily for