File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
include/industry_standard Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -503,24 +503,31 @@ typedef uint16_t spdm_key_usage_bit_mask_t;
503503typedef struct {
504504 spdm_message_header_t header ;
505505 /* param1 == BIT[0:3]=slot_id, BIT[4:7]=RSVD
506- * param2 == RSVD */
506+ * param2 == Request Attribute in 1.3 */
507507 uint16_t offset ;
508508 uint16_t length ;
509509} spdm_get_certificate_request_t ;
510510
511511#define SPDM_GET_CERTIFICATE_REQUEST_SLOT_ID_MASK 0xF
512512
513+ /* SPDM GET_CERTIFICATE request Attributes */
514+ #define SPDM_GET_CERTIFICATE_REQUEST_ATTRIBUTES_SLOT_SIZE_REQUESTED 0x01
515+
513516/* SPDM GET_CERTIFICATE response */
514517typedef struct {
515518 spdm_message_header_t header ;
516519 /* param1 == BIT[0:3]=slot_id, BIT[4:7]=RSVD
517- * param2 == RSVD */
520+ * param2 == Response Attribute in 1.3 */
518521 uint16_t portion_length ;
519522 uint16_t remainder_length ;
520523 /*uint8_t cert_chain[portion_length];*/
521524} spdm_certificate_response_t ;
522525
523526#define SPDM_CERTIFICATE_RESPONSE_SLOT_ID_MASK 0xF
527+
528+ /* SPDM CERTIFICATE response Attributes */
529+ #define SPDM_CERTIFICATE_RESPONSE_ATTRIBUTES_CERTIFICATE_INFO_MASK 0x7
530+
524531typedef struct {
525532 /* Total length of the certificate chain, in bytes,
526533 * including all fields in this table.*/
You can’t perform that action at this time.
0 commit comments