Skip to content

Commit 4b888cd

Browse files
authored
Fixed minor typo in key definitions (#951)
* Fixed minor typo in sgx_tseal.h and key definitions. --------- Signed-off-by: Camila Fonseca [email protected]
1 parent bf99907 commit 4b888cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/inc/sgx_key.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
/* Key Policy */
5353
#define SGX_KEYPOLICY_MRENCLAVE 0x0001 /* Derive key using the enclave's ENCLAVE measurement register */
54-
#define SGX_KEYPOLICY_MRSIGNER 0x0002 /* Derive key using the enclave's SINGER measurement register */
54+
#define SGX_KEYPOLICY_MRSIGNER 0x0002 /* Derive key using the enclave's SIGNER measurement register */
5555
#define SGX_KEYPOLICY_NOISVPRODID 0x0004 /* Derive key without the enclave's ISVPRODID */
5656
#define SGX_KEYPOLICY_CONFIGID 0x0008 /* Derive key with the enclave's CONFIGID */
5757
#define SGX_KEYPOLICY_ISVFAMILYID 0x0010 /* Derive key with the enclave's ISVFAMILYID */

common/inc/sgx_tseal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ typedef struct _aes_gcm_data_t
5656
typedef struct _sealed_data_t
5757
{
5858
sgx_key_request_t key_request; /* 00: The key request used to obtain the sealing key */
59-
uint32_t plain_text_offset; /* 64: Offset within aes_data.playload to the start of the optional additional MAC text */
59+
uint32_t plain_text_offset; /* 64: Offset within aes_data.payload to the start of the optional additional MAC text */
6060
uint8_t reserved[12]; /* 68: Reserved bits */
6161
sgx_aes_gcm_data_t aes_data; /* 80: Data structure holding the AES/GCM related data */
6262
} sgx_sealed_data_t;

0 commit comments

Comments
 (0)