diff --git a/drivers/crypto/crypto-uclass.c b/drivers/crypto/crypto-uclass.c index 0158046a81..5c59d0c516 100644 --- a/drivers/crypto/crypto-uclass.c +++ b/drivers/crypto/crypto-uclass.c @@ -3,10 +3,7 @@ * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd */ -#include #include -#include -#include u32 crypto_algo_nbits(u32 algo) { diff --git a/include/crypto.h b/include/crypto.h index 6322052a8d..4faa732f31 100644 --- a/include/crypto.h +++ b/include/crypto.h @@ -6,6 +6,10 @@ #ifndef _CORE_CRYPTO_H_ #define _CORE_CRYPTO_H_ +#include +#include +#include + /* Algorithms/capability of crypto, works together with crypto_algo_nbits() */ #define CRYPTO_MD5 BIT(0) #define CRYPTO_SHA1 BIT(1)