| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
config EFI_SECRET |
| 3 |
tristate "EFI secret area securityfs support" |
| 4 |
depends on EFI && (X86_64 || ARM64) |
| 5 |
select EFI_COCO_SECRET |
| 6 |
select SECURITYFS |
| 7 |
help |
| 8 |
This is a driver for accessing the EFI secret area via securityfs. |
| 9 |
The EFI secret area is a memory area designated by the firmware for |
| 10 |
confidential computing secret injection (for example for AMD SEV |
| 11 |
guests). The driver exposes the secrets as files in |
| 12 |
<securityfs>/secrets/coco. Files can be read and deleted (deleting |
| 13 |
a file wipes the secret from memory). |
| 14 |
|
| 15 |
To compile this driver as a module, choose M here. |
| 16 |
The module will be called efi_secret. |