diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-08-17 08:48:38 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-08-17 08:48:38 +0000 |
commit | 9d9722c40f5f716699f3f02d57846d248e48bb15 (patch) | |
tree | 74f4c5a65fca98d12437c3fde0cac7ee040e22c7 /package/kernel/modules/crypto.mk | |
parent | ebb152295b5ff3469a6a7d0e8b6761464d7f0aea (diff) | |
download | master-31e0f0ae-9d9722c40f5f716699f3f02d57846d248e48bb15.tar.gz master-31e0f0ae-9d9722c40f5f716699f3f02d57846d248e48bb15.tar.bz2 master-31e0f0ae-9d9722c40f5f716699f3f02d57846d248e48bb15.zip |
kernel: add kmod-crypto-user
Add kernel crypto user-space interface (af_alg). Includes interface for
hash algorithms (algif_hash) and skcipher algorithms (algif_skcipher).
Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 28026
Diffstat (limited to 'package/kernel/modules/crypto.mk')
-rw-r--r-- | package/kernel/modules/crypto.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index c7bbce9782..fc4865f6ad 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -62,6 +62,22 @@ define KernelPackage/crypto-manager endef $(eval $(call KernelPackage,crypto-manager)) +define KernelPackage/crypto-user + TITLE:=CryptoAPI userspace interface + DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager @LINUX_2_6_38||LINUX_2_6_39||LINUX_3_0 + KCONFIG:= \ + CONFIG_CRYPTO_USER_API \ + CONFIG_CRYPTO_USER_API_HASH \ + CONFIG_CRYPTO_USER_API_SKCIPHER + FILES:= \ + $(LINUX_DIR)/crypto/af_alg.ko \ + $(LINUX_DIR)/crypto/algif_hash.ko \ + $(LINUX_DIR)/crypto/algif_skcipher.ko + AUTOLOAD:=$(call AutoLoad,09,af_alg algif_hash algif_skcipher) + $(call AddDepends/crypto) +endef +$(eval $(call KernelPackage,crypto-user)) + define KernelPackage/crypto-wq TITLE:=CryptoAPI work queue handling KCONFIG:=CONFIG_CRYPTO_WORKQUEUE |