Searched refs:randomness (Results 1 – 5 of 5) sorted by relevance
167 u32 randomness[7]; in tegra20_fuse_add_randomness() local169 randomness[0] = tegra_sku_info.sku_id; in tegra20_fuse_add_randomness()170 randomness[1] = tegra_read_straps(); in tegra20_fuse_add_randomness()171 randomness[2] = tegra_read_chipid(); in tegra20_fuse_add_randomness()172 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra20_fuse_add_randomness()173 randomness[3] |= tegra_sku_info.soc_process_id; in tegra20_fuse_add_randomness()174 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra20_fuse_add_randomness()175 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra20_fuse_add_randomness()176 randomness[5] = tegra_fuse_read_early(FUSE_UID_LOW); in tegra20_fuse_add_randomness()177 randomness[6] = tegra_fuse_read_early(FUSE_UID_HIGH); in tegra20_fuse_add_randomness()[all …]
68 u32 randomness[12]; in tegra30_fuse_add_randomness() local70 randomness[0] = tegra_sku_info.sku_id; in tegra30_fuse_add_randomness()71 randomness[1] = tegra_read_straps(); in tegra30_fuse_add_randomness()72 randomness[2] = tegra_read_chipid(); in tegra30_fuse_add_randomness()73 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra30_fuse_add_randomness()74 randomness[3] |= tegra_sku_info.soc_process_id; in tegra30_fuse_add_randomness()75 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra30_fuse_add_randomness()76 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra30_fuse_add_randomness()77 randomness[5] = tegra_fuse_read_early(FUSE_VENDOR_CODE); in tegra30_fuse_add_randomness()78 randomness[6] = tegra_fuse_read_early(FUSE_FAB_CODE); in tegra30_fuse_add_randomness()[all …]
131 char *randomness; in sunxi_sid_probe() local171 randomness = kzalloc(size, GFP_KERNEL); in sunxi_sid_probe()172 if (!randomness) in sunxi_sid_probe()175 nvmem_cfg->reg_read(sid, 0, randomness, size); in sunxi_sid_probe()176 add_device_randomness(randomness, size); in sunxi_sid_probe()177 kfree(randomness); in sunxi_sid_probe()
203 randomness into Linux entropy pool (/dev/urandom and /dev/random)
36 device. This allows the kernel to collect randomness from the TPM at