board/sim/crypto: Enable CONFIG_CRYPTO_SW_AES
to fix the following linker error: /usr/bin/ld: nuttx.rel: in function `aes_encrypt_xform': /github/workspace/sources/nuttx/crypto/xform.c:509: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_decrypt_xform': /github/workspace/sources/nuttx/crypto/xform.c:514: undefined reference to `aes_decrypt' /usr/bin/ld: nuttx.rel: in function `aes_setkey_xform': /github/workspace/sources/nuttx/crypto/xform.c:519: undefined reference to `aes_setkey' /usr/bin/ld: nuttx.rel: in function `aes_ctr_crypt': /github/workspace/sources/nuttx/crypto/xform.c:566: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_ctr_setkey': /github/workspace/sources/nuttx/crypto/xform.c:585: undefined reference to `aes_setkey' /usr/bin/ld: nuttx.rel: in function `aes_ofb_encrypt': /github/workspace/sources/nuttx/crypto/xform.c:694: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_ofb_setkey': /github/workspace/sources/nuttx/crypto/xform.c:706: undefined reference to `aes_setkey' /usr/bin/ld: nuttx.rel: in function `aes_cfb8_encrypt': /github/workspace/sources/nuttx/crypto/xform.c:733: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_cfb8_decrypt': /github/workspace/sources/nuttx/crypto/xform.c:751: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_cfb128_encrypt': /github/workspace/sources/nuttx/crypto/xform.c:765: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_cfb128_decrypt': /github/workspace/sources/nuttx/crypto/xform.c:781: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_gmac_setkey': /github/workspace/sources/nuttx/crypto/gmac.c:135: undefined reference to `aes_setkey' /usr/bin/ld: /github/workspace/sources/nuttx/crypto/gmac.c:143: undefined reference to `aes_encrypt' /usr/bin/ld: nuttx.rel: in function `aes_gmac_final': /github/workspace/sources/nuttx/crypto/gmac.c:195: undefined reference to `aes_encrypt' Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
745dc4299f
commit
4f5a177eef
@ -23,6 +23,7 @@ CONFIG_CRYPTO_CRYPTODEV=y
|
||||
CONFIG_CRYPTO_CRYPTODEV_SOFTWARE=y
|
||||
CONFIG_CRYPTO_MBEDTLS=y
|
||||
CONFIG_CRYPTO_RANDOM_POOL=y
|
||||
CONFIG_CRYPTO_SW_AES=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEV_GPIO=y
|
||||
CONFIG_DEV_LOOP=y
|
||||
|
@ -42,7 +42,7 @@ config CRYPTO_CRYPTODEV
|
||||
|
||||
config CRYPTO_CRYPTODEV_SOFTWARE
|
||||
bool "cryptodev software support"
|
||||
depends on CRYPTO_CRYPTODEV
|
||||
depends on CRYPTO_CRYPTODEV && CRYPTO_SW_AES
|
||||
default n
|
||||
|
||||
config CRYPTO_CRYPTODEV_HARDWARE
|
||||
|
Loading…
x
Reference in New Issue
Block a user