Skip to content

Commit

Permalink
Merge pull request #693 from LedgerHQ/fbe/update_API_LEVEL_19
Browse files Browse the repository at this point in the history
Update api level 19
  • Loading branch information
fbeutin-ledger authored Jun 12, 2024
2 parents 7f74f19 + f085c8d commit 82f652d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ OS release candidates are only kept in the list when a corresponding OS release
| 16 | europa_0.1.0-re1 | :x:
| 17 | europa_0.1.0-re2 | :x:
| 18 | europa_0.1.0-re3 <br/> flex_0.2.0-rc1 <br /> flex_0.2.0-rc2 <br /> nanox_2.3.0-rc5 <br/> nanos+_1.2.0-rc5 | :heavy_check_mark:
| 19 | flex_1.0.0-rc1 | :heavy_check_mark:
| 19 | flex_1.0.0-rc1 <br/> flex_1.0.0-rc2 <br/> flex_1.0.0 <br/> flex_1.0.1 <br/> | :heavy_check_mark:


### Cherry-picking process:
Expand Down
4 changes: 2 additions & 2 deletions include/ox_aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
* @details Such container should be initialized with #cx_aes_init_key_no_throw.
*/
struct cx_aes_key_s {
size_t size; ///< key size
uint8_t keys[32]; ///< key value
uint32_t size; ///< key size
uint8_t keys[32]; ///< key value
};
/** Convenience type. See #cx_aes_key_s. */
typedef struct cx_aes_key_s cx_aes_key_t;
Expand Down
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
8 changes: 4 additions & 4 deletions lib_standard_app/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ WEAK void __attribute__((noreturn)) app_exit(void)
os_sched_exit(-1);
}

static void common_app_init(void)
WEAK void common_app_init(void)
{
UX_INIT();

Expand All @@ -55,7 +55,7 @@ static void common_app_init(void)
#endif // HAVE_BLE
}

static void standalone_app_main(void)
WEAK void standalone_app_main(void)
{
#ifdef HAVE_SWAP
G_called_from_swap = false;
Expand Down Expand Up @@ -102,7 +102,7 @@ static void standalone_app_main(void)
}

#ifdef HAVE_SWAP
static void library_app_main(libargs_t *args)
WEAK void library_app_main(libargs_t *args)
{
BEGIN_TRY
{
Expand Down Expand Up @@ -152,7 +152,7 @@ static void library_app_main(libargs_t *args)
}
#endif // HAVE_SWAP

__attribute__((section(".boot"))) int main(int arg0)
WEAK __attribute__((section(".boot"))) int main(int arg0)
{
// exit critical section
__asm volatile("cpsie i");
Expand Down
2 changes: 1 addition & 1 deletion target/nanos2/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ MEMORY

FLASH (rx) : ORIGIN = 0xc0de0000, LENGTH = 400K
DATA (r) : ORIGIN = 0xc0de0000, LENGTH = 400K
SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 30K
SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 44K
}

PAGE_SIZE = 512;
Expand Down
2 changes: 1 addition & 1 deletion target/nanox/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ MEMORY

FLASH (rx) : ORIGIN = 0xc0de0000, LENGTH = 400K
DATA (r) : ORIGIN = 0xc0de0000, LENGTH = 400K
SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 30K
SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 28K
}

PAGE_SIZE = 256;
Expand Down

0 comments on commit 82f652d

Please sign in to comment.