mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Introduce an arm-cca-guest driver that registers with
the configfs-tsm module to provide user interfaces for
retrieving an attestation token.
When a new report is requested the arm-cca-guest driver
invokes the appropriate RSI interfaces to query an
attestation token.
The steps to retrieve an attestation token are as follows:
1. Mount the configfs filesystem if not already mounted
mount -t configfs none /sys/kernel/config
2. Generate an attestation token
report=/sys/kernel/config/tsm/report/report0
mkdir $report
dd if=/dev/urandom bs=64 count=1 > $report/inblob
hexdump -C $report/outblob
rmdir $report
Signed-off-by: Sami Mujawar <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
11 lines
336 B
Makefile
11 lines
336 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Confidential computing related collateral
|
|
#
|
|
obj-$(CONFIG_TSM_REPORTS) += tsm.o
|
|
obj-$(CONFIG_EFI_SECRET) += efi_secret/
|
|
obj-$(CONFIG_ARM_PKVM_GUEST) += pkvm-guest/
|
|
obj-$(CONFIG_SEV_GUEST) += sev-guest/
|
|
obj-$(CONFIG_INTEL_TDX_GUEST) += tdx-guest/
|
|
obj-$(CONFIG_ARM_CCA_GUEST) += arm-cca-guest/
|