From b35084be0a0315dfedeeebab55eaf37345e637f1 Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Tue, 28 Mar 2017 11:29:51 -0500 Subject: Port SBKT signing and secure loading Change-Id: I3817cbf8eb25bc83d538d9eb6ea4c5e801603f74 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38543 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Reviewed-by: Michael Baiocchi Reviewed-by: Daniel M. Crowell --- src/include/usr/secureboot/service.H | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/include/usr/secureboot') diff --git a/src/include/usr/secureboot/service.H b/src/include/usr/secureboot/service.H index 86da6a64b..718efc686 100644 --- a/src/include/usr/secureboot/service.H +++ b/src/include/usr/secureboot/service.H @@ -30,16 +30,12 @@ #include #include #include +#include -typedef uint8_t SHA512_t[64]; +typedef uint8_t SHA512_t[SHA512_DIGEST_LENGTH]; typedef std::vector< std::pair > blobPair_t; -/* From sha512.h: */ -#define SHA512_DIGEST_LENGTH 64 -typedef uint8_t __attribute__((aligned(8))) sha2_hash_t[ \ - SHA512_DIGEST_LENGTH / sizeof(uint8_t) ]; - // TODO securebootp9 added for spnorrp.C - service.H needs many more updates // in order to match the p8 version const size_t HASH_PAGE_TABLE_ENTRY_SIZE = 32; -- cgit v1.2.3