Module vmgs

Source
Expand description

Include modules that define the data structures of VMGS entries.

Structs§

DekKp
DEK key protector entry.
GspKp
GSP key protector entry.
GuestSecretKey
The data format of the FileId::GUEST_SECRET_KEY entry in the VMGS file.
HardwareKeyProtector
The data format of the FileId::HW_KEY_PROTECTOR entry in the VMGS file.
HardwareKeyProtectorHeader
The header of HardwareKeyProtector.
KeyProtector
The data format of the FileId::KEY_PROTECTOR entry in the VMGS file.
KeyProtectorById
The data format of the host/fabric-provided key protector.
SecurityProfile
The data format of the FileId::ATTEST entry in the VMGS file.

Constants§

AES_CBC_IV_LENGTH
AES-CVC IV size
AES_CBC_KEY_LENGTH
AES-CBC key size
AES_GCM_KEY_LENGTH
AES-GCM key size
AGENT_DATA_MAX_SIZE
Maximum size of the agent_data.
DEK_BUFFER_SIZE
DEK buffer size
GSP_BUFFER_SIZE
GSP buffer size
GUEST_SECRET_KEY_MAX_SIZE
Maximum size of the guest_secret_key.
HMAC_SHA_256_KEY_LENGTH
HACK-SHA-256 key size
HW_KEY_PROTECTOR_SIZE
The size of the FileId::HW_KEY_PROTECTOR entry in the VMGS file.
HW_KEY_VERSION
The header, IV, and last 256 bits of HMAC are fixed for this version. The ciphertext is allowed to grow, though secrets should stay in the same position to allow downlevel versions to continue to understand that portion of the data.
KEY_PROTECTOR_SIZE
Size of the FileId::KEY_PROTECTOR VMGS file entry.
NUMBER_KP
Number of the key protector entries. One for ingress, and one for egress