TianoCore EDK2 master
|
#include <IndustryStandard/TcgStorageCore.h>
Go to the source code of this file.
Data Structures | |
struct | _OPAL_GEOMETRY_REPORTING_FEATURE |
struct | _OPAL_SINGLE_USER_MODE_FEATURE |
struct | _OPAL_DATASTORE_TABLE_FEATURE |
struct | _OPAL_SSCV1_FEATURE_DESCRIPTOR |
struct | _OPAL_SSCV2_FEATURE_DESCRIPTOR |
struct | _OPAL_SSCLITE_FEATURE_DESCRIPTOR |
struct | _PYRITE_SSC_FEATURE_DESCRIPTOR |
struct | _PYRITE_SSCV2_FEATURE_DESCRIPTOR |
struct | _DATA_REMOVAL_FEATURE_DESCRIPTOR |
union | OPAL_LEVEL0_FEATURE_DESCRIPTOR |
Macros | |
#define | OPAL_UID_ADMIN_SP TCG_TO_UID(0x00, 0x00, 0x02, 0x05, 0x00, 0x00, 0x00, 0x01) |
#define | OPAL_UID_ADMIN_SP_C_PIN_MSID TCG_TO_UID(0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x84, 0x02) |
#define | OPAL_UID_ADMIN_SP_C_PIN_SID TCG_TO_UID(0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x01) |
#define | OPAL_UID_LOCKING_SP TCG_TO_UID(0x00, 0x00, 0x02, 0x05, 0x00, 0x00, 0x00, 0x02) |
#define | OPAL_ADMIN_SP_ANYBODY_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x01) |
#define | OPAL_ADMIN_SP_ADMINS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02) |
#define | OPAL_ADMIN_SP_MAKERS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x03) |
#define | OPAL_ADMIN_SP_SID_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x06) |
#define | OPAL_ADMIN_SP_ADMIN1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x02, 0x01) |
#define | OPAL_ADMIN_SP_PSID_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0xFF, 0x01) |
#define | OPAL_ADMIN_SP_ACTIVATE_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x03) |
#define | OPAL_ADMIN_SP_REVERT_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x02) |
#define | OPAL_UID_ADMIN_SP_DATA_REMOVAL_MECHANISM TCG_TO_UID(0x00, 0x00, 0x11, 0x01, 0x00, 0x00, 0x00, 0x01) |
#define | OPAL_LOCKING_SP_ANYBODY_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x01) |
#define | OPAL_LOCKING_SP_ADMINS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02) |
#define | OPAL_LOCKING_SP_ADMIN1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x01) |
#define | OPAL_LOCKING_SP_USERS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00, 0x00) |
#define | OPAL_LOCKING_SP_USER1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00, 0x01) |
#define | OPAL_LOCKING_SP_REVERTSP_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x11) |
#define | OPAL_LOCKING_SP_C_PIN_ADMIN1 TCG_TO_UID( 0x00, 0x00, 0x00, 0x0B, 0x00, 0x01, 0x00, 0x01 ) |
#define | OPAL_LOCKING_SP_C_PIN_USER1 TCG_TO_UID( 0x00, 0x00, 0x00, 0x0B, 0x00, 0x03, 0x00, 0x01 ) |
#define | OPAL_LOCKING_SP_LOCKING_GLOBALRANGE TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 ) |
#define | OPAL_LOCKING_SP_LOCKING_RANGE1 TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x03, 0x00, 0x01 ) |
#define | OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_GET_ALL TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xD0, 0x00 ) |
#define | OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_RDLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE0, 0x00 ) |
#define | OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_WRLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE8, 0x00 ) |
#define | OPAL_LOCKING_SP_ACE_K_AES_256_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB8, 0x00 ) |
#define | OPAL_LOCKING_SP_ACE_K_AES_128_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB0, 0x00 ) |
#define | OPAL_LOCKING_SP_LOCKING_INFO TCG_TO_UID( 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x01 ) |
#define | OPAL_LOCKING_SP_LOCKINGINFO_ALIGNMENTREQUIRED_COL 0x7 |
#define | OPAL_LOCKING_SP_LOCKINGINFO_LOGICALBLOCKSIZE_COL 0x8 |
#define | OPAL_LOCKING_SP_LOCKINGINFO_ALIGNMENTGRANULARITY_COL 0x9 |
#define | OPAL_LOCKING_SP_LOCKINGINFO_LOWESTALIGNEDLBA_COL 0xA |
#define | OPAL_LOCKING_SP_K_AES_256_GLOBALRANGE_KEY TCG_TO_UID( 0x00, 0x00, 0x08, 0x06, 0x00, 0x00, 0x00, 0x01 ) |
#define | OPAL_LOCKING_SP_K_AES_128_GLOBALRANGE_KEY TCG_TO_UID( 0x00, 0x00, 0x08, 0x05, 0x00, 0x00, 0x00, 0x01 ) |
#define | OPAL_MIN_MAX_COM_PACKET_SIZE 2048 |
#define | OPAL_MIN_MAX_REPONSE_COM_PACKET_SIZE 2048 |
#define | OPAL_MIN_MAX_PACKET_SIZE 2028 |
#define | OPAL_MIN_MAX_IND_TOKEN_SIZE 1992 |
#define | OPAL_MIN_MAX_PACKETS 1 |
#define | OPAL_MIN_MAX_SUBPACKETS 1 |
#define | OPAL_MIN_MAX_METHODS 1 |
#define | OPAL_MIN_MAX_SESSIONS 1 |
#define | OPAL_MIN_MAX_AUTHENTICATIONS 2 |
#define | OPAL_MIN_MAX_TRANSACTION_LIMIT 1 |
#define | OPAL_ADMIN_SP_PIN_COL 3 |
#define | OPAL_LOCKING_SP_C_PIN_TRYLIMIT_COL 5 |
#define | OPAL_RANDOM_METHOD_MAX_COUNT_SIZE 32 |
#define | OPAL_ADMIN_SP_ACTIVE_DATA_REMOVAL_MECHANISM_COL 1 |
Typedefs | |
typedef struct _OPAL_GEOMETRY_REPORTING_FEATURE | OPAL_GEOMETRY_REPORTING_FEATURE |
typedef struct _OPAL_SINGLE_USER_MODE_FEATURE | OPAL_SINGLE_USER_MODE_FEATURE |
typedef struct _OPAL_DATASTORE_TABLE_FEATURE | OPAL_DATASTORE_TABLE_FEATURE |
typedef struct _OPAL_SSCV1_FEATURE_DESCRIPTOR | OPAL_SSCV1_FEATURE_DESCRIPTOR |
typedef struct _OPAL_SSCV2_FEATURE_DESCRIPTOR | OPAL_SSCV2_FEATURE_DESCRIPTOR |
typedef struct _OPAL_SSCLITE_FEATURE_DESCRIPTOR | OPAL_SSCLITE_FEATURE_DESCRIPTOR |
typedef struct _PYRITE_SSC_FEATURE_DESCRIPTOR | PYRITE_SSC_FEATURE_DESCRIPTOR |
typedef struct _PYRITE_SSCV2_FEATURE_DESCRIPTOR | PYRITE_SSCV2_FEATURE_DESCRIPTOR |
typedef struct _DATA_REMOVAL_FEATURE_DESCRIPTOR | DATA_REMOVAL_FEATURE_DESCRIPTOR |
Enumerations | |
enum | SUPPORTED_DATA_REMOVAL_MECHANISM { OverwriteDataErase = 0 , BlockErase , CryptoErase , Unmap , ResetWritePointers , VendorSpecificErase , ResearvedMechanism } |
Opal Specification defined values and structures.
(TCG Storage Architecture Core Specification, Version 2.01, Revision 1.00, https://trustedcomputinggroup.org/tcg-storage-architecture-core-specification/
Storage Work Group Storage Security Subsystem Class: Pyrite, Version 1.00 Final, Revision 1.00, https://trustedcomputinggroup.org/tcg-storage-security-subsystem-class-pyrite/
Storage Work Group Storage Security Subsystem Class: Opal, Version 2.01 Final, Revision 1.00, https://trustedcomputinggroup.org/storage-work-group-storage-security-subsystem-class-opal/
TCG Storage Security Subsystem Class: Opalite Version 1.00 Revision 1.00, https://trustedcomputinggroup.org/tcg-storage-security-subsystem-class-opalite/)
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 TcgStorageOpal.h.
#define OPAL_ADMIN_SP_ACTIVATE_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x03) |
Definition at line 42 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_ACTIVE_DATA_REMOVAL_MECHANISM_COL 1 |
Definition at line 106 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_ADMIN1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x02, 0x01) |
Definition at line 39 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_ADMINS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02) |
Definition at line 36 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_ANYBODY_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x01) |
Definition at line 35 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_MAKERS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x03) |
Definition at line 37 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_PIN_COL 3 |
Definition at line 101 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_PSID_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0xFF, 0x01) |
Definition at line 40 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_REVERT_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x02, 0x02) |
Definition at line 43 of file TcgStorageOpal.h.
#define OPAL_ADMIN_SP_SID_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x06) |
Definition at line 38 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ACE_K_AES_128_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB0, 0x00 ) |
Definition at line 73 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ACE_K_AES_256_GLOBALRANGE_GENKEY TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xB8, 0x00 ) |
Definition at line 72 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_GET_ALL TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xD0, 0x00 ) |
Definition at line 68 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_RDLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE0, 0x00 ) |
Definition at line 69 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ACE_LOCKING_GLOBALRANGE_SET_WRLOCKED TCG_TO_UID( 0x00, 0x00, 0x00, 0x08, 0x00, 0x03, 0xE8, 0x00 ) |
Definition at line 70 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ADMIN1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x01) |
Definition at line 53 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ADMINS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02) |
Definition at line 52 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_ANYBODY_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x01) |
Definition at line 51 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_C_PIN_ADMIN1 TCG_TO_UID( 0x00, 0x00, 0x00, 0x0B, 0x00, 0x01, 0x00, 0x01 ) |
Definition at line 60 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_C_PIN_TRYLIMIT_COL 5 |
Definition at line 102 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_C_PIN_USER1 TCG_TO_UID( 0x00, 0x00, 0x00, 0x0B, 0x00, 0x03, 0x00, 0x01 ) |
Definition at line 61 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_K_AES_128_GLOBALRANGE_KEY TCG_TO_UID( 0x00, 0x00, 0x08, 0x05, 0x00, 0x00, 0x00, 0x01 ) |
Definition at line 87 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_K_AES_256_GLOBALRANGE_KEY TCG_TO_UID( 0x00, 0x00, 0x08, 0x06, 0x00, 0x00, 0x00, 0x01 ) |
Definition at line 84 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKING_GLOBALRANGE TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 ) |
Definition at line 64 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKING_INFO TCG_TO_UID( 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x01 ) |
Definition at line 76 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKING_RANGE1 TCG_TO_UID( 0x00, 0x00, 0x08, 0x02, 0x00, 0x03, 0x00, 0x01 ) |
Definition at line 65 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKINGINFO_ALIGNMENTGRANULARITY_COL 0x9 |
Definition at line 80 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKINGINFO_ALIGNMENTREQUIRED_COL 0x7 |
Definition at line 78 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKINGINFO_LOGICALBLOCKSIZE_COL 0x8 |
Definition at line 79 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_LOCKINGINFO_LOWESTALIGNEDLBA_COL 0xA |
Definition at line 81 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_REVERTSP_METHOD TCG_TO_UID(0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x11) |
Definition at line 57 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_USER1_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00, 0x01) |
Definition at line 55 of file TcgStorageOpal.h.
#define OPAL_LOCKING_SP_USERS_AUTHORITY TCG_TO_UID(0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00, 0x00) |
Definition at line 54 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_AUTHENTICATIONS 2 |
Definition at line 98 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_COM_PACKET_SIZE 2048 |
Definition at line 90 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_IND_TOKEN_SIZE 1992 |
Definition at line 93 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_METHODS 1 |
Definition at line 96 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_PACKET_SIZE 2028 |
Definition at line 92 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_PACKETS 1 |
Definition at line 94 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_REPONSE_COM_PACKET_SIZE 2048 |
Definition at line 91 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_SESSIONS 1 |
Definition at line 97 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_SUBPACKETS 1 |
Definition at line 95 of file TcgStorageOpal.h.
#define OPAL_MIN_MAX_TRANSACTION_LIMIT 1 |
Definition at line 99 of file TcgStorageOpal.h.
#define OPAL_RANDOM_METHOD_MAX_COUNT_SIZE 32 |
Definition at line 103 of file TcgStorageOpal.h.
#define OPAL_UID_ADMIN_SP TCG_TO_UID(0x00, 0x00, 0x02, 0x05, 0x00, 0x00, 0x00, 0x01) |
Definition at line 28 of file TcgStorageOpal.h.
#define OPAL_UID_ADMIN_SP_C_PIN_MSID TCG_TO_UID(0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x84, 0x02) |
Definition at line 29 of file TcgStorageOpal.h.
#define OPAL_UID_ADMIN_SP_C_PIN_SID TCG_TO_UID(0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x01) |
Definition at line 30 of file TcgStorageOpal.h.
#define OPAL_UID_ADMIN_SP_DATA_REMOVAL_MECHANISM TCG_TO_UID(0x00, 0x00, 0x11, 0x01, 0x00, 0x00, 0x00, 0x01) |
Definition at line 47 of file TcgStorageOpal.h.
#define OPAL_UID_LOCKING_SP TCG_TO_UID(0x00, 0x00, 0x02, 0x05, 0x00, 0x00, 0x00, 0x02) |
Definition at line 31 of file TcgStorageOpal.h.
enum SUPPORTED_DATA_REMOVAL_MECHANISM |
Definition at line 112 of file TcgStorageOpal.h.