Fix error: implicit declaration of function 'arc4random'; did you mean 'random'? [-Werror=implicit-function-declaration]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
78728fc5eb
commit
c27b470d39
@ -53,7 +53,9 @@ if(CONFIG_CRYPTO)
|
||||
list(APPEND SRCS gmac.c)
|
||||
list(APPEND SRCS cmac.c)
|
||||
list(APPEND SRCS hmac.c)
|
||||
list(APPEND SRCS idgen.c)
|
||||
if(CONFIG_CRYPTO_RANDOM_POOL)
|
||||
list(APPEND SRCS idgen.c)
|
||||
endif()
|
||||
list(APPEND SRCS key_wrap.c)
|
||||
list(APPEND SRCS siphash.c)
|
||||
list(APPEND SRCS hmac_buff.c)
|
||||
|
@ -57,7 +57,9 @@ CRYPTO_CSRCS += sha2.c
|
||||
CRYPTO_CSRCS += gmac.c
|
||||
CRYPTO_CSRCS += cmac.c
|
||||
CRYPTO_CSRCS += hmac.c
|
||||
CRYPTO_CSRCS += idgen.c
|
||||
ifeq ($(CONFIG_CRYPTO_RANDOM_POOL),y)
|
||||
CRYPTO_CSRCS += idgen.c
|
||||
endif
|
||||
CRYPTO_CSRCS += key_wrap.c
|
||||
CRYPTO_CSRCS += siphash.c
|
||||
CRYPTO_CSRCS += hmac_buff.c
|
||||
|
Loading…
Reference in New Issue
Block a user