diff options
author | Louis Collard <louiscollard@chromium.org> | 2019-08-12 15:22:29 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-21 01:44:39 +0000 |
commit | 0e11e62ce7555b87fd95a03d2a59eb803b2a3ccc (patch) | |
tree | c63077491b79ad4412425762bda97cee5632cb87 /include | |
parent | 48c3f0986efb0268f77b31ee38db78b3cef31908 (diff) | |
download | chrome-ec-0e11e62ce7555b87fd95a03d2a59eb803b2a3ccc.tar.gz |
cr50: Add vendor command to set U2F modestabilize-12441.B
The existing U2F command will be deleted, as
it is part of the legacy U2F implementation;
this command is a replacement for it.
BRANCH=none
BUG=b:138578925
TEST=run u2fd with --g2f and --u2f,
check G2F cert to verify mode is respected
Signed-off-by: Louis Collard <louiscollard@chromium.org>
Change-Id: I3956809248bb35baaaecdeef66f2fa35832aa421
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1748846
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/tpm_vendor_cmds.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h index 5aef9ec150..b19339c1dd 100644 --- a/include/tpm_vendor_cmds.h +++ b/include/tpm_vendor_cmds.h @@ -134,6 +134,8 @@ enum vendor_cmd_cc { VENDOR_CC_FLOG_TIMESTAMP = 47, VENDOR_CC_ENDORSEMENT_SEED = 48, + VENDOR_CC_U2F_MODE = 48, + LAST_VENDOR_COMMAND = 65535, }; |