summaryrefslogtreecommitdiff
path: root/chip/g/build.mk
diff options
context:
space:
mode:
authornagendra modadugu <ngm@google.com>2015-12-08 21:07:54 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-11 22:03:13 -0800
commit7a254e9851e37a5473efb8e61059d47b52bcee76 (patch)
treef37e151d293b26962f79234b6103d5245e4f4d0b /chip/g/build.mk
parent4368dcfb32942740dd11188de6a8658cdd448a5a (diff)
downloadchrome-ec-stabilize-7821.B.tar.gz
Initial RSA implementation.stabilize-7821.B
Includes support for encrypt / decrypt, and sign / verify; padding schemes OAEP / PKCS1; supporting bignum library. RSA key sizes must be a multiple of 32-bits (with the top bit set). Keying material, input and output buffers are required to be word-aligned. BRANCH=none TEST=added encrypt/decrypt sign/verify tests, compatibility with openssl tested BUG=chrome-os-partner:43025,chrome-os-partner:47524 Change-Id: I6bc324c651e3178bb45bb75ab5935d9bc07efbce Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/316942 Commit-Ready: Marius Schilder <mschilder@chromium.org> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Marius Schilder <mschilder@chromium.org>
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r--chip/g/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index 33436921d8..3564865f6b 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -26,6 +26,8 @@ chip-y += uart.o
endif
chip-$(CONFIG_DCRYPTO)+= dcrypto/aes.o
+chip-$(CONFIG_DCRYPTO)+= dcrypto/bn.o
+chip-$(CONFIG_DCRYPTO)+= dcrypto/rsa.o
chip-$(CONFIG_DCRYPTO)+= dcrypto/sha1.o
chip-$(CONFIG_DCRYPTO)+= dcrypto/sha256.o