]> Gentwo Git Trees - linux/.git/commit
crypto: ccp - Add support to enable CipherTextHiding on SNP_INIT_EX
authorAshish Kalra <ashish.kalra@amd.com>
Mon, 21 Jul 2025 14:13:55 +0000 (14:13 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 16 Aug 2025 09:20:23 +0000 (17:20 +0800)
commitc9760b0fca6bfa250c02e14bfe81c542f3626a72
treef9b825d47fc8649b61ddbc63d84102a81aec3334
parent45d59bd4a3e0f0475b3646e8b9936d34794e503d
crypto: ccp - Add support to enable CipherTextHiding on SNP_INIT_EX

To enable ciphertext hiding, it must be specified in the SNP_INIT_EX
command as part of SNP initialization.

Modify the sev_platform_init_args structure, which is used as input to
sev_platform_init(), to include a field that, when non-zero,
indicates that ciphertext hiding should be enabled and specifies the
maximum ASID that can be used for an SEV-SNP guest.

Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Reviewed-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/sev-dev.c
include/linux/psp-sev.h