summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot/service.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/secureboot/service.H')
-rw-r--r--src/include/usr/secureboot/service.H8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/usr/secureboot/service.H b/src/include/usr/secureboot/service.H
index 0baa3a70e..2f0430d83 100644
--- a/src/include/usr/secureboot/service.H
+++ b/src/include/usr/secureboot/service.H
@@ -33,8 +33,6 @@
#include <securerom/sha512.H>
#include <securerom/ROM.H>
-typedef uint8_t SHA512_t[SHA512_DIGEST_LENGTH];
-
/*
* @brief Used to capture the first 4 bytes of the hash for tracing purposes
*/
@@ -222,7 +220,7 @@ namespace SECUREBOOT
* @return errlHndl_t NULL on success
*/
errlHndl_t verifyContainer(void * i_container,
- const sha2_hash_t* i_hwKeyHash = nullptr);
+ const SHA512_t* i_hwKeyHash = nullptr);
/**
* @brief Hash Signed Blob
@@ -238,10 +236,10 @@ namespace SECUREBOOT
/**
* @brief Retrieve the internal hardware keys' hash used to validate
* containers
- * @param[out] o_hash Reference to the sha2_hash_t array to copy the
+ * @param[out] o_hash Reference to the SHA512_t array to copy the
* hash to.
*/
- void getHwKeyHash(sha2_hash_t o_hash);
+ void getHwKeyHash(SHA512_t o_hash);
/*
* @brief Hash the concatenation of N Blobs
OpenPOWER on IntegriCloud