greenhills: fix the arc4random_buf implicit declaration build error
"/home/guoshichao/work_profile/vela_os/vela_car_5/nuttx/include/crypto/curve25519.h", line 44: error #223-D: function arc4random_buf declared implicitly arc4random_buf(secret, CURVE25519_KEY_SIZE); ^ Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
2fbe02afec
commit
0da40c5d65
|
@ -55,11 +55,11 @@ if(CONFIG_CRYPTO)
|
|||
list(APPEND SRCS hmac.c)
|
||||
if(CONFIG_CRYPTO_RANDOM_POOL)
|
||||
list(APPEND SRCS idgen.c)
|
||||
list(APPEND SRCS curve25519.c)
|
||||
endif()
|
||||
list(APPEND SRCS key_wrap.c)
|
||||
list(APPEND SRCS siphash.c)
|
||||
list(APPEND SRCS hmac_buff.c)
|
||||
list(APPEND SRCS curve25519.c)
|
||||
list(APPEND SRCS bn.c)
|
||||
|
||||
# Entropy pool random number generator
|
||||
|
|
|
@ -59,11 +59,11 @@ CRYPTO_CSRCS += cmac.c
|
|||
CRYPTO_CSRCS += hmac.c
|
||||
ifeq ($(CONFIG_CRYPTO_RANDOM_POOL),y)
|
||||
CRYPTO_CSRCS += idgen.c
|
||||
CRYPTO_CSRCS += curve25519.c
|
||||
endif
|
||||
CRYPTO_CSRCS += key_wrap.c
|
||||
CRYPTO_CSRCS += siphash.c
|
||||
CRYPTO_CSRCS += hmac_buff.c
|
||||
CRYPTO_CSRCS += curve25519.c
|
||||
CRYPTO_CSRCS += bn.c
|
||||
|
||||
# Entropy pool random number generator
|
||||
|
|
Loading…
Reference in New Issue