Lines Matching refs:seed
70 struct linux_efi_random_seed *prev_seed, *seed = NULL; in efi_random_get_seed() local
106 struct_size(seed, bits, seed_size), in efi_random_get_seed()
107 (void **)&seed); in efi_random_get_seed()
115 EFI_RANDOM_SEED_SIZE, seed->bits); in efi_random_get_seed()
123 EFI_RANDOM_SEED_SIZE, seed->bits); in efi_random_get_seed()
131 &nv_seed_size, seed->bits + offset); in efi_random_get_seed()
148 memzero_explicit(seed->bits + offset, nv_seed_size); in efi_random_get_seed()
155 memcpy(seed->bits + offset, prev_seed->bits, prev_seed_size); in efi_random_get_seed()
159 seed->size = offset; in efi_random_get_seed()
160 status = efi_bs_call(install_configuration_table, &rng_table_guid, seed); in efi_random_get_seed()
172 memzero_explicit(seed, struct_size(seed, bits, seed_size)); in efi_random_get_seed()
173 efi_bs_call(free_pool, seed); in efi_random_get_seed()