File tree 1 file changed +9
-2
lines changed
include/industry_standard
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;
503
503
typedef struct {
504
504
spdm_message_header_t header ;
505
505
/* param1 == BIT[0:3]=slot_id, BIT[4:7]=RSVD
506
- * param2 == RSVD */
506
+ * param2 == Request Attribute in 1.3 */
507
507
uint16_t offset ;
508
508
uint16_t length ;
509
509
} spdm_get_certificate_request_t ;
510
510
511
511
#define SPDM_GET_CERTIFICATE_REQUEST_SLOT_ID_MASK 0xF
512
512
513
+ /* SPDM GET_CERTIFICATE request Attributes */
514
+ #define SPDM_GET_CERTIFICATE_REQUEST_ATTRIBUTES_SLOT_SIZE_REQUESTED 0x01
515
+
513
516
/* SPDM GET_CERTIFICATE response */
514
517
typedef struct {
515
518
spdm_message_header_t header ;
516
519
/* param1 == BIT[0:3]=slot_id, BIT[4:7]=RSVD
517
- * param2 == RSVD */
520
+ * param2 == Response Attribute in 1.3 */
518
521
uint16_t portion_length ;
519
522
uint16_t remainder_length ;
520
523
/*uint8_t cert_chain[portion_length];*/
521
524
} spdm_certificate_response_t ;
522
525
523
526
#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
+
524
531
typedef struct {
525
532
/* Total length of the certificate chain, in bytes,
526
533
* including all fields in this table.*/
You can’t perform that action at this time.
0 commit comments