From 71dc860a61a936eca242c2badaad8815b352905b Mon Sep 17 00:00:00 2001 From: fang hui Date: Thu, 27 Apr 2017 14:50:03 +0800 Subject: MA-9530-2 [iot] Revet avb in uboot Revert "libavb: upgrade avb" This reverts commit 94734eeca56e8d1b9f1baedf67e16cd0397fc178. Change-Id: I6eae3fa9579fb43fa6956c450011b230875d0a96 --- lib/avb/libavb/avb_sha.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/avb/libavb/avb_sha.h') diff --git a/lib/avb/libavb/avb_sha.h b/lib/avb/libavb/avb_sha.h index c5a6a4c..b925bd2 100644 --- a/lib/avb/libavb/avb_sha.h +++ b/lib/avb/libavb/avb_sha.h @@ -37,12 +37,16 @@ extern "C" { #endif -#include "avb_crypto.h" #include "avb_sysdeps.h" +/* Size in bytes of a SHA-256 digest. */ +#define AVB_SHA256_DIGEST_SIZE 32 + /* Block size in bytes of a SHA-256 digest. */ #define AVB_SHA256_BLOCK_SIZE 64 +/* Size in bytes of a SHA-512 digest. */ +#define AVB_SHA512_DIGEST_SIZE 64 /* Block size in bytes of a SHA-512 digest. */ #define AVB_SHA512_BLOCK_SIZE 128 -- cgit v1.1