Searched refs:randomness (Results 1 – 4 of 4) sorted by relevance
75 u32 randomness[12]; in tegra30_fuse_add_randomness() local77 randomness[0] = tegra_sku_info.sku_id; in tegra30_fuse_add_randomness()78 randomness[1] = tegra_read_straps(); in tegra30_fuse_add_randomness()79 randomness[2] = tegra_read_chipid(); in tegra30_fuse_add_randomness()80 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra30_fuse_add_randomness()81 randomness[3] |= tegra_sku_info.soc_process_id; in tegra30_fuse_add_randomness()82 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra30_fuse_add_randomness()83 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra30_fuse_add_randomness()84 randomness[5] = tegra_fuse_read_early(FUSE_VENDOR_CODE); in tegra30_fuse_add_randomness()85 randomness[6] = tegra_fuse_read_early(FUSE_FAB_CODE); in tegra30_fuse_add_randomness()[all …]
140 u32 randomness[7]; in tegra20_fuse_add_randomness() local142 randomness[0] = tegra_sku_info.sku_id; in tegra20_fuse_add_randomness()143 randomness[1] = tegra_read_straps(); in tegra20_fuse_add_randomness()144 randomness[2] = tegra_read_chipid(); in tegra20_fuse_add_randomness()145 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra20_fuse_add_randomness()146 randomness[3] |= tegra_sku_info.soc_process_id; in tegra20_fuse_add_randomness()147 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra20_fuse_add_randomness()148 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra20_fuse_add_randomness()149 randomness[5] = tegra_fuse_read_early(FUSE_UID_LOW); in tegra20_fuse_add_randomness()150 randomness[6] = tegra_fuse_read_early(FUSE_UID_HIGH); in tegra20_fuse_add_randomness()[all …]
107 char *randomness; in sunxi_sid_probe() local133 randomness = kzalloc(sizeof(u8) * size, GFP_KERNEL); in sunxi_sid_probe()134 if (!randomness) { in sunxi_sid_probe()140 randomness[i] = sunxi_sid_read_byte(sid, i); in sunxi_sid_probe()142 add_device_randomness(randomness, size); in sunxi_sid_probe()143 kfree(randomness); in sunxi_sid_probe()
1882 neither RDRAND nor RDTSC are supported, then randomness is