rev162: Comment fixes and changes to unused code

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2020-06-26 16:37:02 -04:00 committed by Stefan Berger
parent 4f8f6e7259
commit f49621ff3a
5 changed files with 16 additions and 16 deletions

View File

@ -3,7 +3,7 @@
/* Build Switches */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: TpmBuildSwitches.h 1594 2020-03-26 22:15:48Z kgoldman $ */
/* $Id: TpmBuildSwitches.h 1619 2020-05-19 16:51:47Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */

View File

@ -3,7 +3,7 @@
/* TPM Size Checks */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: TpmSizeChecks.c 1594 2020-03-26 22:15:48Z kgoldman $ */
/* $Id: TpmSizeChecks.c 1628 2020-05-27 19:35:29Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */
@ -55,8 +55,8 @@
/* arising in any way out of use or reliance upon this specification or any */
/* information herein. */
/* */
/* (c) Copyright IBM Corp. and others, 2016 - 2019 */
/*20 */
/* (c) Copyright IBM Corp. and others, 2016 - 2020 */
/* */
/********************************************************************************/
//** Includes, Defines, and Types
@ -168,7 +168,7 @@ TpmSizeChecks(
if(MAX_CONTEXT_SIZE < biggestContext)
{
printf("MAX_CONTEXT_SIZE should be changed to %d (%d)\n",
printf("MAX_CONTEXT_SIZE needs to be increased to at least to %d (%d)\n",
biggestContext, MAX_CONTEXT_SIZE);
PASS = FALSE;
}

View File

@ -1,9 +1,9 @@
/********************************************************************************/
/* */
/* */
/* Sample Vendor Specific Command */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: Vendor_TCG_Test_fp.h 809 2016-11-16 18:31:54Z kgoldman $ */
/* $Id: Vendor_TCG_Test_fp.h 1635 2020-06-12 21:48:27Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */
@ -55,7 +55,7 @@
/* arising in any way out of use or reliance upon this specification or any */
/* information herein. */
/* */
/* (c) Copyright IBM Corp. and others, 2016 */
/* (c) Copyright IBM Corp. and others, 2016 - 2020 */
/* */
/********************************************************************************/
@ -63,12 +63,12 @@
#define VENDOR_TCG_TEST_FP_H
typedef struct {
UINT8 inputData;
} Vendor_TCG_Test_In;
TPM2B_DATA inputData;
} Vendor_TCG_Test_In;
typedef struct {
UINT8 outputData;
} Vendor_TCG_Test_Out;
TPM2B_DATA outputData;
} Vendor_TCG_Test_Out;
TPM_RC
TPM2_Vendor_TCG_Test(

View File

@ -3,7 +3,7 @@
/* select the library code that gets included in the TPM build */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: LibSupport.h 1603 2020-04-03 17:48:43Z kgoldman $ */
/* $Id: LibSupport.h 1628 2020-05-27 19:35:29Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */
@ -71,7 +71,7 @@
|| defined(__amd64__) || defined(__amd64) \
|| defined(_WIN64) || defined(_M_X64) \
|| defined(_M_ARM64) || defined(__aarch64__) \
|| defined(__powerpc64__) || defined(__ppc64__) \
|| defined(__powerpc64__) || defined(__PPC64__) || defined(__ppc64__) \
|| defined(__s390x__)
# define RADIX_BITS 64
# elif defined(__i386__) || defined(__i386) || defined(i386) \

View File

@ -3,7 +3,7 @@
/* Used to splice the OpenSSL() hash code into the TPM code */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: TpmToOsslHash.h 1600 2020-03-30 22:08:01Z kgoldman $ */
/* $Id: TpmToOsslHash.h 1628 2020-05-27 19:35:29Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */
@ -55,7 +55,7 @@
/* arising in any way out of use or reliance upon this specification or any */
/* information herein. */
/* */
/* (c) Copyright IBM Corp. and others, 2016 - 20 - 2020 */
/* (c) Copyright IBM Corp. and others, 2016 - 2020 */
/* */
/********************************************************************************/