diff options
| author | Chris Engel <cjengel@us.ibm.com> | 2016-02-25 20:41:52 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-03-08 14:03:10 -0500 |
| commit | 76ec87b247baa7a9f2564ab576a05385b8814c83 (patch) | |
| tree | ec0cf31fdb87e779a72ae127e4fe78fd66e021bf /src/usr/secureboot/trusted/test | |
| parent | ced9d370d02715fb8e492623b4d49b873ea48d0e (diff) | |
| download | talos-hostboot-76ec87b247baa7a9f2564ab576a05385b8814c83.tar.gz talos-hostboot-76ec87b247baa7a9f2564ab576a05385b8814c83.zip | |
Trustedboot : Refactor to allow for skiboot import of TSSLite
Change-Id: I1e90a71f1027e0a801b96cbad6d59e432357f281
RTC: 125289
ForwardPort: yes
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21318
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Tested-by: FSP CI Jenkins
Reviewed-by: Timothy R. Block <block@us.ibm.com>
Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21809
Diffstat (limited to 'src/usr/secureboot/trusted/test')
| -rwxr-xr-x | src/usr/secureboot/trusted/test/trustedbootTest.H | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/usr/secureboot/trusted/test/trustedbootTest.H b/src/usr/secureboot/trusted/test/trustedbootTest.H index de2a2d8ed..7b008ca5d 100755 --- a/src/usr/secureboot/trusted/test/trustedbootTest.H +++ b/src/usr/secureboot/trusted/test/trustedbootTest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015 */ +/* Contributors Listed Below - COPYRIGHT 2015,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -40,6 +40,7 @@ #include <secureboot/trustedbootif.H> #include "../trustedTypes.H" #include "../trustedboot.H" +#include "../trustedbootCmds.H" extern trace_desc_t* g_trac_trustedboot; @@ -74,7 +75,7 @@ class TrustedBootTest: public CxxTest::TestSuite err = tpmMarshalCommandData(i_cmd, o_outbuf, i_bufsize, - o_cmdSize); + &o_cmdSize); io_num_ops++; if (NULL == err) { @@ -112,7 +113,7 @@ class TrustedBootTest: public CxxTest::TestSuite err = tpmMarshalCommandData(i_cmd, o_outbuf, i_bufsize, - o_cmdSize); + &o_cmdSize); io_num_ops++; if (NULL != err) { @@ -141,7 +142,7 @@ class TrustedBootTest: public CxxTest::TestSuite err = tpmMarshalCommandData(i_cmd, o_outbuf, i_expSize-1, - o_cmdSize); + &o_cmdSize); io_num_ops++; if (NULL == err) { @@ -159,7 +160,7 @@ class TrustedBootTest: public CxxTest::TestSuite err = tpmMarshalCommandData(i_cmd, o_outbuf, i_expSize/2, - o_cmdSize); + &o_cmdSize); io_num_ops++; if (NULL == err) { @@ -177,7 +178,7 @@ class TrustedBootTest: public CxxTest::TestSuite err = tpmMarshalCommandData(i_cmd, o_outbuf, i_expSize/3, - o_cmdSize); + &o_cmdSize); io_num_ops++; if (NULL == err) { |

