add ocf support to openssl, and use it by default if engines are enabled
[openwrt.git] / package / kernel / modules / crypto.mk
index 68ccb60..f8425e8 100644 (file)
@@ -97,6 +97,28 @@ endef
 $(eval $(call KernelPackage,crypto-arc4))
 
 
+define KernelPackage/crypto-aead
+  SUBMENU:=$(CRYPTO_MENU)
+  TITLE:=Authenticated Encryption with Associated Data
+  DEPENDS:=+kmod-crypto-core
+  KCONFIG:=CONFIG_CRYPTO_AEAD
+  FILES:=$(LINUX_DIR)/crypto/aead.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,09,aead)
+endef
+
+$(eval $(call KernelPackage,crypto-aead))
+
+define KernelPackage/crypto-authenc
+  SUBMENU:=$(CRYPTO_MENU)
+  TITLE:=Combined mode wrapper for IPsec
+  DEPENDS:=+kmod-crypto-core +kmod-crypto-aead
+  KCONFIG:=CONFIG_CRYPTO_AUTHENC
+  FILES:=$(LINUX_DIR)/crypto/authenc.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,09,authenc)
+endef
+
+$(eval $(call KernelPackage,crypto-authenc))
+
 define KernelPackage/crypto-des
   SUBMENU:=$(CRYPTO_MENU)
   TITLE:=DES/3DES cipher CryptoAPI module
This page took 0.025581 seconds and 4 git commands to generate.