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))