diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2017-01-25 13:10:08 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-02-02 15:06:55 -0500 |
commit | a42bbccdd949bc4b78e856087019c73a126420d4 (patch) | |
tree | 5fdc402c77c9578d3ddbcd4095cfe887f0f44cf6 /src/usr/secureboot/base/test | |
parent | 31591a027b6d76be0cd081d3bcce2e746fdc7623 (diff) | |
download | blackbird-hostboot-a42bbccdd949bc4b78e856087019c73a126420d4.tar.gz blackbird-hostboot-a42bbccdd949bc4b78e856087019c73a126420d4.zip |
Support extending sections to PCRs
- Ported p8 secureboot PCR extension code
Change-Id: I2bbf6ee6b2980c2fbe32dfb9cad25e9e2aba3285
RTC: 167581
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35632
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base/test')
-rw-r--r-- | src/usr/secureboot/base/test/secureromtest.H | 8 |
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 */ |