crypto: reduce software algorithm size
not compile the software algorithm file when CONFIG_CRYPTO_CRYPTODEV_SOFTWARE not set Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
parent
6676853589
commit
4e70d59c3b
|
@ -30,7 +30,9 @@ CRYPTO_CSRCS += crypto.c testmngr.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_CRYPTO_CRYPTODEV),y)
|
ifeq ($(CONFIG_CRYPTO_CRYPTODEV),y)
|
||||||
CRYPTO_CSRCS += cryptodev.c
|
CRYPTO_CSRCS += cryptodev.c
|
||||||
|
ifeq ($(CONFIG_CRYPTO_CRYPTODEV_SOFTWARE),y)
|
||||||
CRYPTO_CSRCS += cryptosoft.c
|
CRYPTO_CSRCS += cryptosoft.c
|
||||||
|
endif
|
||||||
CRYPTO_CSRCS += xform.c
|
CRYPTO_CSRCS += xform.c
|
||||||
CRYPTO_CSRCS += aes.c
|
CRYPTO_CSRCS += aes.c
|
||||||
CRYPTO_CSRCS += blf.c
|
CRYPTO_CSRCS += blf.c
|
||||||
|
|
Loading…
Reference in New Issue