diff options
Diffstat (limited to 'lib/avb/libavb/avb_sha.h')
-rw-r--r-- | lib/avb/libavb/avb_sha.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |