dm: crypto: move head file to crypto.h
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iac0f2e5eec7d0370182f7b6a2c904b4542bbbc37
This commit is contained in:
parent
4333cc9aff
commit
1d2a3f6ca3
|
|
@ -3,10 +3,7 @@
|
|||
* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <crypto.h>
|
||||
#include <dm.h>
|
||||
#include <u-boot/sha1.h>
|
||||
|
||||
u32 crypto_algo_nbits(u32 algo)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@
|
|||
#ifndef _CORE_CRYPTO_H_
|
||||
#define _CORE_CRYPTO_H_
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <u-boot/sha1.h>
|
||||
|
||||
/* Algorithms/capability of crypto, works together with crypto_algo_nbits() */
|
||||
#define CRYPTO_MD5 BIT(0)
|
||||
#define CRYPTO_SHA1 BIT(1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue