OSDN Git Service

crypto: ccp - Add GET_ID SEV command
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Fri, 25 May 2018 20:23:30 +0000 (15:23 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 May 2018 16:13:56 +0000 (00:13 +0800)
commit0b3a830bb407dce79468a26f382260131b50b3c5
treea43a58577ae49858080dbdf66512fcb97af642fe
parentedd303ff0e9ebc39118e633916278b5ca8558c30
crypto: ccp - Add GET_ID SEV command

The GET_ID command, added as of SEV API v0.16, allows the SEV firmware
to be queried about a unique CPU ID. This unique ID can then be used
to obtain the public certificate containing the Chip Endorsement Key
(CEK) public key signed by the AMD SEV Signing Key (ASK).

For more information please refer to "Section 5.12 GET_ID" of
https://support.amd.com/TechDocs/55766_SEV-KM%20API_Specification.pdf

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/psp-dev.c
include/linux/psp-sev.h
include/uapi/linux/psp-sev.h