29#ifndef _TCG_STORAGE_OPAL_H_
30#define _TCG_STORAGE_OPAL_H_
34#define OPAL_UID_ADMIN_SP TCG_TO_UID(0x00, 0x00, 0x02, 0x05, 0x00, 0x00, 0x00, 0x01)
35#define OPAL_UID_ADMIN_SP_C_PIN_MSID TCG_TO_UID(0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x84, 0x02)
36#define OPAL_UID_ADMIN_SP_C_PIN_SID TCG_TO_UID(0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x01)
37#define OPAL_UID_LOCKING_SP TCG_TO_UID(0x00, 0x00, 0x02, 0x05, 0x00, 0x00, 0x00, 0x02)
41#define OPAL_ADMIN_SP_ANYBODY_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x01)
42#define OPAL_ADMIN_SP_ADMINS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02)
43#define OPAL_ADMIN_SP_MAKERS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x03)
44#define OPAL_ADMIN_SP_SID_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x06)
45#define OPAL_ADMIN_SP_ADMIN1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x02, 0x01)
46#define OPAL_ADMIN_SP_PSID_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0xFF, 0x01)
48#define OPAL_ADMIN_SP_ACTIVATE_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x03)
49#define OPAL_ADMIN_SP_REVERT_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x02)
53#define OPAL_UID_ADMIN_SP_DATA_REMOVAL_MECHANISM TCG_TO_UID(0x00, 0x00, 0x11, 0x01, 0x00, 0x00, 0x00, 0x01)
57#define OPAL_LOCKING_SP_ANYBODY_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x01)
58#define OPAL_LOCKING_SP_ADMINS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02)
59#define OPAL_LOCKING_SP_ADMIN1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x01)
60#define OPAL_LOCKING_SP_USERS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00, 0x00)
61#define OPAL_LOCKING_SP_USER1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00, 0x01)
63#define OPAL_LOCKING_SP_REVERTSP_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x11)
66#define OPAL_LOCKING_SP_C_PIN_ADMIN1 TCG_TO_UID( 0x00, 0x00, 0x00, 0x0B, 0x00, 0x01, 0x00, 0x01 )
67#define OPAL_LOCKING_SP_C_PIN_USER1 TCG_TO_UID( 0x00, 0x00, 0x00, 0x0B, 0x00, 0x03, 0x00, 0x01 )
70#define OPAL_LOCKING_SP_LOCKING_GLOBALRANGE TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 )
71#define OPAL_LOCKING_SP_LOCKING_RANGE1 TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x03, 0x00, 0x01 )
75#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_GET_ALL TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xD0, 0x00 )
76#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_RDLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE0, 0x00 )
77#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_WRLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE8, 0x00 )
79#define OPAL_LOCKING_SP_ACE_K_AES_256_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB8, 0x00 )
80#define OPAL_LOCKING_SP_ACE_K_AES_128_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB0, 0x00 )
84#define OPAL_LOCKING_SP_LOCKING_INFO TCG_TO_UID( 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x01 )
86#define OPAL_LOCKING_SP_LOCKINGINFO_ALIGNMENTREQUIRED_COL 0x7
87#define OPAL_LOCKING_SP_LOCKINGINFO_LOGICALBLOCKSIZE_COL 0x8
88#define OPAL_LOCKING_SP_LOCKINGINFO_ALIGNMENTGRANULARITY_COL 0x9
89#define OPAL_LOCKING_SP_LOCKINGINFO_LOWESTALIGNEDLBA_COL 0xA
92#define OPAL_LOCKING_SP_K_AES_256_GLOBALRANGE_KEY TCG_TO_UID( 0x00, 0x00, 0x08, 0x06, 0x00, 0x00, 0x00, 0x01 )
95#define OPAL_LOCKING_SP_K_AES_128_GLOBALRANGE_KEY TCG_TO_UID( 0x00, 0x00, 0x08, 0x05, 0x00, 0x00, 0x00, 0x01 )
98#define OPAL_MIN_MAX_COM_PACKET_SIZE 2048
99#define OPAL_MIN_MAX_REPONSE_COM_PACKET_SIZE 2048
100#define OPAL_MIN_MAX_PACKET_SIZE 2028
101#define OPAL_MIN_MAX_IND_TOKEN_SIZE 1992
102#define OPAL_MIN_MAX_PACKETS 1
103#define OPAL_MIN_MAX_SUBPACKETS 1
104#define OPAL_MIN_MAX_METHODS 1
105#define OPAL_MIN_MAX_SESSIONS 1
106#define OPAL_MIN_MAX_AUTHENTICATIONS 2
107#define OPAL_MIN_MAX_TRANSACTION_LIMIT 1
109#define OPAL_ADMIN_SP_PIN_COL 3
110#define OPAL_LOCKING_SP_C_PIN_TRYLIMIT_COL 5
111#define OPAL_RANDOM_METHOD_MAX_COUNT_SIZE 32
114#define OPAL_ADMIN_SP_ACTIVE_DATA_REMOVAL_MECHANISM_COL 1
unsigned int UINT32
Definition ProcessorBind.h:102
struct _DATA_REMOVAL_FEATURE_DESCRIPTOR DATA_REMOVAL_FEATURE_DESCRIPTOR
struct _PYRITE_SSCV2_FEATURE_DESCRIPTOR PYRITE_SSCV2_FEATURE_DESCRIPTOR
struct _OPAL_DATASTORE_TABLE_FEATURE OPAL_DATASTORE_TABLE_FEATURE
struct _OPAL_GEOMETRY_REPORTING_FEATURE OPAL_GEOMETRY_REPORTING_FEATURE
SUPPORTED_DATA_REMOVAL_MECHANISM
Definition TcgStorageOpal.h:120
@ VendorSpecificErase
Definition TcgStorageOpal.h:126
@ BlockErase
Definition TcgStorageOpal.h:122
@ ResetWritePointers
Definition TcgStorageOpal.h:125
@ Unmap
Definition TcgStorageOpal.h:124
@ ResearvedMechanism
Definition TcgStorageOpal.h:127
@ OverwriteDataErase
Definition TcgStorageOpal.h:121
@ CryptoErase
Definition TcgStorageOpal.h:123
struct _PYRITE_SSC_FEATURE_DESCRIPTOR PYRITE_SSC_FEATURE_DESCRIPTOR
struct _OPAL_SSCV2_FEATURE_DESCRIPTOR OPAL_SSCV2_FEATURE_DESCRIPTOR
struct _OPAL_SINGLE_USER_MODE_FEATURE OPAL_SINGLE_USER_MODE_FEATURE
struct _OPAL_SSCV1_FEATURE_DESCRIPTOR OPAL_SSCV1_FEATURE_DESCRIPTOR
struct _OPAL_SSCLITE_FEATURE_DESCRIPTOR OPAL_SSCLITE_FEATURE_DESCRIPTOR
unsigned short UINT16
Definition actypes.h:237
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition TcgStorageCore.h:313
Definition TcgStorageCore.h:301
Definition TcgStorageCore.h:324
Definition TcgStorageOpal.h:209
UINT8 RemovalMechanism
Definition TcgStorageOpal.h:214
UINT16 TimeBit0
Definition TcgStorageOpal.h:222
UINT16 TimeBit5
Definition TcgStorageOpal.h:227
UINT8 FormatBit1
Definition TcgStorageOpal.h:216
UINT16 TimeBit3
Definition TcgStorageOpal.h:225
UINT8 FormatBit3
Definition TcgStorageOpal.h:218
UINT8 FormatBit0
Definition TcgStorageOpal.h:215
UINT16 TimeBit2
Definition TcgStorageOpal.h:224
UINT8 Reserved
Definition TcgStorageOpal.h:211
UINT8 FormatBit5
Definition TcgStorageOpal.h:220
UINT8 OperationProcessing
Definition TcgStorageOpal.h:212
UINT8 Reserved3
Definition TcgStorageOpal.h:221
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:210
UINT8 Future[16]
Definition TcgStorageOpal.h:228
UINT16 TimeBit1
Definition TcgStorageOpal.h:223
UINT8 Reserved2
Definition TcgStorageOpal.h:213
UINT8 FormatBit4
Definition TcgStorageOpal.h:219
UINT16 TimeBit4
Definition TcgStorageOpal.h:226
UINT8 FormatBit2
Definition TcgStorageOpal.h:217
Definition TcgStorageOpal.h:150
UINT16 MaxNumTablesBE
Definition TcgStorageOpal.h:153
UINT32 SizeAlignmentBE
Definition TcgStorageOpal.h:155
UINT32 MaxTotalSizeBE
Definition TcgStorageOpal.h:154
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:151
UINT16 Reserved
Definition TcgStorageOpal.h:152
Definition TcgStorageOpal.h:132
UINT32 LogicalBlockSizeBE
Definition TcgStorageOpal.h:135
UINT8 Reserved[8]
Definition TcgStorageOpal.h:134
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:133
UINT64 AlignmentGranularityBE
Definition TcgStorageOpal.h:136
UINT64 LowestAlignedLBABE
Definition TcgStorageOpal.h:137
Definition TcgStorageOpal.h:140
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:141
UINT8 Policy
Definition TcgStorageOpal.h:145
UINT8 Reserved
Definition TcgStorageOpal.h:146
UINT8 Reserved2[7]
Definition TcgStorageOpal.h:147
UINT32 NumLockingObjectsSupportedBE
Definition TcgStorageOpal.h:142
UINT8 Any
Definition TcgStorageOpal.h:143
UINT8 All
Definition TcgStorageOpal.h:144
Definition TcgStorageOpal.h:179
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:180
UINT8 InitialCPINSIDPIN
Definition TcgStorageOpal.h:184
UINT16 NumComIdsBE
Definition TcgStorageOpal.h:182
UINT8 CPINSIDPINRevertBehavior
Definition TcgStorageOpal.h:185
UINT8 Reserved[5]
Definition TcgStorageOpal.h:183
UINT16 BaseComdIdBE
Definition TcgStorageOpal.h:181
UINT8 Future[5]
Definition TcgStorageOpal.h:186
Definition TcgStorageOpal.h:158
UINT8 RangeCrossing
Definition TcgStorageOpal.h:162
UINT16 BaseComdIdBE
Definition TcgStorageOpal.h:160
UINT8 Future[11]
Definition TcgStorageOpal.h:164
UINT16 NumComIdsBE
Definition TcgStorageOpal.h:161
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:159
UINT8 Reserved
Definition TcgStorageOpal.h:163
Definition TcgStorageOpal.h:167
UINT8 Reserved
Definition TcgStorageOpal.h:171
UINT16 NumLockingSpUserAuthoritiesSupportedBE
Definition TcgStorageOpal.h:173
UINT8 Future[5]
Definition TcgStorageOpal.h:176
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:168
UINT16 NumLockingSpAdminAuthoritiesSupportedBE
Definition TcgStorageOpal.h:172
UINT8 InitialCPINSIDPIN
Definition TcgStorageOpal.h:174
UINT16 NumComIdsBE
Definition TcgStorageOpal.h:170
UINT8 CPINSIDPINRevertBehavior
Definition TcgStorageOpal.h:175
UINT16 BaseComdIdBE
Definition TcgStorageOpal.h:169
Definition TcgStorageOpal.h:199
UINT8 InitialCPINSIDPIN
Definition TcgStorageOpal.h:204
UINT16 BaseComdIdBE
Definition TcgStorageOpal.h:201
UINT8 CPINSIDPINRevertBehavior
Definition TcgStorageOpal.h:205
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:200
UINT16 NumComIdsBE
Definition TcgStorageOpal.h:202
UINT8 Reserved[5]
Definition TcgStorageOpal.h:203
UINT8 Future[5]
Definition TcgStorageOpal.h:206
Definition TcgStorageOpal.h:189
UINT8 InitialCPINSIDPIN
Definition TcgStorageOpal.h:194
UINT16 NumComIdsBE
Definition TcgStorageOpal.h:192
UINT8 CPINSIDPINRevertBehavior
Definition TcgStorageOpal.h:195
UINT8 Reserved[5]
Definition TcgStorageOpal.h:193
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header
Definition TcgStorageOpal.h:190
UINT16 BaseComdIdBE
Definition TcgStorageOpal.h:191
UINT8 Future[5]
Definition TcgStorageOpal.h:196
Definition TcgStorageOpal.h:231
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER CommonHeader
Definition TcgStorageOpal.h:232
TCG_TPER_FEATURE_DESCRIPTOR Tper
Definition TcgStorageOpal.h:233
TCG_BLOCK_SID_FEATURE_DESCRIPTOR BlockSid
Definition TcgStorageOpal.h:243
PYRITE_SSC_FEATURE_DESCRIPTOR PyriteSsc
Definition TcgStorageOpal.h:241
OPAL_SSCV1_FEATURE_DESCRIPTOR OpalSscV1
Definition TcgStorageOpal.h:238
OPAL_SINGLE_USER_MODE_FEATURE SingleUser
Definition TcgStorageOpal.h:236
TCG_LOCKING_FEATURE_DESCRIPTOR Locking
Definition TcgStorageOpal.h:234
OPAL_DATASTORE_TABLE_FEATURE DataStore
Definition TcgStorageOpal.h:237
OPAL_SSCV2_FEATURE_DESCRIPTOR OpalSscV2
Definition TcgStorageOpal.h:239
OPAL_GEOMETRY_REPORTING_FEATURE Geometry
Definition TcgStorageOpal.h:235
PYRITE_SSCV2_FEATURE_DESCRIPTOR PyriteSscV2
Definition TcgStorageOpal.h:242
OPAL_SSCLITE_FEATURE_DESCRIPTOR OpalSscLite
Definition TcgStorageOpal.h:240
DATA_REMOVAL_FEATURE_DESCRIPTOR DataRemoval
Definition TcgStorageOpal.h:244