mac80211: fix mac address handling for multiple phy/vif
[openwrt.git] / package / kernel / modules / crypto.mk
index 012b68b..1d0985b 100644 (file)
@@ -14,39 +14,22 @@ CRYPTO_MENU:=Cryptographic API modules
 #  - sha1 > sha1_generic (2.6.24)
 #  - sha256 > sha256_generic (2.6.24)
 #  - sha512 > sha512_generic (2.6.26)
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
+ifneq ($(CONFIG_LINUX_2_6),)
   CRYPTO_GENERIC:=_generic
   AES_SUFFIX:=$(CRYPTO_GENERIC)
   DES_SUFFIX:=$(CRYPTO_GENERIC)
   SHA1_SUFFIX:=$(CRYPTO_GENERIC)
   SHA256_SUFFIX:=$(CRYPTO_GENERIC)
-endif
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.25)),1)
-  CRYPTO_PREFIX:=crypto_
-  BLKCIPHER_PREFIX:=$(CRYPTO_PREFIX)
-endif
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.26)),1)
   SHA512_SUFFIX:=$(CRYPTO_GENERIC)
 endif
-AEAD_CONF:=AEAD
-MANAGER_CONF:=MANAGER
-BLKCIPHER_CONF:=BLKCIPHER
-HASH_CONF:=HASH
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1)
-  CRYPTO_MODULE_PCOMPRESS:=PCOMP=pcompress
-  AEAD_CONF:=AEAD2
-  MANAGER_CONF:=MANAGER2
-  BLKCIPHER_CONF:=BLKCIPHER2
-  HASH_CONF:=HASH2
-endif
 
 CRYPTO_MODULES = \
        ALGAPI=crypto_algapi \
-       $(AEAD_CONF)=aead \
-       $(CRYPTO_MODULE_PCOMPRESS) \
-       $(BLKCIPHER_CONF)=$(BLKCIPHER_PREFIX)blkcipher \
-       $(HASH_CONF)=crypto_hash \
-       $(MANAGER_CONF)=cryptomgr \
+       AEAD2=aead \
+       PCOMP=pcompress \
+       BLKCIPHER2=crypto_blkcipher \
+       HASH2=crypto_hash \
+       MANAGER2=cryptomgr \
        CBC=cbc \
        ECB=ecb \
        DEFLATE=deflate
This page took 0.025075 seconds and 4 git commands to generate.