Skip to content

Commit

Permalink
lib_cxng: use types that clearly express their width
Browse files Browse the repository at this point in the history
(cherry picked from commit 9899632)
(cherry picked from commit 82f6f52)
  • Loading branch information
jarevalo-ledger authored and fbeutin-ledger committed Jun 11, 2024
1 parent abdbf8c commit 128b53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib_cxng/include/lcx_cipher.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ typedef enum {

/** Generic key structure */
typedef struct {
unsigned int size;
unsigned char keys[32];
uint32_t size;
uint8_t keys[32];
} cipher_key_t;

/** Base cipher information */
Expand Down

0 comments on commit 128b53f

Please sign in to comment.