mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
adjust message sizes
This commit is contained in:
parent
4ef8acb123
commit
db6ef4d139
@ -24,9 +24,9 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "trezor.h"
|
#include "trezor.h"
|
||||||
|
|
||||||
#define MSG_IN_SIZE (12*1024)
|
#define MSG_IN_SIZE (11 * 1024)
|
||||||
|
|
||||||
#define MSG_OUT_SIZE (12*1024)
|
#define MSG_OUT_SIZE (11 * 1024)
|
||||||
|
|
||||||
#define msg_read(buf, len) msg_read_common('n', (buf), (len))
|
#define msg_read(buf, len) msg_read_common('n', (buf), (len))
|
||||||
#define msg_write(id, ptr) msg_write_common('n', (id), (ptr))
|
#define msg_write(id, ptr) msg_write_common('n', (id), (ptr))
|
||||||
|
@ -10,7 +10,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
.confidential (NOLOAD) : {
|
.confidential (NOLOAD) : {
|
||||||
*(confidential)
|
*(confidential)
|
||||||
ASSERT ((SIZEOF(.confidential) <= 33K), "Error: Confidential section too big!");
|
ASSERT ((SIZEOF(.confidential) <= 32K), "Error: Confidential section too big!");
|
||||||
} >ram
|
} >ram
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
.confidential (NOLOAD) : {
|
.confidential (NOLOAD) : {
|
||||||
*(confidential)
|
*(confidential)
|
||||||
ASSERT ((SIZEOF(.confidential) <= 33K), "Error: Confidential section too big!");
|
ASSERT ((SIZEOF(.confidential) <= 32K), "Error: Confidential section too big!");
|
||||||
} >ram
|
} >ram
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
.confidential (NOLOAD) : {
|
.confidential (NOLOAD) : {
|
||||||
*(confidential)
|
*(confidential)
|
||||||
ASSERT ((SIZEOF(.confidential) <= 33K), "Error: Confidential section too big!");
|
ASSERT ((SIZEOF(.confidential) <= 32K), "Error: Confidential section too big!");
|
||||||
} >ram
|
} >ram
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user