summaryrefslogtreecommitdiff
path: root/test/tpm_test/subcmd.py
diff options
context:
space:
mode:
authornagendra modadugu <ngm@google.com>2016-04-18 22:51:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-19 22:47:36 -0700
commitee5d09823f3f26ab5d31a32c96d550bb28ace808 (patch)
treef7a9d711de3d6a8ef7862dea9e52489229caec62 /test/tpm_test/subcmd.py
parentacc92269109222fea82f196ff52e50914e6723d8 (diff)
downloadchrome-ec-ee5d09823f3f26ab5d31a32c96d550bb28ace808.tar.gz
CR50: add support for P256-ECIES (hybrid encryption)
Add support for P256 based hybrid encryption, and corresponding tests. Where hybrid encryption is: P256 based DH + AES128 + HMAC-SHA256. BRANCH=none BUG=chrome-os-partner:43025,chrome-os-partner:47524 CQ-DEPEND=CL:336091,CL:339561 TEST=ECIES tests in test/tpm/tpmtest.py pass Change-Id: Ie091e278df72185a6896af0e498925e56404f87e Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/337340 Commit-Ready: Nagendra Modadugu <ngm@google.com> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Marius Schilder <mschilder@chromium.org>
Diffstat (limited to 'test/tpm_test/subcmd.py')
-rw-r--r--test/tpm_test/subcmd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tpm_test/subcmd.py b/test/tpm_test/subcmd.py
index e0de4af9f5..7cf10de66c 100644
--- a/test/tpm_test/subcmd.py
+++ b/test/tpm_test/subcmd.py
@@ -12,6 +12,7 @@ RSA = 2
EC = 3
FW_UPGRADE = 4
HKDF = 5
+ECIES = 6
# The same exception class used by all tpmtest modules.
class TpmTestError(Exception):