summaryrefslogtreecommitdiff
path: root/include/extension.h
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 /include/extension.h
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 'include/extension.h')
-rw-r--r--include/extension.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/extension.h b/include/extension.h
index 868fae370d..100a3032df 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -52,6 +52,7 @@ enum {
EXTENSION_EC = 3,
EXTENSION_FW_UPGRADE = 4,
EXTENSION_HKDF = 5,
+ EXTENSION_ECIES = 6,
};