Crypto build cleanup: remove CONFIG_NO_AES_ENCRYPT
Instead of using a define and conditional building of AES parts, move the AES encryption routines into a separate file.
This commit is contained in:
parent
381fcbc9f4
commit
27da6d4a0e
5 changed files with 127 additions and 97 deletions
|
@ -1074,8 +1074,11 @@ ifdef CONFIG_NO_AES_EXTRAS
|
|||
CFLAGS += -DCONFIG_NO_AES_WRAP
|
||||
CFLAGS += -DCONFIG_NO_AES_CTR -DCONFIG_NO_AES_OMAC1
|
||||
CFLAGS += -DCONFIG_NO_AES_EAX -DCONFIG_NO_AES_CBC
|
||||
CFLAGS += -DCONFIG_NO_AES_ENCRYPT
|
||||
CFLAGS += -DCONFIG_NO_AES_ENCRYPT_BLOCK
|
||||
else
|
||||
ifdef CONFIG_INTERNAL_AES
|
||||
AESOBJS += ../src/crypto/aes-internal-enc.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef NEED_AES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue