Fix comments and shellcheck warning

This commit is contained in:
Tesfa Mael
2026-03-11 11:38:27 -07:00
committed by Daniele Lacamera
parent fbfc3ba8c2
commit 969a2502ae
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -3118,7 +3118,7 @@ AS_IF([test "x$with_cryptoauthlib" != "xno"], [
CPPFLAGS="$saved_CPPFLAGS"
CFLAGS="$saved_CFLAGS"
AC_MSG_RESULT([no - compilation failed])
AC_MSG_ERROR([CryptoAuthLib found but test compilation failed. Check config.log for details.])
AC_MSG_ERROR([CryptoAuthLib found but compilation check failed. Check config.log for details.])
])
], [
AC_MSG_RESULT([no - library not found])
+9 -9
View File
@@ -228,15 +228,15 @@ which is of 8 byte
typedef struct
{
uint8_t element_CKA; //!< contains class, key_type & Algorithm mode
uint16_t property; //!< properties of the element
uint8_t usage_key; //!< usage key
uint8_t write_key; //!< write key
uint8_t read_key; //!< read key
uint8_t permission; //!< permission of the element usage|write|read|
//delete perm
uint8_t byte7_settings; //!< Byte 7 attributes use_count|exportable|
// lockable|access_limit
uint8_t element_CKA; /* contains class, key_type & Algorithm mode */
uint16_t property; /* properties of the element */
uint8_t usage_key; /* usage key */
uint8_t write_key; /* write key */
uint8_t read_key; /* read key */
uint8_t permission; /* permission of the element usage|write|read|
delete perm */
uint8_t byte7_settings; /* Byte 7 attributes use_count|exportable|
lockable|access_limit */
} ATCA_PACKED ta_element_attributes_t;
See Shared Data Element Attributes in the programming specifications