Skip to content

Commit

Permalink
Merge pull request #461 from LedgerHQ/abo_fix_cx_osu_warn
Browse files Browse the repository at this point in the history
Fix CX warning in OS update context
  • Loading branch information
abonnaudet-ledger authored Nov 20, 2023
2 parents 0e6496f + 1aa833a commit bd74ae3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lib_cxng/include/lcx_cipher.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ typedef struct {

/** Cipher information */
typedef struct {
uint32_t key_bitlen; ///< Key size
uint32_t iv_size; ///< Initialization vector size
uint32_t block_size; ///< Block size
const cx_cipher_base_t *base; /// Structure for base cipher
uint32_t key_bitlen; ///< Key size
uint32_t iv_size; ///< Initialization vector size
uint32_t block_size; ///< Block size
#if !defined(BOLOS_OS_UPGRADER_APP)
const cx_cipher_base_t *base; /// Structure for base cipher
#else
cx_cipher_base_t *base; /// Structure for base cipher
#endif

} cx_cipher_info_t;

Expand Down

0 comments on commit bd74ae3

Please sign in to comment.