1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys:crypto: put ciphers into one module

This commit is contained in:
René Kijewski 2014-05-08 19:06:07 +02:00
parent 29ca1e0f52
commit 96fba8a19b
18 changed files with 9 additions and 52 deletions

View File

@ -76,3 +76,7 @@ endif
ifneq (,$(filter shell_commands,$(USEMODULE)))
USEMODULE += net_help
endif
ifneq (,$(filter ccn_lite,$(USEMODULE)))
USEMODULE += crypto
endif

View File

@ -48,7 +48,6 @@ USEMODULE += ps
USEMODULE += random
USEMODULE += defaulttransceiver
USEMODULE += rtc
USEMODULE += crypto_sha256
USEMODULE += ccn_lite
USEMODULE += ccn_lite_client

View File

@ -45,7 +45,6 @@ USEMODULE += posix
USEMODULE += defaulttransceiver
USEMODULE += rtc
USEMODULE += crypto_sha256
USEMODULE += ccn_lite
include $(RIOTBASE)/Makefile.include

View File

@ -71,23 +71,8 @@ endif
ifneq (,$(filter bloom,$(USEMODULE)))
DIRS += bloom
endif
ifneq (,$(filter crypto_3des,$(USEMODULE)))
DIRS += crypto/3des
endif
ifneq (,$(filter crypto_aes,$(USEMODULE)))
DIRS += crypto/aes
endif
ifneq (,$(filter crypto_rc5,$(USEMODULE)))
DIRS += crypto/rc5
endif
ifneq (,$(filter crypto_sha256,$(USEMODULE)))
DIRS += crypto/sha256
endif
ifneq (,$(filter crypto_skipjack,$(USEMODULE)))
DIRS += crypto/skipjack
endif
ifneq (,$(filter crypto_twofish,$(USEMODULE)))
DIRS += crypto/twofish
ifneq (,$(filter crypto,$(USEMODULE)))
DIRS += crypto
endif
ifneq (,$(filter random,$(USEMODULE)))
DIRS += random

View File

@ -30,24 +30,9 @@ ifneq (,$(filter ccn_lite_client,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
endif
ifneq (,$(filter crypto_3des,$(USEMODULE)))
ifneq (,$(filter crypto,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/include/crypto
endif
ifneq (,$(filter crypto_aes,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/include/crypto
endif
ifneq (,$(filter crypto_rc5,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/include/crypto
endif
ifneq (,$(filter crypto_sha256,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/include/crypto
endif
ifneq (,$(filter crypto_skipjack,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/include/crypto
endif
ifneq (,$(filter crypto_twofish,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/include/crypto
endif
ifneq (,$(filter posix,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/include

View File

@ -1,3 +0,0 @@
MODULE = crypto_3des
include $(RIOTBASE)/Makefile.base

View File

@ -1,3 +1,3 @@
MODULE = crypto_aes
MODULE = crypto
include $(RIOTBASE)/Makefile.base

View File

@ -1,3 +0,0 @@
MODULE = crypto_rc5
include $(RIOTBASE)/Makefile.base

View File

@ -1,3 +0,0 @@
MODULE = crypto_sha256
include $(RIOTBASE)/Makefile.base

View File

@ -1,3 +0,0 @@
MODULE = crypto_skipjack
include $(RIOTBASE)/Makefile.base

View File

@ -1,3 +0,0 @@
MODULE = crypto_twofish
include $(RIOTBASE)/Makefile.base

View File

@ -1,7 +1,7 @@
export PROJECT = test_sha256
include ../Makefile.tests_common
USEMODULE += crypto_sha256
USEMODULE += crypto
DISABLE_MODULE += auto_init