diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-10-26 15:59:27 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-27 16:14:16 -0700 |
commit | 734fe2d40bbd3f8068a0bfae7d3d10b53d97019c (patch) | |
tree | cf28db262210811bf5b3e85ce73923c191beae11 /include | |
parent | 7307c71b0a2254b0309382a0c146982430f74459 (diff) | |
download | chrome-ec-734fe2d40bbd3f8068a0bfae7d3d10b53d97019c.tar.gz |
ccd: pass 'ccd password' execution through tpm task context
It is necessary to be able to set password both from the Cr50 console
and through a vendor command.
This patch moves all password management logic to the TPM task context
using the alternative vendor command path.
BRANCH=cr50
BUG=b:62537474
TEST=verified that using Cr50 console CCD password still can be set
and cleared as before.
Change-Id: I0574caf931e3717567fdb270e406643eac47764b
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/740914
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/tpm_vendor_cmds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h index 1166884b7e..93961e793d 100644 --- a/include/tpm_vendor_cmds.h +++ b/include/tpm_vendor_cmds.h @@ -44,6 +44,7 @@ enum vendor_cmd_cc { VENDOR_CC_POP_LOG_ENTRY = 28, VENDOR_CC_GET_REC_BTN = 29, VENDOR_CC_RMA_CHALLENGE_RESPONSE = 30, + VENDOR_CC_CCD_PASSWORD = 31, LAST_VENDOR_COMMAND = 65535, }; |