aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/Makefile
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 09:44:58 +0900
committerTom Rini <trini@konsulko.com>2019-12-06 16:44:20 -0500
commitc4e961ecec994059dbdd5f34b58454d5243ad8f0 (patch)
tree14d25313a2d2a105f23e851bafa9203fe5831b47 /lib/crypto/Makefile
parenta9b45e6e8382d59f416e3ba7cbda66bca6e33c10 (diff)
downloadu-boot-c4e961ecec994059dbdd5f34b58454d5243ad8f0.zip
u-boot-c4e961ecec994059dbdd5f34b58454d5243ad8f0.tar.gz
u-boot-c4e961ecec994059dbdd5f34b58454d5243ad8f0.tar.bz2
lib: crypto: add public key utility
Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'lib/crypto/Makefile')
-rw-r--r--lib/crypto/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
new file mode 100644
index 0000000..a284de9
--- /dev/null
+++ b/lib/crypto/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Makefile for asymmetric cryptographic keys
+#
+
+obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o
+
+asymmetric_keys-y := asymmetric_type.o
+
+obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o