Skip to content
Snippets Groups Projects
Commit 96fba8a1 authored by René Kijewski's avatar René Kijewski
Browse files

sys:crypto: put ciphers into one module

parent 29ca1e0f
No related branches found
No related tags found
No related merge requests found
...@@ -76,3 +76,7 @@ endif ...@@ -76,3 +76,7 @@ endif
ifneq (,$(filter shell_commands,$(USEMODULE))) ifneq (,$(filter shell_commands,$(USEMODULE)))
USEMODULE += net_help USEMODULE += net_help
endif endif
ifneq (,$(filter ccn_lite,$(USEMODULE)))
USEMODULE += crypto
endif
...@@ -48,7 +48,6 @@ USEMODULE += ps ...@@ -48,7 +48,6 @@ USEMODULE += ps
USEMODULE += random USEMODULE += random
USEMODULE += defaulttransceiver USEMODULE += defaulttransceiver
USEMODULE += rtc USEMODULE += rtc
USEMODULE += crypto_sha256
USEMODULE += ccn_lite USEMODULE += ccn_lite
USEMODULE += ccn_lite_client USEMODULE += ccn_lite_client
......
...@@ -45,7 +45,6 @@ USEMODULE += posix ...@@ -45,7 +45,6 @@ USEMODULE += posix
USEMODULE += defaulttransceiver USEMODULE += defaulttransceiver
USEMODULE += rtc USEMODULE += rtc
USEMODULE += crypto_sha256
USEMODULE += ccn_lite USEMODULE += ccn_lite
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include
...@@ -71,23 +71,8 @@ endif ...@@ -71,23 +71,8 @@ endif
ifneq (,$(filter bloom,$(USEMODULE))) ifneq (,$(filter bloom,$(USEMODULE)))
DIRS += bloom DIRS += bloom
endif endif
ifneq (,$(filter crypto_3des,$(USEMODULE))) ifneq (,$(filter crypto,$(USEMODULE)))
DIRS += crypto/3des DIRS += crypto
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
endif endif
ifneq (,$(filter random,$(USEMODULE))) ifneq (,$(filter random,$(USEMODULE)))
DIRS += random DIRS += random
......
...@@ -30,24 +30,9 @@ ifneq (,$(filter ccn_lite_client,$(USEMODULE))) ...@@ -30,24 +30,9 @@ ifneq (,$(filter ccn_lite_client,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
endif endif
ifneq (,$(filter crypto_3des,$(USEMODULE))) ifneq (,$(filter crypto,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/include/crypto USEMODULE_INCLUDES += $(RIOTBASE)/include/crypto
endif 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))) ifneq (,$(filter posix,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/include USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/include
......
File moved
MODULE = crypto_3des
include $(RIOTBASE)/Makefile.base
MODULE = crypto_aes MODULE = crypto
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base
File moved
File moved
MODULE = crypto_rc5
include $(RIOTBASE)/Makefile.base
File moved
MODULE = crypto_sha256
include $(RIOTBASE)/Makefile.base
File moved
MODULE = crypto_skipjack
include $(RIOTBASE)/Makefile.base
File moved
MODULE = crypto_twofish
include $(RIOTBASE)/Makefile.base
export PROJECT = test_sha256 export PROJECT = test_sha256
include ../Makefile.tests_common include ../Makefile.tests_common
USEMODULE += crypto_sha256 USEMODULE += crypto
DISABLE_MODULE += auto_init DISABLE_MODULE += auto_init
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment