summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-08-21 21:08:13 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-21 11:16:30 +1000
commit2b855e8590cf67a2956fc8e8feb464f552ba28f9 (patch)
tree00d28b1ea45b845139451ffb425008fbb7111707 /crypto/Makefile
parent92534577ae461e4796a211cdc9ee31f7a72206c1 (diff)
downloadlinux-crypto-2b855e8590cf67a2956fc8e8feb464f552ba28f9.tar.gz
linux-crypto-2b855e8590cf67a2956fc8e8feb464f552ba28f9.zip
[CRYPTO] api: Split out low-level API
The crypto API is made up of the part facing users such as IPsec and the low-level part which is used by cryptographic entities such as algorithms. This patch splits out the latter so that the two APIs are more clearly delineated. As a bonus the low-level API can now be modularised if all algorithms are built as modules. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index fe934f10..6d51f807 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -2,10 +2,11 @@
# Cryptographic API
#
-proc-crypto-$(CONFIG_PROC_FS) = proc.o
+obj-$(CONFIG_CRYPTO) += api.o scatterwalk.o cipher.o digest.o compress.o
-obj-$(CONFIG_CRYPTO) += api.o scatterwalk.o cipher.o digest.o compress.o \
- $(proc-crypto-y)
+crypto_algapi-$(CONFIG_PROC_FS) += proc.o
+crypto_algapi-objs := algapi.o $(crypto_algapi-y)
+obj-$(CONFIG_CRYPTO_ALGAPI) += crypto_algapi.o
obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o