Skip to content

Commit 6b9d658

Browse files
tmaeldanielinux
authored andcommitted
Correct Nested comment for Espressif build
1 parent 5074613 commit 6b9d658

1 file changed

Lines changed: 18 additions & 19 deletions

File tree

wolfcrypt/src/port/atmel/atmel.c

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -222,25 +222,24 @@ static ATCAIfaceCfg* gCfg = &config_atmel_device[WOLFSSL_ATCA_DEVICE_NO];
222222
#endif
223223

224224
#if defined(WOLFSSL_MICROCHIP_TA100)
225-
/*
226-
TA_ElementAttributes contains data element attributes of the handle
227-
which is of 8 byte
228-
229-
typedef struct
230-
{
231-
uint8_t element_CKA; /* contains class, key_type & Algorithm mode */
232-
uint16_t property; /* properties of the element */
233-
uint8_t usage_key; /* usage key */
234-
uint8_t write_key; /* write key */
235-
uint8_t read_key; /* read key */
236-
uint8_t permission; /* permission of the element usage|write|read|
237-
delete perm */
238-
uint8_t byte7_settings; /* Byte 7 attributes use_count|exportable|
239-
lockable|access_limit */
240-
} ATCA_PACKED ta_element_attributes_t;
241-
242-
See Shared Data Element Attributes in the programming specifications
243-
*/
225+
/* TA_ElementAttributes contains data element attributes of the handle
226+
* which is of 8 byte
227+
*
228+
* typedef struct
229+
* {
230+
* uint8_t element_CKA; -- contains class, key_type & Algorithm mode
231+
* uint16_t property; -- properties of the element
232+
* uint8_t usage_key; -- usage key
233+
* uint8_t write_key; -- write key
234+
* uint8_t read_key; -- read key
235+
* uint8_t permission; -- permission of the element usage|write|read|
236+
* delete perm
237+
* uint8_t byte7_settings; -- Byte 7 attributes use_count|exportable|
238+
* lockable|access_limit
239+
* } ATCA_PACKED ta_element_attributes_t;
240+
*
241+
* See Shared Data Element Attributes in the programming specifications
242+
*/
244243
static ta_element_attributes_t sharedData_attr[ATECC_MAX_SLOT] = {
245244
{0x81, TA100_PROP_SHARED_DATA, 0x00, 0x00, 0x00, 0x41, 0x10},
246245
{0x81, TA100_PROP_SHARED_DATA, 0x00, 0x00, 0x00, 0x41, 0x10},

0 commit comments

Comments
 (0)