Home
last modified time | relevance | path

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

/openbmc/linux/drivers/virt/coco/efi_secret/
H A Defi_secret.c159 struct linux_efi_coco_secret_area *secret_area; in efi_secret_map_area() local
166 secret_area = memremap(efi.coco_secret, sizeof(*secret_area), MEMREMAP_WB); in efi_secret_map_area()
167 if (secret_area == NULL) { in efi_secret_map_area()
171 if (!secret_area->base_pa || secret_area->size < sizeof(struct secret_header)) { in efi_secret_map_area()
174 secret_area->base_pa, secret_area->size); in efi_secret_map_area()
179 s->secret_data = ioremap_encrypted(secret_area->base_pa, secret_area->size); in efi_secret_map_area()
186 s->secret_data_len = secret_area->size; in efi_secret_map_area()
190 memunmap(secret_area); in efi_secret_map_area()