summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYi Chou <yich@google.com>2023-04-18 07:04:42 +0000
committerYi Chou <yich@google.com>2023-04-18 07:11:32 +0000
commitb2ddaa748824a5430ab6ccce2b896efda3339788 (patch)
treef4ea4d222efaa07eaae0104aaf706b41c9220ad6 /include
parent06e507c9b58aef5c5290a504c625cfbbe1bb2f4e (diff)
downloadchrome-ec-b2ddaa748824a5430ab6ccce2b896efda3339788.tar.gz
Revert "tree: Remove the stale boringssl AES code"
This reverts commit 1eb725490d0e7ff726b9edcf11579080a412a02f. Reason for revert: break the build of chromeos-base/chromeos-fpmcu-unittests. Original change's description: > tree: Remove the stale boringssl AES code > > BUG=b:248508087, b:273639386 > TEST=make runhosttests -j > TEST=make buildall -j > BRANCH=none > > Change-Id: If4d7ee558871debdca5998c51d75c1062dce2a50 > Signed-off-by: Yi Chou <yich@google.com> > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4388275 > Reviewed-by: Tom Hughes <tomhughes@chromium.org> Bug: b:248508087, b:273639386 Change-Id: I81f5035e25bed8e98516072a6f2a7a609fd6eede Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4439431 Commit-Queue: Yi Chou <yich@google.com> Tested-by: Yi Chou <yich@google.com> Reviewed-by: Howard Yang <hcyang@google.com>
Diffstat (limited to 'include')
l---------include/aes-gcm.h1
l---------include/aes.h1
-rw-r--r--include/config.h6
3 files changed, 8 insertions, 0 deletions
diff --git a/include/aes-gcm.h b/include/aes-gcm.h
new file mode 120000
index 0000000000..ba62939792
--- /dev/null
+++ b/include/aes-gcm.h
@@ -0,0 +1 @@
+../third_party/boringssl/include/aes-gcm.h \ No newline at end of file
diff --git a/include/aes.h b/include/aes.h
new file mode 120000
index 0000000000..b30c680a6a
--- /dev/null
+++ b/include/aes.h
@@ -0,0 +1 @@
+../third_party/boringssl/include/aes.h \ No newline at end of file
diff --git a/include/config.h b/include/config.h
index cb844a04d5..b0a809af7f 100644
--- a/include/config.h
+++ b/include/config.h
@@ -327,6 +327,12 @@
#define CONFIG_ADC_PROFILE_SINGLE
#undef CONFIG_ADC_PROFILE_FAST_CONTINUOUS
+/* Support AES symmetric-key algorithm */
+#undef CONFIG_AES
+
+/* Support AES-GCM */
+#undef CONFIG_AES_GCM
+
/*
* Some ALS modules may be connected to the EC. We need the command, and
* specific drivers for each module.