|
#define | SPDM_MAX_SLOT_COUNT 8 |
|
#define | SPDM_MAX_OPAQUE_DATA_SIZE 1024 |
|
#define | SPDM_NONCE_SIZE 32 |
|
#define | SPDM_RANDOM_DATA_SIZE 32 |
|
#define | SPDM_DIGESTS 0x01 |
|
#define | SPDM_CERTIFICATE 0x02 |
|
#define | SPDM_CHALLENGE_AUTH 0x03 |
|
#define | SPDM_VERSION 0x04 |
|
#define | SPDM_MEASUREMENTS 0x60 |
|
#define | SPDM_CAPABILITIES 0x61 |
|
#define | SPDM_ALGORITHMS 0x63 |
|
#define | SPDM_VENDOR_DEFINED_RESPONSE 0x7E |
|
#define | SPDM_ERROR 0x7F |
|
#define | SPDM_KEY_EXCHANGE_RSP 0x64 |
|
#define | SPDM_FINISH_RSP 0x65 |
|
#define | SPDM_PSK_EXCHANGE_RSP 0x66 |
|
#define | SPDM_PSK_FINISH_RSP 0x67 |
|
#define | SPDM_HEARTBEAT_ACK 0x68 |
|
#define | SPDM_KEY_UPDATE_ACK 0x69 |
|
#define | SPDM_ENCAPSULATED_REQUEST 0x6A |
|
#define | SPDM_ENCAPSULATED_RESPONSE_ACK 0x6B |
|
#define | SPDM_END_SESSION_ACK 0x6C |
|
#define | SPDM_CSR 0x6D |
|
#define | SPDM_SET_CERTIFICATE_RSP 0x6E |
|
#define | SPDM_CHUNK_SEND_ACK 0x05 |
|
#define | SPDM_CHUNK_RESPONSE 0x06 |
|
#define | SPDM_GET_DIGESTS 0x81 |
|
#define | SPDM_GET_CERTIFICATE 0x82 |
|
#define | SPDM_CHALLENGE 0x83 |
|
#define | SPDM_GET_VERSION 0x84 |
|
#define | SPDM_GET_MEASUREMENTS 0xE0 |
|
#define | SPDM_GET_CAPABILITIES 0xE1 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS 0xE3 |
|
#define | SPDM_VENDOR_DEFINED_REQUEST 0xFE |
|
#define | SPDM_RESPOND_IF_READY 0xFF |
|
#define | SPDM_KEY_EXCHANGE 0xE4 |
|
#define | SPDM_FINISH 0xE5 |
|
#define | SPDM_PSK_EXCHANGE 0xE6 |
|
#define | SPDM_PSK_FINISH 0xE7 |
|
#define | SPDM_HEARTBEAT 0xE8 |
|
#define | SPDM_KEY_UPDATE 0xE9 |
|
#define | SPDM_GET_ENCAPSULATED_REQUEST 0xEA |
|
#define | SPDM_DELIVER_ENCAPSULATED_RESPONSE 0xEB |
|
#define | SPDM_END_SESSION 0xEC |
|
#define | SPDM_GET_CSR 0xED |
|
#define | SPDM_SET_CERTIFICATE 0xEE |
|
#define | SPDM_CHUNK_SEND 0x85 |
|
#define | SPDM_CHUNK_GET 0x86 |
|
#define | SPDM_MESSAGE_VERSION_10 0x10 |
|
#define | SPDM_MESSAGE_VERSION_11 0x11 |
|
#define | SPDM_MESSAGE_VERSION_12 0x12 |
|
#define | SPDM_MESSAGE_VERSION SPDM_MESSAGE_VERSION_10 |
|
#define | SPDM_VERSION_NUMBER_SHIFT_BIT 8 |
|
#define | SPDM_VERSION_1_2_SIGNING_PREFIX_CONTEXT "dmtf-spdm-v1.2.*" |
|
#define | SPDM_VERSION_1_2_SIGNING_PREFIX_CONTEXT_SIZE (sizeof(SPDM_VERSION_1_2_SIGNING_PREFIX_CONTEXT) - 1) |
|
#define | SPDM_VERSION_1_2_SIGNING_CONTEXT_SIZE 100 |
|
#define | SPDM_MIN_DATA_TRANSFER_SIZE_VERSION_12 42 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_CERT_CAP BIT1 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_CHAL_CAP BIT2 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_ENCRYPT_CAP BIT6 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_MAC_CAP BIT7 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_MUT_AUTH_CAP BIT8 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_KEY_EX_CAP BIT9 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_PSK_CAP (BIT10 | BIT11) |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_PSK_CAP_REQUESTER BIT10 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_ENCAP_CAP BIT12 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_HBEAT_CAP BIT13 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_KEY_UPD_CAP BIT14 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_HANDSHAKE_IN_THE_CLEAR_CAP BIT15 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_PUB_KEY_ID_CAP BIT16 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_11_MASK |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_CHUNK_CAP BIT17 |
|
#define | SPDM_GET_CAPABILITIES_REQUEST_FLAGS_12_MASK |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_CACHE_CAP BIT0 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_CERT_CAP BIT1 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_CHAL_CAP BIT2 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_MEAS_CAP (BIT3 | BIT4) |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_MEAS_CAP_NO_SIG BIT3 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_MEAS_CAP_SIG BIT4 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_MEAS_FRESH_CAP BIT5 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_10_MASK |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_ENCRYPT_CAP BIT6 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_MAC_CAP BIT7 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_MUT_AUTH_CAP BIT8 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_KEY_EX_CAP BIT9 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_PSK_CAP (BIT10 | BIT11) |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_PSK_CAP_RESPONDER BIT10 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_PSK_CAP_RESPONDER_WITH_CONTEXT BIT11 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_ENCAP_CAP BIT12 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_HBEAT_CAP BIT13 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_KEY_UPD_CAP BIT14 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_HANDSHAKE_IN_THE_CLEAR_CAP BIT15 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_PUB_KEY_ID_CAP BIT16 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_11_MASK |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_CHUNK_CAP BIT17 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_ALIAS_CERT_CAP BIT18 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_SET_CERT_CAP BIT19 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_CSR_CAP BIT20 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_CERT_INSTALL_RESET_CAP BIT21 |
|
#define | SPDM_GET_CAPABILITIES_RESPONSE_FLAGS_12_MASK |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_REQUEST_MAX_LENGTH_VERSION_10 BIT6 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_REQUEST_MAX_LENGTH_VERSION_11 BIT7 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_REQUEST_MAX_LENGTH_VERSION_12 BIT7 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_REQUEST_MAX_EXT_ALG_COUNT_VERSION_10 BIT3 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_REQUEST_MAX_EXT_ALG_COUNT_VERSION_11 (BIT4 | BIT2) |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_REQUEST_MAX_EXT_ALG_COUNT_VERSION_12 (BIT4 | BIT2) |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_MAX_NUM_STRUCT_TABLE_ALG 4 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_DHE 2 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_AEAD 3 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_REQ_BASE_ASYM_ALG 4 |
|
#define | SPDM_NEGOTIATE_ALGORITHMS_STRUCT_TABLE_ALG_TYPE_KEY_SCHEDULE 5 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSASSA_2048 BIT0 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSAPSS_2048 BIT1 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSASSA_3072 BIT2 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSAPSS_3072 BIT3 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_ECDSA_ECC_NIST_P256 BIT4 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSASSA_4096 BIT5 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_RSAPSS_4096 BIT6 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_ECDSA_ECC_NIST_P384 BIT7 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_ECDSA_ECC_NIST_P521 BIT8 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_TPM_ALG_SM2_ECC_SM2_P256 BIT9 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_EDDSA_ED25519 BIT10 |
|
#define | SPDM_ALGORITHMS_BASE_ASYM_ALGO_EDDSA_ED448 BIT11 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SHA_256 BIT0 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SHA_384 BIT1 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SHA_512 BIT2 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SHA3_256 BIT3 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SHA3_384 BIT4 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SHA3_512 BIT5 |
|
#define | SPDM_ALGORITHMS_BASE_HASH_ALGO_TPM_ALG_SM3_256 BIT6 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_FFDHE_2048 BIT0 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_FFDHE_3072 BIT1 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_FFDHE_4096 BIT2 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_SECP_256_R1 BIT3 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_SECP_384_R1 BIT4 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_SECP_521_R1 BIT5 |
|
#define | SPDM_ALGORITHMS_DHE_NAMED_GROUP_SM2_P256 BIT6 |
|
#define | SPDM_ALGORITHMS_AEAD_CIPHER_SUITE_AES_128_GCM BIT0 |
|
#define | SPDM_ALGORITHMS_AEAD_CIPHER_SUITE_AES_256_GCM BIT1 |
|
#define | SPDM_ALGORITHMS_AEAD_CIPHER_SUITE_CHACHA20_POLY1305 BIT2 |
|
#define | SPDM_ALGORITHMS_AEAD_CIPHER_SUITE_AEAD_SM4_GCM BIT3 |
|
#define | SPDM_ALGORITHMS_KEY_SCHEDULE_HMAC_HASH BIT0 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_RAW_BIT_STREAM_ONLY BIT0 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SHA_256 BIT1 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SHA_384 BIT2 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SHA_512 BIT3 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SHA3_256 BIT4 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SHA3_384 BIT5 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SHA3_512 BIT6 |
|
#define | SPDM_ALGORITHMS_MEASUREMENT_HASH_ALGO_TPM_ALG_SM3_256 BIT7 |
|
#define | SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_NONE 0x0 |
|
#define | SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_0 0x1 |
|
#define | SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_1 0x2 |
|
#define | SPDM_ALGORITHMS_OPAQUE_DATA_FORMAT_MASK 0xF |
|
#define | SPDM_REGISTRY_ID_DMTF 0 |
|
#define | SPDM_REGISTRY_ID_TCG 1 |
|
#define | SPDM_REGISTRY_ID_USB 2 |
|
#define | SPDM_REGISTRY_ID_PCISIG 3 |
|
#define | SPDM_REGISTRY_ID_IANA 4 |
|
#define | SPDM_REGISTRY_ID_HDBASET 5 |
|
#define | SPDM_REGISTRY_ID_MIPI 6 |
|
#define | SPDM_REGISTRY_ID_CXL 7 |
|
#define | SPDM_REGISTRY_ID_JEDEC 8 |
|
#define | SPDM_GET_CERTIFICATE_REQUEST_SLOT_ID_MASK 0xF |
|
#define | SPDM_CERTIFICATE_RESPONSE_SLOT_ID_MASK 0xF |
|
#define | SPDM_MAX_CERTIFICATE_CHAIN_SIZE 65535 |
|
#define | SPDM_REQUEST_NO_MEASUREMENT_SUMMARY_HASH 0 |
|
#define | SPDM_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH 1 |
|
#define | SPDM_REQUEST_ALL_MEASUREMENTS_HASH 0xFF |
|
#define | SPDM_CHALLENGE_REQUEST_NO_MEASUREMENT_SUMMARY_HASH SPDM_REQUEST_NO_MEASUREMENT_SUMMARY_HASH |
|
#define | SPDM_CHALLENGE_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH SPDM_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH |
|
#define | SPDM_CHALLENGE_REQUEST_ALL_MEASUREMENTS_HASH SPDM_REQUEST_ALL_MEASUREMENTS_HASH |
|
#define | SPDM_CHALLENGE_AUTH_RESPONSE_ATTRIBUTE_SLOT_ID_MASK 0xF |
|
#define | SPDM_CHALLENGE_AUTH_RESPONSE_ATTRIBUTE_BASIC_MUT_AUTH_REQ BIT7 |
|
#define | SPDM_CHALLENGE_AUTH_SIGN_CONTEXT "responder-challenge_auth signing" |
|
#define | SPDM_CHALLENGE_AUTH_SIGN_CONTEXT_SIZE (sizeof(SPDM_CHALLENGE_AUTH_SIGN_CONTEXT) - 1) |
|
#define | SPDM_MUT_CHALLENGE_AUTH_SIGN_CONTEXT "requester-challenge_auth signing" |
|
#define | SPDM_MUT_CHALLENGE_AUTH_SIGN_CONTEXT_SIZE (sizeof(SPDM_MUT_CHALLENGE_AUTH_SIGN_CONTEXT) - 1) |
|
#define | SPDM_GET_MEASUREMENTS_REQUEST_SLOT_ID_MASK 0xF |
|
#define | SPDM_GET_MEASUREMENTS_REQUEST_ATTRIBUTES_GENERATE_SIGNATURE BIT0 |
|
#define | SPDM_GET_MEASUREMENTS_REQUEST_ATTRIBUTES_RAW_BIT_STREAM_REQUESTED BIT1 |
|
#define | SPDM_GET_MEASUREMENTS_REQUEST_ATTRIBUTES_NEW_MEASUREMENT_REQUESTED BIT2 |
|
#define | SPDM_GET_MEASUREMENTS_REQUEST_MEASUREMENT_OPERATION_TOTAL_NUMBER_OF_MEASUREMENTS 0 |
|
#define | SPDM_GET_MEASUREMENTS_REQUEST_MEASUREMENT_OPERATION_ALL_MEASUREMENTS 0xFF |
|
#define | SPDM_MEASUREMENT_BLOCK_HEADER_SPECIFICATION_DMTF BIT0 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_IMMUTABLE_ROM 0 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_MUTABLE_FIRMWARE 1 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_HARDWARE_CONFIGURATION 2 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_FIRMWARE_CONFIGURATION 3 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_MEASUREMENT_MANIFEST 4 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_DEVICE_MODE 5 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_VERSION 6 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_SECURE_VERSION_NUMBER 7 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_MASK 0x7 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_TYPE_RAW_BIT_STREAM BIT7 |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_INDEX_MEASUREMENT_MANIFEST 0xFD |
|
#define | SPDM_MEASUREMENT_BLOCK_MEASUREMENT_INDEX_DEVICE_MODE 0xFE |
|
#define | SPDM_MEASUREMENT_DEVICE_OPERATION_MODE_MANUFACTURING_MODE BIT0 |
|
#define | SPDM_MEASUREMENT_DEVICE_OPERATION_MODE_VALIDATION_MODE BIT1 |
|
#define | SPDM_MEASUREMENT_DEVICE_OPERATION_MODE_NORMAL_MODE BIT2 |
|
#define | SPDM_MEASUREMENT_DEVICE_OPERATION_MODE_RECOVERY_MODE BIT3 |
|
#define | SPDM_MEASUREMENT_DEVICE_OPERATION_MODE_RMA_MODE BIT4 |
|
#define | SPDM_MEASUREMENT_DEVICE_OPERATION_MODE_DECOMMISSIONED_MODE BIT5 |
|
#define | SPDM_MEASUREMENT_DEVICE_MODE_NON_INVASIVE_DEBUG_MODE_IS_ACTIVE BIT0 |
|
#define | SPDM_MEASUREMENT_DEVICE_MODE_INVASIVE_DEBUG_MODE_IS_ACTIVE BIT1 |
|
#define | SPDM_MEASUREMENT_DEVICE_MODE_NON_INVASIVE_DEBUG_MODE_HAS_BEEN_ACTIVE BIT2 |
|
#define | SPDM_MEASUREMENT_DEVICE_MODE_INVASIVE_DEBUG_MODE_HAS_BEEN_ACTIVE BIT3 |
|
#define | SPDM_MEASUREMENT_DEVICE_MODE_INVASIVE_DEBUG_MODE_HAS_BEEN_ACTIVE_AFTER_MFG BIT4 |
|
#define | SPDM_MEASUREMENTS_RESPONSE_SLOT_ID_MASK 0xF |
|
#define | SPDM_MEASUREMENTS_RESPONSE_CONTENT_CHANGE_MASK 0x30 |
|
#define | SPDM_MEASUREMENTS_RESPONSE_CONTENT_CHANGE_NO_DETECTION 0x00 |
|
#define | SPDM_MEASUREMENTS_RESPONSE_CONTENT_CHANGE_DETECTED 0x10 |
|
#define | SPDM_MEASUREMENTS_RESPONSE_CONTENT_NO_CHANGE_DETECTED 0x20 |
|
#define | SPDM_MEASUREMENTS_SIGN_CONTEXT "responder-measurements signing" |
|
#define | SPDM_MEASUREMENTS_SIGN_CONTEXT_SIZE (sizeof(SPDM_MEASUREMENTS_SIGN_CONTEXT) - 1) |
|
#define | SPDM_MEL_SPECIFICATION_DMTF BIT0 |
|
#define | SPDM_EXTENDED_ERROR_DATA_MAX_SIZE 32 |
|
#define | SPDM_ERROR_CODE_INVALID_REQUEST 0x01 |
|
#define | SPDM_ERROR_CODE_BUSY 0x03 |
|
#define | SPDM_ERROR_CODE_UNEXPECTED_REQUEST 0x04 |
|
#define | SPDM_ERROR_CODE_UNSPECIFIED 0x05 |
|
#define | SPDM_ERROR_CODE_UNSUPPORTED_REQUEST 0x07 |
|
#define | SPDM_ERROR_CODE_VERSION_MISMATCH 0x41 |
|
#define | SPDM_ERROR_CODE_RESPONSE_NOT_READY 0x42 |
|
#define | SPDM_ERROR_CODE_REQUEST_RESYNCH 0x43 |
|
#define | SPDM_ERROR_CODE_VENDOR_DEFINED 0xFF |
|
#define | SPDM_ERROR_CODE_DECRYPT_ERROR 0x06 |
|
#define | SPDM_ERROR_CODE_REQUEST_IN_FLIGHT 0x08 |
|
#define | SPDM_ERROR_CODE_INVALID_RESPONSE_CODE 0x09 |
|
#define | SPDM_ERROR_CODE_SESSION_LIMIT_EXCEEDED 0x0A |
|
#define | SPDM_ERROR_CODE_SESSION_REQUIRED 0x0B |
|
#define | SPDM_ERROR_CODE_RESET_REQUIRED 0x0C |
|
#define | SPDM_ERROR_CODE_RESPONSE_TOO_LARGE 0x0D |
|
#define | SPDM_ERROR_CODE_REQUEST_TOO_LARGE 0x0E |
|
#define | SPDM_ERROR_CODE_LARGE_RESPONSE 0x0F |
|
#define | SPDM_ERROR_CODE_MESSAGE_LOST 0x10 |
|
#define | SPDM_MAX_VENDOR_DEFINED_DATA_LEN 65535 |
|
#define | SPDM_MAX_VENDOR_ID_LENGTH 255 |
|
#define | SPDM_KEY_EXCHANGE_REQUEST_SESSION_POLICY_TERMINATION_POLICY_RUNTIME_UPDATE BIT0 |
|
#define | SPDM_KEY_EXCHANGE_REQUEST_NO_MEASUREMENT_SUMMARY_HASH SPDM_REQUEST_NO_MEASUREMENT_SUMMARY_HASH |
|
#define | SPDM_KEY_EXCHANGE_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH SPDM_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH |
|
#define | SPDM_KEY_EXCHANGE_REQUEST_ALL_MEASUREMENTS_HASH SPDM_REQUEST_ALL_MEASUREMENTS_HASH |
|
#define | SPDM_KEY_EXCHANGE_RESPONSE_MUT_AUTH_REQUESTED BIT0 |
|
#define | SPDM_KEY_EXCHANGE_RESPONSE_MUT_AUTH_REQUESTED_WITH_ENCAP_REQUEST BIT1 |
|
#define | SPDM_KEY_EXCHANGE_RESPONSE_MUT_AUTH_REQUESTED_WITH_GET_DIGESTS BIT2 |
|
#define | SPDM_KEY_EXCHANGE_RESPONSE_SIGN_CONTEXT "responder-key_exchange_rsp signing" |
|
#define | SPDM_KEY_EXCHANGE_RESPONSE_SIGN_CONTEXT_SIZE (sizeof(SPDM_KEY_EXCHANGE_RESPONSE_SIGN_CONTEXT) - 1) |
|
#define | SPDM_VERSION_1_2_KEY_EXCHANGE_REQUESTER_CONTEXT "Requester-KEP-dmtf-spdm-v1.2" |
|
#define | SPDM_VERSION_1_2_KEY_EXCHANGE_REQUESTER_CONTEXT_SIZE (sizeof(SPDM_VERSION_1_2_KEY_EXCHANGE_REQUESTER_CONTEXT) - 1) |
|
#define | SPDM_VERSION_1_2_KEY_EXCHANGE_RESPONDER_CONTEXT "Responder-KEP-dmtf-spdm-v1.2" |
|
#define | SPDM_VERSION_1_2_KEY_EXCHANGE_RESPONDER_CONTEXT_SIZE (sizeof(SPDM_VERSION_1_2_KEY_EXCHANGE_RESPONDER_CONTEXT) - 1) |
|
#define | SPDM_FINISH_REQUEST_ATTRIBUTES_SIGNATURE_INCLUDED BIT0 |
|
#define | SPDM_FINISH_SIGN_CONTEXT "requester-finish signing" |
|
#define | SPDM_FINISH_SIGN_CONTEXT_SIZE (sizeof(SPDM_FINISH_SIGN_CONTEXT) - 1) |
|
#define | SPDM_PSK_EXCHANGE_REQUEST_NO_MEASUREMENT_SUMMARY_HASH SPDM_REQUEST_NO_MEASUREMENT_SUMMARY_HASH |
|
#define | SPDM_PSK_EXCHANGE_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH SPDM_REQUEST_TCB_COMPONENT_MEASUREMENT_HASH |
|
#define | SPDM_PSK_EXCHANGE_REQUEST_ALL_MEASUREMENTS_HASH SPDM_REQUEST_ALL_MEASUREMENTS_HASH |
|
#define | SPDM_KEY_UPDATE_OPERATIONS_TABLE_UPDATE_KEY 1 |
|
#define | SPDM_KEY_UPDATE_OPERATIONS_TABLE_UPDATE_ALL_KEYS 2 |
|
#define | SPDM_KEY_UPDATE_OPERATIONS_TABLE_VERIFY_NEW_KEY 3 |
|
#define | SPDM_ENCAPSULATED_RESPONSE_ACK_RESPONSE_PAYLOAD_TYPE_ABSENT 0 |
|
#define | SPDM_ENCAPSULATED_RESPONSE_ACK_RESPONSE_PAYLOAD_TYPE_PRESENT 1 |
|
#define | SPDM_ENCAPSULATED_RESPONSE_ACK_RESPONSE_PAYLOAD_TYPE_REQ_SLOT_NUMBER 2 |
|
#define | SPDM_END_SESSION_REQUEST_ATTRIBUTES_PRESERVE_NEGOTIATED_STATE_CLEAR BIT0 |
|
#define | SPDM_SET_CERTIFICATE_REQUEST_SLOT_ID_MASK 0xF |
|
#define | SPDM_SET_CERTIFICATE_REQUEST_ATTRIBUTES_CERT_MODEL_MASK 0x70 |
|
#define | SPDM_SET_CERTIFICATE_REQUEST_ATTRIBUTES_CERT_MODEL_OFFSET 4 |
|
#define | SPDM_SET_CERTIFICATE_REQUEST_ATTRIBUTES_ERASE 0x80 |
|
#define | SPDM_SET_CERTIFICATE_RESPONSE_SLOT_ID_MASK 0xF |
|
#define | SPDM_GET_CSR_REQUEST_ATTRIBUTES_CERT_MODEL_MASK 0x07 |
|
#define | SPDM_GET_CSR_REQUEST_ATTRIBUTES_CSR_TRACKING_TAG_MASK 0x38 |
|
#define | SPDM_GET_CSR_REQUEST_ATTRIBUTES_CSR_TRACKING_TAG_OFFSET 3 |
|
#define | SPDM_GET_CSR_REQUEST_ATTRIBUTES_OVERWRITE 0x80 |
|
#define | SPDM_GET_CSR_REQUEST_ATTRIBUTES_MAX_CSR_CERT_MODEL 4 |
|
#define | SPDM_MAX_CSR_SIZE 65535 |
|
#define | SPDM_CHUNK_SEND_REQUEST_ATTRIBUTE_LAST_CHUNK (1 << 0) |
|
#define | SPDM_CHUNK_SEND_ACK_RESPONSE_ATTRIBUTE_EARLY_ERROR_DETECTED (1 << 0) |
|
#define | SPDM_CHUNK_GET_RESPONSE_ATTRIBUTE_LAST_CHUNK (1 << 0) |
|
#define | SPDM_VERSION_1_1_BIN_CONCAT_LABEL "spdm1.1 " |
|
#define | SPDM_VERSION_1_2_BIN_CONCAT_LABEL "spdm1.2 " |
|
#define | SPDM_BIN_STR_0_LABEL "derived" |
|
#define | SPDM_BIN_STR_1_LABEL "req hs data" |
|
#define | SPDM_BIN_STR_2_LABEL "rsp hs data" |
|
#define | SPDM_BIN_STR_3_LABEL "req app data" |
|
#define | SPDM_BIN_STR_4_LABEL "rsp app data" |
|
#define | SPDM_BIN_STR_5_LABEL "key" |
|
#define | SPDM_BIN_STR_6_LABEL "iv" |
|
#define | SPDM_BIN_STR_7_LABEL "finished" |
|
#define | SPDM_BIN_STR_8_LABEL "exp master" |
|
#define | SPDM_BIN_STR_9_LABEL "traffic upd" |
|
#define | SPDM_ST1_VALUE_US 100000 |
|
#define | SPDM_OID_DMTF {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C } |
|
#define | SPDM_OID_DMTF_SPDM {0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12 } |
|
#define | SPDM_OID_DMTF_DEVICE_INFO {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12, 0x01 } |
|
#define | SPDM_OID_DMTF_HARDWARE_IDENTITY {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12, 0x02 } |
|
#define | SPDM_OID_DMTF_EKU_RESPONDER_AUTH {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12, 0x03 } |
|
#define | SPDM_OID_DMTF_EKU_REQUESTER_AUTH {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12, 0x04 } |
|
#define | SPDM_OID_DMTF_MUTABLE_CERTIFICATE {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12, 0x05 } |
|
#define | SPDM_OID_DMTF_SPDM_EXTENSION {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1C, 0x82, 0x12, 0x06 } |
|
Definitions of DSP0274 Security Protocol & Data Model Specification (SPDM) version 1.2.0 in Distributed Management Task Force (DMTF).
Copyright (c) 2019 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Spdm.h.