- $(LINUX_DIR)/drivers/crypto/omap-aes.ko \
- $(LINUX_DIR)/drivers/crypto/omap-sham.ko
- AUTOLOAD:=$(call AutoLoad,90,omap-aes omap-sham)
-endif
- $(call AddDepends/crypto,+kmod-crypto-manager +kmod-crypto-hash)
-endef
-
-define KernelPackage/crypto-hw-omap/description
- Kernel support for the TI OMAP HW crypto engine.
-endef
-
-$(eval $(call KernelPackage,crypto-hw-omap))
-
-
-define KernelPackage/crypto-authenc
- TITLE:=Combined mode wrapper for IPsec
- DEPENDS:=+kmod-crypto-manager +LINUX_4_4:kmod-crypto-null
- KCONFIG:=CONFIG_CRYPTO_AUTHENC
- FILES:=$(LINUX_DIR)/crypto/authenc.ko
- AUTOLOAD:=$(call AutoLoad,09,authenc)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-authenc))
-
-define KernelPackage/crypto-cbc
- TITLE:=Cipher Block Chaining CryptoAPI module
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_CBC
- FILES:=$(LINUX_DIR)/crypto/cbc.ko
- AUTOLOAD:=$(call AutoLoad,09,cbc)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-cbc))
-
-define KernelPackage/crypto-ctr
- TITLE:=Counter Mode CryptoAPI module
- DEPENDS:=+kmod-crypto-manager +kmod-crypto-seqiv +kmod-crypto-iv
- KCONFIG:=CONFIG_CRYPTO_CTR
- FILES:=$(LINUX_DIR)/crypto/ctr.ko
- AUTOLOAD:=$(call AutoLoad,09,ctr)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ctr))
-
-define KernelPackage/crypto-ccm
- TITLE:=Support for Counter with CBC MAC (CCM)
- DEPENDS:=+kmod-crypto-ctr +kmod-crypto-aead
- KCONFIG:=CONFIG_CRYPTO_CCM
- FILES:=$(LINUX_DIR)/crypto/ccm.ko
- AUTOLOAD:=$(call AutoLoad,09,ccm)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ccm))
-
-define KernelPackage/crypto-pcbc
- TITLE:=Propagating Cipher Block Chaining CryptoAPI module
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_PCBC
- FILES:=$(LINUX_DIR)/crypto/pcbc.ko
- AUTOLOAD:=$(call AutoLoad,09,pcbc)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-pcbc))
-
-define KernelPackage/crypto-crc32c
- TITLE:=CRC32c CRC module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_CRC32C
- FILES:=$(LINUX_DIR)/crypto/crc32c_generic.ko
- AUTOLOAD:=$(call AutoLoad,04,crc32c_generic,1)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-crc32c))
-
-
-define KernelPackage/crypto-des
- TITLE:=DES/3DES cipher CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_DES
- FILES:=$(LINUX_DIR)/crypto/des_generic.ko
- AUTOLOAD:=$(call AutoLoad,09,des_generic)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-des))
-
-
-define KernelPackage/crypto-deflate
- TITLE:=Deflate compression CryptoAPI module
- DEPENDS:=+kmod-lib-zlib
- KCONFIG:=CONFIG_CRYPTO_DEFLATE
- FILES:=$(LINUX_DIR)/crypto/deflate.ko
- AUTOLOAD:=$(call AutoLoad,09,deflate)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-deflate))
-
-
-define KernelPackage/crypto-fcrypt
- TITLE:=FCRYPT cipher CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_FCRYPT
- FILES:=$(LINUX_DIR)/crypto/fcrypt.ko
- AUTOLOAD:=$(call AutoLoad,09,fcrypt)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-fcrypt))
-
-define KernelPackage/crypto-ecb
- TITLE:=Electronic CodeBook CryptoAPI module
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_ECB
- FILES:=$(LINUX_DIR)/crypto/ecb.ko
- AUTOLOAD:=$(call AutoLoad,09,ecb)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ecb))
-
-
-define KernelPackage/crypto-hmac
- TITLE:=HMAC digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_HMAC
- FILES:=$(LINUX_DIR)/crypto/hmac.ko
- AUTOLOAD:=$(call AutoLoad,09,hmac)