Merge pull request #1124 from Kijewski/consolidate-crypto
sys:crypto: put ciphers into one module
This commit is contained in:
commit
ccc934856f
@ -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
|
|||||||
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
|
|||||||
|
|
||||||
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
|
||||||
|
|||||||
19
sys/Makefile
19
sys/Makefile
@ -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)))
|
|||||||
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
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
MODULE = crypto_3des
|
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
|
||||||
@ -1,3 +1,3 @@
|
|||||||
MODULE = crypto_aes
|
MODULE = crypto
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
include $(RIOTBASE)/Makefile.base
|
||||||
@ -1,3 +0,0 @@
|
|||||||
MODULE = crypto_rc5
|
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
MODULE = crypto_sha256
|
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
MODULE = crypto_skipjack
|
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
MODULE = crypto_twofish
|
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user