diff options
author | Ashish Kalra <ashish.kalra@amd.com> | 2019-10-17 22:35:11 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-26 02:09:58 +1100 |
commit | 1d55fdc85799372ab3b0d2a6928e73439f8149aa (patch) | |
tree | 157ea4d1e9678945646577317ca414b58781a3d6 /net/mac80211/aes_gcm.h | |
parent | 48fe583fe54177bfb80f348e2a5cc34c3f710095 (diff) | |
download | linux-1d55fdc85799372ab3b0d2a6928e73439f8149aa.tar.bz2 |
crypto: ccp - Retry SEV INIT command in case of integrity check failure.
SEV INIT command loads the SEV related persistent data from NVS
and initializes the platform context. The firmware validates the
persistent state. If validation fails, the firmware will reset
the persisent state and return an integrity check failure status.
At this point, a subsequent INIT command should succeed, so retry
the command. The INIT command retry is only done during driver
initialization.
Additional enums along with SEV_RET_SECURE_DATA_INVALID are added
to sev_ret_code to maintain continuity and relevance of enum values.
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/mac80211/aes_gcm.h')
0 files changed, 0 insertions, 0 deletions