TianoCore EDK2 master
Loading...
Searching...
No Matches
TcgStorageCore.h File Reference
#include <Base.h>

Go to the source code of this file.

Data Structures

struct  TCG_COM_PACKET
 
struct  TCG_PACKET
 
struct  TCG_SUB_PACKET
 
struct  TCG_TINY_ATOM_BITS
 
union  TCG_SIMPLE_TOKEN_TINY_ATOM
 
struct  TCG_SHORT_ATOM_BITS
 
union  TCG_SIMPLE_TOKEN_SHORT_ATOM
 
struct  TCG_MEDIUM_ATOM_BITS
 
union  TCG_SIMPLE_TOKEN_MEDIUM_ATOM
 
struct  TCG_LONG_ATOM_BITS
 
union  TCG_SIMPLE_TOKEN_LONG_ATOM
 
struct  TCG_SUPPORTED_SECURITY_PROTOCOLS
 
struct  TCG_LEVEL0_DISCOVERY_HEADER
 
struct  _TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER
 
struct  TCG_LOCKING_FEATURE_DESCRIPTOR
 
struct  TCG_BLOCK_SID_FEATURE_DESCRIPTOR
 
struct  TCG_TPER_FEATURE_DESCRIPTOR
 

Macros

#define TCG_TO_UID(b0, b1, b2, b3, b4, b5, b6, b7)
 
#define TCG_SUBPACKET_ALIGNMENT   4
 
#define SUBPACKET_KIND_DATA   0x0000
 
#define SUBPACKET_KIND_CREDIT_CONTROL   0x8001
 
#define TCG_ATOM_TYPE_INTEGER   0x0
 
#define TCG_ATOM_TYPE_BYTE   0x1
 
#define TCG_MEDIUM_ATOM_LENGTH_HIGH_SHIFT   0x8
 
#define TCG_MEDIUM_ATOM_LENGTH_HIGH_MASK   0x7
 
#define TCG_LONG_ATOM_LENGTH_HIGH_SHIFT   16
 
#define TCG_LONG_ATOM_LENGTH_MID_SHIFT   8
 
#define TCG_TOKEN_SHORTATOM_MAX_BYTE_SIZE   0x0F
 
#define TCG_TOKEN_MEDIUMATOM_MAX_BYTE_SIZE   0x7FF
 
#define TCG_TOKEN_LONGATOM_MAX_BYTE_SIZE   0xFFFFFF
 
#define TCG_TOKEN_TINYATOM_UNSIGNED_MAX_VALUE   0x3F
 
#define TCG_TOKEN_TINYATOM_SIGNED_MAX_VALUE   0x1F
 
#define TCG_TOKEN_TINYATOM_SIGNED_MIN_VALUE   -32
 
#define TCG_TOKEN_TINYATOM   0x00
 
#define TCG_TOKEN_TINYSIGNEDATOM   0x40
 
#define TCG_TOKEN_SHORTATOM   0x80
 
#define TCG_TOKEN_SHORTSIGNEDATOM   0x90
 
#define TCG_TOKEN_SHORTBYTESATOM   0xA0
 
#define TCG_TOKEN_MEDIUMATOM   0xC0
 
#define TCG_TOKEN_MEDIUMSIGNEDATOM   0xC8
 
#define TCG_TOKEN_MEDIUMBYTESATOM   0xD0
 
#define TCG_TOKEN_LONGATOM   0xE0
 
#define TCG_TOKEN_LONGSIGNEDATOM   0xE1
 
#define TCG_TOKEN_LONGBYTESATOM   0xE2
 
#define TCG_TOKEN_STARTLIST   0xF0
 
#define TCG_TOKEN_ENDLIST   0xF1
 
#define TCG_TOKEN_STARTNAME   0xF2
 
#define TCG_TOKEN_ENDNAME   0xF3
 
#define TCG_TOKEN_CALL   0xF8
 
#define TCG_TOKEN_ENDDATA   0xF9
 
#define TCG_TOKEN_ENDSESSION   0xFA
 
#define TCG_TOKEN_STARTTRANSACTION   0xFB
 
#define TCG_TOKEN_ENDTRANSACTION   0xFC
 
#define TCG_TOKEN_EMPTY   0xFF
 
#define TCG_CELL_BLOCK_TABLE_NAME   (UINT8)0x00
 
#define TCG_CELL_BLOCK_START_ROW_NAME   (UINT8)0x01
 
#define TCG_CELL_BLOCK_END_ROW_NAME   (UINT8)0x02
 
#define TCG_CELL_BLOCK_START_COLUMN_NAME   (UINT8)0x03
 
#define TCG_CELL_BLOCK_END_COLUMN_NAME   (UINT8)0x04
 
#define TCG_METHOD_STATUS_CODE_SUCCESS   0x00
 
#define TCG_METHOD_STATUS_CODE_NOT_AUTHORIZED   0x01
 
#define TCG_METHOD_STATUS_CODE_OBSOLETE   0x02
 
#define TCG_METHOD_STATUS_CODE_SP_BUSY   0x03
 
#define TCG_METHOD_STATUS_CODE_SP_FAILED   0x04
 
#define TCG_METHOD_STATUS_CODE_SP_DISABLED   0x05
 
#define TCG_METHOD_STATUS_CODE_SP_FROZEN   0x06
 
#define TCG_METHOD_STATUS_CODE_NO_SESSIONS_AVAILABLE   0x07
 
#define TCG_METHOD_STATUS_CODE_UNIQUENESS_CONFLICT   0x08
 
#define TCG_METHOD_STATUS_CODE_INSUFFICIENT_SPACE   0x09
 
#define TCG_METHOD_STATUS_CODE_INSUFFICIENT_ROWS   0x0A
 
#define TCG_METHOD_STATUS_CODE_INVALID_PARAMETER   0x0C
 
#define TCG_METHOD_STATUS_CODE_OBSOLETE2   0x0D
 
#define TCG_METHOD_STATUS_CODE_OBSOLETE3   0x0E
 
#define TCG_METHOD_STATUS_CODE_TPER_MALFUNCTION   0x0F
 
#define TCG_METHOD_STATUS_CODE_TRANSACTION_FAILURE   0x10
 
#define TCG_METHOD_STATUS_CODE_RESPONSE_OVERFLOW   0x11
 
#define TCG_METHOD_STATUS_CODE_AUTHORITY_LOCKED_OUT   0x12
 
#define TCG_METHOD_STATUS_CODE_FAIL   0x3F
 
#define TCG_FEATURE_INVALID   (UINT16)0x0000
 
#define TCG_FEATURE_TPER   (UINT16)0x0001
 
#define TCG_FEATURE_LOCKING   (UINT16)0x0002
 
#define TCG_FEATURE_GEOMETRY_REPORTING   (UINT16)0x0003
 
#define TCG_FEATURE_SINGLE_USER_MODE   (UINT16)0x0201
 
#define TCG_FEATURE_DATASTORE_TABLE   (UINT16)0x0202
 
#define TCG_FEATURE_OPAL_SSC_V1_0_0   (UINT16)0x0200
 
#define TCG_FEATURE_OPAL_SSC_V2_0_0   (UINT16)0x0203
 
#define TCG_FEATURE_OPAL_SSC_LITE   (UINT16)0x0301
 
#define TCG_FEATURE_PYRITE_SSC   (UINT16)0x0302
 
#define TCG_FEATURE_PYRITE_SSC_V2_0_0   (UINT16)0x0303
 
#define TCG_FEATURE_BLOCK_SID   (UINT16)0x0402
 
#define TCG_FEATURE_DATA_REMOVAL   (UINT16)0x0404
 
#define TCG_ACE_EXPRESSION_AND   0x0
 
#define TCG_ACE_EXPRESSION_OR   0x1
 
#define TCG_SECURITY_PROTOCOL_INFO   0x00
 
#define TCG_OPAL_SECURITY_PROTOCOL_1   0x01
 
#define TCG_OPAL_SECURITY_PROTOCOL_2   0x02
 
#define TCG_SECURITY_PROTOCOL_TCG3   0x03
 
#define TCG_SECURITY_PROTOCOL_TCG4   0x04
 
#define TCG_SECURITY_PROTOCOL_TCG5   0x05
 
#define TCG_SECURITY_PROTOCOL_TCG6   0x06
 
#define TCG_SECURITY_PROTOCOL_CBCS   0x07
 
#define TCG_SECURITY_PROTOCOL_TAPE_DATA   0x20
 
#define TCG_SECURITY_PROTOCOL_DATA_ENCRYPT_CONFIG   0x21
 
#define TCG_SECURITY_PROTOCOL_SA_CREATION_CAPS   0x40
 
#define TCG_SECURITY_PROTOCOL_IKEV2_SCSI   0x41
 
#define TCG_SECURITY_PROTOCOL_JEDEC_UFS   0xEC
 
#define TCG_SECURITY_PROTOCOL_SDCARD_SECURITY   0xED
 
#define TCG_SECURITY_PROTOCOL_IEEE_1667   0xEE
 
#define TCG_SECURITY_PROTOCOL_ATA_DEVICE_SERVER_PASS   0xEF
 
#define TCG_SP_SPECIFIC_PROTOCOL_LIST   0x0000
 
#define TCG_SP_SPECIFIC_PROTOCOL_LEVEL0_DISCOVERY   0x0001
 
#define TCG_RESERVED_COMID   0x0000
 
#define TCG_BLOCKSID_COMID   0x0005
 
#define TCG_UID_NULL   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
 
#define TCG_UID_THIS_SP   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01)
 
#define TCG_UID_SMUID   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF)
 
#define TCG_UID_SM_PROPERTIES   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x01)
 
#define TCG_UID_SM_START_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x02)
 
#define TCG_UID_SM_SYNC_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03)
 
#define TCG_UID_SM_START_TRUSTED_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x04)
 
#define TCG_UID_SM_SYNC_TRUSTED_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x05)
 
#define TCG_UID_SM_CLOSE_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x06)
 
#define TCG_UID_METHOD_DELETE_SP   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x01)
 
#define TCG_UID_METHOD_CREATE_TABLE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x02)
 
#define TCG_UID_METHOD_DELETE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03)
 
#define TCG_UID_METHOD_CREATE_ROW   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x04)
 
#define TCG_UID_METHOD_DELETE_ROW   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x05)
 
#define TCG_UID_METHOD_NEXT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x08)
 
#define TCG_UID_METHOD_GET_FREE_SPACE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x09)
 
#define TCG_UID_METHOD_GET_FREE_ROWS   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0A)
 
#define TCG_UID_METHOD_DELETE_METHOD   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0B)
 
#define TCG_UID_METHOD_GET_ACL   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0D)
 
#define TCG_UID_METHOD_ADD_ACE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0E)
 
#define TCG_UID_METHOD_REMOVE_ACE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0F)
 
#define TCG_UID_METHOD_GEN_KEY   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x10)
 
#define TCG_UID_METHOD_GET_PACKAGE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x12)
 
#define TCG_UID_METHOD_SET_PACKAGE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x13)
 
#define TCG_UID_METHOD_GET   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x16)
 
#define TCG_UID_METHOD_SET   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x17)
 
#define TCG_UID_METHOD_AUTHENTICATE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x1C)
 
#define TCG_UID_METHOD_ISSUE_SP   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x01)
 
#define TCG_UID_METHOD_GET_CLOCK   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x01)
 
#define TCG_UID_METHOD_RESET_CLOCK   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x02)
 
#define TCG_UID_METHOD_SET_CLOCK_HIGH   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x03)
 
#define TCG_UID_METHOD_SET_LAG_HIGH   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x04)
 
#define TCG_UID_METHOD_SET_CLOCK_LOW   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x05)
 
#define TCG_UID_METHOD_SET_LAG_LOW   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x06)
 
#define TCG_UID_METHOD_INCREMENT_COUNTER   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x07)
 
#define TCG_UID_METHOD_RANDOM   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x01)
 
#define TCG_UID_METHOD_SALT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x02)
 
#define TCG_UID_METHOD_DECRYPT_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x03)
 
#define TCG_UID_METHOD_DECRYPT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x04)
 
#define TCG_UID_METHOD_DECRYPT_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x05)
 
#define TCG_UID_METHOD_ENCRYPT_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x06)
 
#define TCG_UID_METHOD_ENCRYPT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x07)
 
#define TCG_UID_METHOD_ENCRYPT_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x08)
 
#define TCG_UID_METHOD_HMAC_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x09)
 
#define TCG_UID_METHOD_HMAC   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0A)
 
#define TCG_UID_METHOD_HMAC_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0B)
 
#define TCG_UID_METHOD_HASH_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0C)
 
#define TCG_UID_METHOD_HASH   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0D)
 
#define TCG_UID_METHOD_HASH_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0E)
 
#define TCG_UID_METHOD_SIGN   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0F)
 
#define TCG_UID_METHOD_VERIFY   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x10)
 
#define TCG_UID_METHOD_XOR   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x11)
 
#define TCG_UID_METHOD_ADD_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x01)
 
#define TCG_UID_METHOD_CREATE_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x02)
 
#define TCG_UID_METHOD_CLEAR_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x03)
 
#define TCG_UID_METHOD_FLUSH_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x04)
 

Typedefs

typedef UINT64 TCG_UID
 UID in host native byte order.
 
typedef struct _TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER
 

Enumerations

enum  TCG_TOKEN_TYPE {
  TcgTokenTypeReserved , TcgTokenTypeTinyAtom , TcgTokenTypeShortAtom , TcgTokenTypeMediumAtom ,
  TcgTokenTypeLongAtom , TcgTokenTypeStartList , TcgTokenTypeEndList , TcgTokenTypeStartName ,
  TcgTokenTypeEndName , TcgTokenTypeCall , TcgTokenTypeEndOfData , TcgTokenTypeEndOfSession ,
  TcgTokenTypeStartTransaction , TcgTokenTypeEndTransaction , TcgTokenTypeEmptyAtom
}
 

Detailed Description

TCG defined values and structures.

(TCG Storage Architecture Core Specification, Version 2.01, Revision 1.00, https://trustedcomputinggroup.org/tcg-storage-architecture-core-specification/)

Check http://trustedcomputinggroup.org for latest specification updates.

Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file TcgStorageCore.h.

Macro Definition Documentation

◆ SUBPACKET_KIND_CREDIT_CONTROL

#define SUBPACKET_KIND_CREDIT_CONTROL   0x8001

Definition at line 65 of file TcgStorageCore.h.

◆ SUBPACKET_KIND_DATA

#define SUBPACKET_KIND_DATA   0x0000

Definition at line 64 of file TcgStorageCore.h.

◆ TCG_ACE_EXPRESSION_AND

#define TCG_ACE_EXPRESSION_AND   0x0

Definition at line 230 of file TcgStorageCore.h.

◆ TCG_ACE_EXPRESSION_OR

#define TCG_ACE_EXPRESSION_OR   0x1

Definition at line 231 of file TcgStorageCore.h.

◆ TCG_ATOM_TYPE_BYTE

#define TCG_ATOM_TYPE_BYTE   0x1

Definition at line 68 of file TcgStorageCore.h.

◆ TCG_ATOM_TYPE_INTEGER

#define TCG_ATOM_TYPE_INTEGER   0x0

Definition at line 67 of file TcgStorageCore.h.

◆ TCG_BLOCKSID_COMID

#define TCG_BLOCKSID_COMID   0x0005

Definition at line 263 of file TcgStorageCore.h.

◆ TCG_CELL_BLOCK_END_COLUMN_NAME

#define TCG_CELL_BLOCK_END_COLUMN_NAME   (UINT8)0x04

Definition at line 191 of file TcgStorageCore.h.

◆ TCG_CELL_BLOCK_END_ROW_NAME

#define TCG_CELL_BLOCK_END_ROW_NAME   (UINT8)0x02

Definition at line 189 of file TcgStorageCore.h.

◆ TCG_CELL_BLOCK_START_COLUMN_NAME

#define TCG_CELL_BLOCK_START_COLUMN_NAME   (UINT8)0x03

Definition at line 190 of file TcgStorageCore.h.

◆ TCG_CELL_BLOCK_START_ROW_NAME

#define TCG_CELL_BLOCK_START_ROW_NAME   (UINT8)0x01

Definition at line 188 of file TcgStorageCore.h.

◆ TCG_CELL_BLOCK_TABLE_NAME

#define TCG_CELL_BLOCK_TABLE_NAME   (UINT8)0x00

Definition at line 187 of file TcgStorageCore.h.

◆ TCG_FEATURE_BLOCK_SID

#define TCG_FEATURE_BLOCK_SID   (UINT16)0x0402

Definition at line 226 of file TcgStorageCore.h.

◆ TCG_FEATURE_DATA_REMOVAL

#define TCG_FEATURE_DATA_REMOVAL   (UINT16)0x0404

Definition at line 227 of file TcgStorageCore.h.

◆ TCG_FEATURE_DATASTORE_TABLE

#define TCG_FEATURE_DATASTORE_TABLE   (UINT16)0x0202

Definition at line 220 of file TcgStorageCore.h.

◆ TCG_FEATURE_GEOMETRY_REPORTING

#define TCG_FEATURE_GEOMETRY_REPORTING   (UINT16)0x0003

Definition at line 218 of file TcgStorageCore.h.

◆ TCG_FEATURE_INVALID

#define TCG_FEATURE_INVALID   (UINT16)0x0000

Definition at line 215 of file TcgStorageCore.h.

◆ TCG_FEATURE_LOCKING

#define TCG_FEATURE_LOCKING   (UINT16)0x0002

Definition at line 217 of file TcgStorageCore.h.

◆ TCG_FEATURE_OPAL_SSC_LITE

#define TCG_FEATURE_OPAL_SSC_LITE   (UINT16)0x0301

Definition at line 223 of file TcgStorageCore.h.

◆ TCG_FEATURE_OPAL_SSC_V1_0_0

#define TCG_FEATURE_OPAL_SSC_V1_0_0   (UINT16)0x0200

Definition at line 221 of file TcgStorageCore.h.

◆ TCG_FEATURE_OPAL_SSC_V2_0_0

#define TCG_FEATURE_OPAL_SSC_V2_0_0   (UINT16)0x0203

Definition at line 222 of file TcgStorageCore.h.

◆ TCG_FEATURE_PYRITE_SSC

#define TCG_FEATURE_PYRITE_SSC   (UINT16)0x0302

Definition at line 224 of file TcgStorageCore.h.

◆ TCG_FEATURE_PYRITE_SSC_V2_0_0

#define TCG_FEATURE_PYRITE_SSC_V2_0_0   (UINT16)0x0303

Definition at line 225 of file TcgStorageCore.h.

◆ TCG_FEATURE_SINGLE_USER_MODE

#define TCG_FEATURE_SINGLE_USER_MODE   (UINT16)0x0201

Definition at line 219 of file TcgStorageCore.h.

◆ TCG_FEATURE_TPER

#define TCG_FEATURE_TPER   (UINT16)0x0001

Definition at line 216 of file TcgStorageCore.h.

◆ TCG_LONG_ATOM_LENGTH_HIGH_SHIFT

#define TCG_LONG_ATOM_LENGTH_HIGH_SHIFT   16

Definition at line 111 of file TcgStorageCore.h.

◆ TCG_LONG_ATOM_LENGTH_MID_SHIFT

#define TCG_LONG_ATOM_LENGTH_MID_SHIFT   8

Definition at line 112 of file TcgStorageCore.h.

◆ TCG_MEDIUM_ATOM_LENGTH_HIGH_MASK

#define TCG_MEDIUM_ATOM_LENGTH_HIGH_MASK   0x7

Definition at line 94 of file TcgStorageCore.h.

◆ TCG_MEDIUM_ATOM_LENGTH_HIGH_SHIFT

#define TCG_MEDIUM_ATOM_LENGTH_HIGH_SHIFT   0x8

Definition at line 93 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_AUTHORITY_LOCKED_OUT

#define TCG_METHOD_STATUS_CODE_AUTHORITY_LOCKED_OUT   0x12

Definition at line 211 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_FAIL

#define TCG_METHOD_STATUS_CODE_FAIL   0x3F

Definition at line 212 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_INSUFFICIENT_ROWS

#define TCG_METHOD_STATUS_CODE_INSUFFICIENT_ROWS   0x0A

Definition at line 204 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_INSUFFICIENT_SPACE

#define TCG_METHOD_STATUS_CODE_INSUFFICIENT_SPACE   0x09

Definition at line 203 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_INVALID_PARAMETER

#define TCG_METHOD_STATUS_CODE_INVALID_PARAMETER   0x0C

Definition at line 205 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_NO_SESSIONS_AVAILABLE

#define TCG_METHOD_STATUS_CODE_NO_SESSIONS_AVAILABLE   0x07

Definition at line 201 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_NOT_AUTHORIZED

#define TCG_METHOD_STATUS_CODE_NOT_AUTHORIZED   0x01

Definition at line 195 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_OBSOLETE

#define TCG_METHOD_STATUS_CODE_OBSOLETE   0x02

Definition at line 196 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_OBSOLETE2

#define TCG_METHOD_STATUS_CODE_OBSOLETE2   0x0D

Definition at line 206 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_OBSOLETE3

#define TCG_METHOD_STATUS_CODE_OBSOLETE3   0x0E

Definition at line 207 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_RESPONSE_OVERFLOW

#define TCG_METHOD_STATUS_CODE_RESPONSE_OVERFLOW   0x11

Definition at line 210 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_SP_BUSY

#define TCG_METHOD_STATUS_CODE_SP_BUSY   0x03

Definition at line 197 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_SP_DISABLED

#define TCG_METHOD_STATUS_CODE_SP_DISABLED   0x05

Definition at line 199 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_SP_FAILED

#define TCG_METHOD_STATUS_CODE_SP_FAILED   0x04

Definition at line 198 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_SP_FROZEN

#define TCG_METHOD_STATUS_CODE_SP_FROZEN   0x06

Definition at line 200 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_SUCCESS

#define TCG_METHOD_STATUS_CODE_SUCCESS   0x00

Definition at line 194 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_TPER_MALFUNCTION

#define TCG_METHOD_STATUS_CODE_TPER_MALFUNCTION   0x0F

Definition at line 208 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_TRANSACTION_FAILURE

#define TCG_METHOD_STATUS_CODE_TRANSACTION_FAILURE   0x10

Definition at line 209 of file TcgStorageCore.h.

◆ TCG_METHOD_STATUS_CODE_UNIQUENESS_CONFLICT

#define TCG_METHOD_STATUS_CODE_UNIQUENESS_CONFLICT   0x08

Definition at line 202 of file TcgStorageCore.h.

◆ TCG_OPAL_SECURITY_PROTOCOL_1

#define TCG_OPAL_SECURITY_PROTOCOL_1   0x01

Definition at line 239 of file TcgStorageCore.h.

◆ TCG_OPAL_SECURITY_PROTOCOL_2

#define TCG_OPAL_SECURITY_PROTOCOL_2   0x02

Definition at line 240 of file TcgStorageCore.h.

◆ TCG_RESERVED_COMID

#define TCG_RESERVED_COMID   0x0000

Definition at line 259 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_ATA_DEVICE_SERVER_PASS

#define TCG_SECURITY_PROTOCOL_ATA_DEVICE_SERVER_PASS   0xEF

Definition at line 253 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_CBCS

#define TCG_SECURITY_PROTOCOL_CBCS   0x07

Definition at line 245 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_DATA_ENCRYPT_CONFIG

#define TCG_SECURITY_PROTOCOL_DATA_ENCRYPT_CONFIG   0x21

Definition at line 247 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_IEEE_1667

#define TCG_SECURITY_PROTOCOL_IEEE_1667   0xEE

Definition at line 252 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_IKEV2_SCSI

#define TCG_SECURITY_PROTOCOL_IKEV2_SCSI   0x41

Definition at line 249 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_INFO

#define TCG_SECURITY_PROTOCOL_INFO   0x00

Definition at line 238 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_JEDEC_UFS

#define TCG_SECURITY_PROTOCOL_JEDEC_UFS   0xEC

Definition at line 250 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_SA_CREATION_CAPS

#define TCG_SECURITY_PROTOCOL_SA_CREATION_CAPS   0x40

Definition at line 248 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_SDCARD_SECURITY

#define TCG_SECURITY_PROTOCOL_SDCARD_SECURITY   0xED

Definition at line 251 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_TAPE_DATA

#define TCG_SECURITY_PROTOCOL_TAPE_DATA   0x20

Definition at line 246 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_TCG3

#define TCG_SECURITY_PROTOCOL_TCG3   0x03

Definition at line 241 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_TCG4

#define TCG_SECURITY_PROTOCOL_TCG4   0x04

Definition at line 242 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_TCG5

#define TCG_SECURITY_PROTOCOL_TCG5   0x05

Definition at line 243 of file TcgStorageCore.h.

◆ TCG_SECURITY_PROTOCOL_TCG6

#define TCG_SECURITY_PROTOCOL_TCG6   0x06

Definition at line 244 of file TcgStorageCore.h.

◆ TCG_SP_SPECIFIC_PROTOCOL_LEVEL0_DISCOVERY

#define TCG_SP_SPECIFIC_PROTOCOL_LEVEL0_DISCOVERY   0x0001

Definition at line 257 of file TcgStorageCore.h.

◆ TCG_SP_SPECIFIC_PROTOCOL_LIST

#define TCG_SP_SPECIFIC_PROTOCOL_LIST   0x0000

Definition at line 256 of file TcgStorageCore.h.

◆ TCG_SUBPACKET_ALIGNMENT

#define TCG_SUBPACKET_ALIGNMENT   4

Definition at line 55 of file TcgStorageCore.h.

◆ TCG_TO_UID

#define TCG_TO_UID (   b0,
  b1,
  b2,
  b3,
  b4,
  b5,
  b6,
  b7 
)
Value:
(TCG_UID)(\
(UINT64)(b0) | \
((UINT64)(b1) << 8) | \
((UINT64)(b2) << 16) | \
((UINT64)(b3) << 24) | \
((UINT64)(b4) << 32) | \
((UINT64)(b5) << 40) | \
((UINT64)(b6) << 48) | \
((UINT64)(b7) << 56))
UINT64 TCG_UID
UID in host native byte order.

Definition at line 24 of file TcgStorageCore.h.

◆ TCG_TOKEN_CALL

#define TCG_TOKEN_CALL   0xF8

Definition at line 178 of file TcgStorageCore.h.

◆ TCG_TOKEN_EMPTY

#define TCG_TOKEN_EMPTY   0xFF

Definition at line 184 of file TcgStorageCore.h.

◆ TCG_TOKEN_ENDDATA

#define TCG_TOKEN_ENDDATA   0xF9

Definition at line 179 of file TcgStorageCore.h.

◆ TCG_TOKEN_ENDLIST

#define TCG_TOKEN_ENDLIST   0xF1

Definition at line 174 of file TcgStorageCore.h.

◆ TCG_TOKEN_ENDNAME

#define TCG_TOKEN_ENDNAME   0xF3

Definition at line 176 of file TcgStorageCore.h.

◆ TCG_TOKEN_ENDSESSION

#define TCG_TOKEN_ENDSESSION   0xFA

Definition at line 180 of file TcgStorageCore.h.

◆ TCG_TOKEN_ENDTRANSACTION

#define TCG_TOKEN_ENDTRANSACTION   0xFC

Definition at line 182 of file TcgStorageCore.h.

◆ TCG_TOKEN_LONGATOM

#define TCG_TOKEN_LONGATOM   0xE0

Definition at line 170 of file TcgStorageCore.h.

◆ TCG_TOKEN_LONGATOM_MAX_BYTE_SIZE

#define TCG_TOKEN_LONGATOM_MAX_BYTE_SIZE   0xFFFFFF

Definition at line 155 of file TcgStorageCore.h.

◆ TCG_TOKEN_LONGBYTESATOM

#define TCG_TOKEN_LONGBYTESATOM   0xE2

Definition at line 172 of file TcgStorageCore.h.

◆ TCG_TOKEN_LONGSIGNEDATOM

#define TCG_TOKEN_LONGSIGNEDATOM   0xE1

Definition at line 171 of file TcgStorageCore.h.

◆ TCG_TOKEN_MEDIUMATOM

#define TCG_TOKEN_MEDIUMATOM   0xC0

Definition at line 167 of file TcgStorageCore.h.

◆ TCG_TOKEN_MEDIUMATOM_MAX_BYTE_SIZE

#define TCG_TOKEN_MEDIUMATOM_MAX_BYTE_SIZE   0x7FF

Definition at line 154 of file TcgStorageCore.h.

◆ TCG_TOKEN_MEDIUMBYTESATOM

#define TCG_TOKEN_MEDIUMBYTESATOM   0xD0

Definition at line 169 of file TcgStorageCore.h.

◆ TCG_TOKEN_MEDIUMSIGNEDATOM

#define TCG_TOKEN_MEDIUMSIGNEDATOM   0xC8

Definition at line 168 of file TcgStorageCore.h.

◆ TCG_TOKEN_SHORTATOM

#define TCG_TOKEN_SHORTATOM   0x80

Definition at line 164 of file TcgStorageCore.h.

◆ TCG_TOKEN_SHORTATOM_MAX_BYTE_SIZE

#define TCG_TOKEN_SHORTATOM_MAX_BYTE_SIZE   0x0F

Definition at line 153 of file TcgStorageCore.h.

◆ TCG_TOKEN_SHORTBYTESATOM

#define TCG_TOKEN_SHORTBYTESATOM   0xA0

Definition at line 166 of file TcgStorageCore.h.

◆ TCG_TOKEN_SHORTSIGNEDATOM

#define TCG_TOKEN_SHORTSIGNEDATOM   0x90

Definition at line 165 of file TcgStorageCore.h.

◆ TCG_TOKEN_STARTLIST

#define TCG_TOKEN_STARTLIST   0xF0

Definition at line 173 of file TcgStorageCore.h.

◆ TCG_TOKEN_STARTNAME

#define TCG_TOKEN_STARTNAME   0xF2

Definition at line 175 of file TcgStorageCore.h.

◆ TCG_TOKEN_STARTTRANSACTION

#define TCG_TOKEN_STARTTRANSACTION   0xFB

Definition at line 181 of file TcgStorageCore.h.

◆ TCG_TOKEN_TINYATOM

#define TCG_TOKEN_TINYATOM   0x00

Definition at line 162 of file TcgStorageCore.h.

◆ TCG_TOKEN_TINYATOM_SIGNED_MAX_VALUE

#define TCG_TOKEN_TINYATOM_SIGNED_MAX_VALUE   0x1F

Definition at line 158 of file TcgStorageCore.h.

◆ TCG_TOKEN_TINYATOM_SIGNED_MIN_VALUE

#define TCG_TOKEN_TINYATOM_SIGNED_MIN_VALUE   -32

Definition at line 159 of file TcgStorageCore.h.

◆ TCG_TOKEN_TINYATOM_UNSIGNED_MAX_VALUE

#define TCG_TOKEN_TINYATOM_UNSIGNED_MAX_VALUE   0x3F

Definition at line 157 of file TcgStorageCore.h.

◆ TCG_TOKEN_TINYSIGNEDATOM

#define TCG_TOKEN_TINYSIGNEDATOM   0x40

Definition at line 163 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_ADD_ACE

#define TCG_UID_METHOD_ADD_ACE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0E)

Definition at line 349 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_ADD_LOG

#define TCG_UID_METHOD_ADD_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x01)

Definition at line 382 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_AUTHENTICATE

#define TCG_UID_METHOD_AUTHENTICATE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x1C)

Definition at line 356 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_CLEAR_LOG

#define TCG_UID_METHOD_CLEAR_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x03)

Definition at line 384 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_CREATE_LOG

#define TCG_UID_METHOD_CREATE_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x02)

Definition at line 383 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_CREATE_ROW

#define TCG_UID_METHOD_CREATE_ROW   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x04)

Definition at line 342 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_CREATE_TABLE

#define TCG_UID_METHOD_CREATE_TABLE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x02)

Definition at line 340 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DECRYPT

#define TCG_UID_METHOD_DECRYPT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x04)

Definition at line 368 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DECRYPT_FINALIZE

#define TCG_UID_METHOD_DECRYPT_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x05)

Definition at line 369 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DECRYPT_INIT

#define TCG_UID_METHOD_DECRYPT_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x03)

Definition at line 367 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DELETE

#define TCG_UID_METHOD_DELETE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03)

Definition at line 341 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DELETE_METHOD

#define TCG_UID_METHOD_DELETE_METHOD   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0B)

Definition at line 347 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DELETE_ROW

#define TCG_UID_METHOD_DELETE_ROW   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x05)

Definition at line 343 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_DELETE_SP

#define TCG_UID_METHOD_DELETE_SP   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x01)

Definition at line 339 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_ENCRYPT

#define TCG_UID_METHOD_ENCRYPT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x07)

Definition at line 371 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_ENCRYPT_FINALIZE

#define TCG_UID_METHOD_ENCRYPT_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x08)

Definition at line 372 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_ENCRYPT_INIT

#define TCG_UID_METHOD_ENCRYPT_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x06)

Definition at line 370 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_FLUSH_LOG

#define TCG_UID_METHOD_FLUSH_LOG   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x0A, 0x04)

Definition at line 385 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GEN_KEY

#define TCG_UID_METHOD_GEN_KEY   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x10)

Definition at line 351 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GET

#define TCG_UID_METHOD_GET   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x16)

Definition at line 354 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GET_ACL

#define TCG_UID_METHOD_GET_ACL   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0D)

Definition at line 348 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GET_CLOCK

#define TCG_UID_METHOD_GET_CLOCK   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x01)

Definition at line 358 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GET_FREE_ROWS

#define TCG_UID_METHOD_GET_FREE_ROWS   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0A)

Definition at line 346 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GET_FREE_SPACE

#define TCG_UID_METHOD_GET_FREE_SPACE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x09)

Definition at line 345 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_GET_PACKAGE

#define TCG_UID_METHOD_GET_PACKAGE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x12)

Definition at line 352 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_HASH

#define TCG_UID_METHOD_HASH   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0D)

Definition at line 377 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_HASH_FINALIZE

#define TCG_UID_METHOD_HASH_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0E)

Definition at line 378 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_HASH_INIT

#define TCG_UID_METHOD_HASH_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0C)

Definition at line 376 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_HMAC

#define TCG_UID_METHOD_HMAC   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0A)

Definition at line 374 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_HMAC_FINALIZE

#define TCG_UID_METHOD_HMAC_FINALIZE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0B)

Definition at line 375 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_HMAC_INIT

#define TCG_UID_METHOD_HMAC_INIT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x09)

Definition at line 373 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_INCREMENT_COUNTER

#define TCG_UID_METHOD_INCREMENT_COUNTER   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x07)

Definition at line 364 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_ISSUE_SP

#define TCG_UID_METHOD_ISSUE_SP   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x01)

Definition at line 357 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_NEXT

#define TCG_UID_METHOD_NEXT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x08)

Definition at line 344 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_RANDOM

#define TCG_UID_METHOD_RANDOM   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x01)

Definition at line 365 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_REMOVE_ACE

#define TCG_UID_METHOD_REMOVE_ACE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0F)

Definition at line 350 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_RESET_CLOCK

#define TCG_UID_METHOD_RESET_CLOCK   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x02)

Definition at line 359 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SALT

#define TCG_UID_METHOD_SALT   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x02)

Definition at line 366 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SET

#define TCG_UID_METHOD_SET   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x17)

Definition at line 355 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SET_CLOCK_HIGH

#define TCG_UID_METHOD_SET_CLOCK_HIGH   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x03)

Definition at line 360 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SET_CLOCK_LOW

#define TCG_UID_METHOD_SET_CLOCK_LOW   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x05)

Definition at line 362 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SET_LAG_HIGH

#define TCG_UID_METHOD_SET_LAG_HIGH   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x04, 0x04)

Definition at line 361 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SET_LAG_LOW

#define TCG_UID_METHOD_SET_LAG_LOW   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x06)

Definition at line 363 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SET_PACKAGE

#define TCG_UID_METHOD_SET_PACKAGE   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x13)

Definition at line 353 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_SIGN

#define TCG_UID_METHOD_SIGN   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0F)

Definition at line 379 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_VERIFY

#define TCG_UID_METHOD_VERIFY   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x10)

Definition at line 380 of file TcgStorageCore.h.

◆ TCG_UID_METHOD_XOR

#define TCG_UID_METHOD_XOR   TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x11)

Definition at line 381 of file TcgStorageCore.h.

◆ TCG_UID_NULL

#define TCG_UID_NULL   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)

Definition at line 326 of file TcgStorageCore.h.

◆ TCG_UID_SM_CLOSE_SESSION

#define TCG_UID_SM_CLOSE_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x06)

Definition at line 336 of file TcgStorageCore.h.

◆ TCG_UID_SM_PROPERTIES

#define TCG_UID_SM_PROPERTIES   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x01)

Definition at line 331 of file TcgStorageCore.h.

◆ TCG_UID_SM_START_SESSION

#define TCG_UID_SM_START_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x02)

Definition at line 332 of file TcgStorageCore.h.

◆ TCG_UID_SM_START_TRUSTED_SESSION

#define TCG_UID_SM_START_TRUSTED_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x04)

Definition at line 334 of file TcgStorageCore.h.

◆ TCG_UID_SM_SYNC_SESSION

#define TCG_UID_SM_SYNC_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03)

Definition at line 333 of file TcgStorageCore.h.

◆ TCG_UID_SM_SYNC_TRUSTED_SESSION

#define TCG_UID_SM_SYNC_TRUSTED_SESSION   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x05)

Definition at line 335 of file TcgStorageCore.h.

◆ TCG_UID_SMUID

#define TCG_UID_SMUID   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF)

Definition at line 328 of file TcgStorageCore.h.

◆ TCG_UID_THIS_SP

#define TCG_UID_THIS_SP   TCG_TO_UID(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01)

Definition at line 327 of file TcgStorageCore.h.

Typedef Documentation

◆ TCG_UID

typedef UINT64 TCG_UID

UID in host native byte order.

Definition at line 22 of file TcgStorageCore.h.

Enumeration Type Documentation

◆ TCG_TOKEN_TYPE

enum TCG_TOKEN_TYPE

Definition at line 133 of file TcgStorageCore.h.