define KernelPackage/crypto-hw-caam
TITLE:=Freescale CAAM driver (SEC4)
- DEPENDS:=@TARGET_imx6||TARGET_mpc85xx +kmod-crypto-aead +kmod-crypto-authenc +kmod-crypto-hash +kmod-random-core
+ DEPENDS:=@TARGET_mpc85xx +kmod-crypto-aead +kmod-crypto-authenc +kmod-crypto-hash +kmod-random-core
KCONFIG:= \
CONFIG_CRYPTO_HW=y \
CONFIG_CRYPTO_DEV_FSL_CAAM \
DEPENDS:=+kmod-crypto-hash
KCONFIG:= \
CONFIG_CRYPTO_SHA1 \
- CONFIG_CRYPTO_SHA1_OCTEON
+ CONFIG_CRYPTO_SHA1_OCTEON \
+ CONFIG_CRYPTO_SHA1_SSSE3
FILES:=$(LINUX_DIR)/crypto/sha1_generic.ko
AUTOLOAD:=$(call AutoLoad,09,sha1_generic)
$(call AddDepends/crypto)
AUTOLOAD:=$(call AutoLoad,09,octeon-sha1)
endef
+define KernelPackage/crypto-sha1/x86/64
+ FILES+=$(LINUX_DIR)/arch/x86/crypto/sha1-ssse3.ko
+ AUTOLOAD:=$(call AutoLoad,09,sha1-ssse3)
+endef
+
$(eval $(call KernelPackage,crypto-sha1))
DEPENDS:=+kmod-crypto-hash
KCONFIG:= \
CONFIG_CRYPTO_SHA256 \
- CONFIG_CRYPTO_SHA256_OCTEON
+ CONFIG_CRYPTO_SHA256_OCTEON \
+ CONFIG_CRYPTO_SHA256_SSSE3
FILES:=$(LINUX_DIR)/crypto/sha256_generic.ko
AUTOLOAD:=$(call AutoLoad,09,sha256_generic)
$(call AddDepends/crypto)
AUTOLOAD:=$(call AutoLoad,09,octeon-sha256)
endef
+define KernelPackage/crypto-sha256/x86/64
+ FILES+=$(LINUX_DIR)/arch/x86/crypto/sha256-ssse3.ko
+ AUTOLOAD:=$(call AutoLoad,09,sha256-ssse3)
+endef
+
$(eval $(call KernelPackage,crypto-sha256))
DEPENDS:=+kmod-crypto-hash
KCONFIG:= \
CONFIG_CRYPTO_SHA512 \
- CONFIG_CRYPTO_SHA512_OCTEON
+ CONFIG_CRYPTO_SHA512_OCTEON \
+ CONFIG_CRYPTO_SHA512_SSSE3
FILES:=$(LINUX_DIR)/crypto/sha512_generic.ko
AUTOLOAD:=$(call AutoLoad,09,sha512_generic)
$(call AddDepends/crypto)
AUTOLOAD:=$(call AutoLoad,09,octeon-sha512)
endef
+define KernelPackage/crypto-sha512/x86/64
+ FILES+=$(LINUX_DIR)/arch/x86/crypto/sha512-ssse3.ko
+ AUTOLOAD:=$(call AutoLoad,09,sha512-ssse3)
+endef
+
$(eval $(call KernelPackage,crypto-sha512))