summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/base/test/secureromtest.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/secureboot/base/test/secureromtest.H')
-rw-r--r--src/usr/secureboot/base/test/secureromtest.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/secureboot/base/test/secureromtest.H b/src/usr/secureboot/base/test/secureromtest.H
index 805b5bc2b..8a4ff4043 100644
--- a/src/usr/secureboot/base/test/secureromtest.H
+++ b/src/usr/secureboot/base/test/secureromtest.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -62,7 +62,7 @@ void unloadSignedFile( void * & io_signedFile_pageAddr,
// secureboot_signed_container was generated using this hw hash key. If another
// key is in pibmem, this test will always fail.
-const uint64_t hw_hash_key[] =
+const uint64_t hw_key_hash[] =
{
0x40d487ff7380ed6a,
0xd54775d5795fea0d,
@@ -129,8 +129,8 @@ class SecureROMTest : public CxxTest::TestSuite
return;
}
- // Set hw hash key
- memcpy (& l_sRom.iv_hash_key, &hw_hash_key, sizeof(sha2_hash_t));
+ // Set hardware keys' hash
+ memcpy (& l_sRom.iv_key_hash, &hw_key_hash, sizeof(sha2_hash_t));
/*******************************************************************/
/* Call verify function */
OpenPOWER on IntegriCloud