Explorar el Código

linux: Add kmod-crxypto-xcbc

This can be used for IPsec.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens hace 7 años
padre
commit
187ab0bceb
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      package/kernel/linux/modules/crypto.mk

+ 12 - 0
package/kernel/linux/modules/crypto.mk

@@ -226,6 +226,18 @@ endef
 $(eval $(call KernelPackage,crypto-gcm))
 
 
+define KernelPackage/crypto-xcbc
+  TITLE:=XCBC CryptoAPI module
+  DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
+  KCONFIG:=CONFIG_CRYPTO_XCBC
+  FILES:=$(LINUX_DIR)/crypto/xcbc.ko
+  AUTOLOAD:=$(call AutoLoad,09,xcbc)
+  $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-xcbc))
+
+
 define KernelPackage/crypto-gf128
   TITLE:=GF(2^128) multiplication functions CryptoAPI module
   KCONFIG:=CONFIG_CRYPTO_GF128MUL