Browse Source

add XCBC kernel module

Waldemar Brodkorb 14 years ago
parent
commit
c16ef3c165
2 changed files with 13 additions and 0 deletions
  1. 4 0
      mk/modules.mk
  2. 9 0
      target/linux/config/Config.in.crypto

+ 4 - 0
mk/modules.mk

@@ -786,6 +786,10 @@ $(eval $(call KMOD_template,CRYPTO_HMAC,crypto-hmac,\
     $(MODULES_DIR)/kernel/crypto/hmac \
 ,11))
 
+$(eval $(call KMOD_template,CRYPTO_XCBC,crypto-xcbc,\
+    $(MODULES_DIR)/kernel/crypto/xcbc \
+,11))
+
 $(eval $(call KMOD_template,CRYPTO_NULL,crypto-null,\
     $(MODULES_DIR)/kernel/crypto/crypto_null \
 ,11))

+ 9 - 0
target/linux/config/Config.in.crypto

@@ -217,6 +217,15 @@ config ADK_KPACKAGE_KMOD_CRYPTO_HMAC
 	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
 	  This is required for IPSec.
 
+config ADK_KPACKAGE_KMOD_CRYPTO_XCBC
+	prompt "kmod-crypto-xcbc..................... XCBC support"
+	tristate
+	default n
+	select ADK_KPACKAGE_KMOD_CRYPTO_HASH
+	select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER
+	help
+          XCBC: Keyed-Hashing with encryption algorithm
+
 config ADK_KPACKAGE_KMOD_CRYPTO_RNG2
 	prompt "kmod-crypto-rng...................... RNG support"
 	tristate