summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Sukhomlinov <sukhomlinov@google.com>2021-06-28 01:26:30 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-30 16:19:21 +0000
commit9d228f4679205c805117638e8d0953b174522c5a (patch)
tree059ded7780e38d925477857e595802c6f958e415
parente2655cb43fdc938d467018ccd5c3df9fb907c400 (diff)
downloadchrome-ec-9d228f4679205c805117638e8d0953b174522c5a.tar.gz
dcrypto: remove unused functionality
Cr50 doesn't use AES-CMAC and P256-ECIES functions. Currently these functions are not linked in as they are not used. Since we will change a build process to build crypto library separately to implement FIPS certification requirements, better to remove it from library as otherwise they will increase image size. Files are still there in case if will be needed in the future. BUG=b:134594373 TEST=make BOARD=cr50 Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com> Change-Id: I0922a5f35a85b1a2d85e6b325716ac3838c2c9cb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2988186 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org> Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Auto-Submit: Vadim Sukhomlinov <sukhomlinov@chromium.org> Commit-Queue: Mary Ruthven <mruthven@chromium.org>
-rw-r--r--board/cr50/build.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/cr50/build.mk b/board/cr50/build.mk
index 140812542f..7e96fe6ef2 100644
--- a/board/cr50/build.mk
+++ b/board/cr50/build.mk
@@ -56,7 +56,6 @@ board-${CONFIG_USB_I2C} += usb_i2c.o
board-y += recovery_button.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/aes.o
-board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/aes_cmac.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/app_cipher.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/app_key.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/bn.o
@@ -71,7 +70,6 @@ board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/hmac_drbg.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/key_ladder.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/p256.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/p256_ec.o
-board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/p256_ecies.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/rsa.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/sha1.o
board-$(CONFIG_DCRYPTO_BOARD)+= dcrypto/sha256.o