Skip to content

Commit 4d05a15

Browse files
committed
Merge branch 'memory-functional-tests'
2 parents 6da1aed + b624dbc commit 4d05a15

File tree

6 files changed

+355
-291
lines changed

6 files changed

+355
-291
lines changed

src/rust/bitbox02-sys/build.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const ALLOWLIST_VARS: &[&str] = &[
3232
"MAX_UNLOCK_ATTEMPTS",
3333
"MAX_VARINT_SIZE",
3434
"MEMORY_DEVICE_NAME_MAX_LEN",
35+
"MEMORY_MULTISIG_NUM_ENTRIES",
3536
"MEMORY_MULTISIG_NAME_MAX_LEN",
3637
"MEMORY_PLATFORM_BITBOX02_PLUS",
3738
"MEMORY_PLATFORM_BITBOX02",
@@ -42,12 +43,14 @@ const ALLOWLIST_VARS: &[&str] = &[
4243
"MEMORY_SPI_BLE_FIRMWARE_MAX_SIZE",
4344
"SCREEN_HEIGHT",
4445
"SCREEN_WIDTH",
46+
"secfalse_u8",
4547
"SD_MAX_FILE_SIZE",
4648
"SLIDER_POSITION_TWO_THIRD",
4749
"XPUB_ENCODED_LEN",
4850
];
4951

5052
const ALLOWLIST_TYPES: &[&str] = &[
53+
"auto_enter_t",
5154
"buffer_t",
5255
"component_t",
5356
"confirm_params_t",
@@ -60,6 +63,7 @@ const ALLOWLIST_TYPES: &[&str] = &[
6063
"securechip_error_t",
6164
"trinary_input_string_params_t",
6265
"UG_COLOR",
66+
"upside_down_t",
6367
];
6468

6569
const ALLOWLIST_FNS: &[&str] = &[
@@ -96,12 +100,16 @@ const ALLOWLIST_FNS: &[&str] = &[
96100
"memory_ble_enable",
97101
"memory_ble_enabled",
98102
"memory_bootloader_hash",
103+
"memory_bootloader_set_flags",
99104
"memory_check_noise_remote_static_pubkey",
100105
"memory_get_attestation_bootloader_hash",
101106
"memory_get_attestation_pubkey_and_certificate",
107+
"memory_get_authorization_key",
102108
"memory_get_ble_metadata",
103109
"memory_get_device_name",
104110
"memory_get_encrypted_seed_and_hmac",
111+
"memory_get_encryption_key",
112+
"memory_get_io_protection_key",
105113
"memory_get_noise_static_private_key",
106114
"memory_get_platform",
107115
"memory_get_salt_root",
@@ -114,11 +122,15 @@ const ALLOWLIST_FNS: &[&str] = &[
114122
"memory_multisig_set_by_hash",
115123
"memory_reset_hww",
116124
"memory_set_ble_metadata",
125+
"memory_set_attestation_bootloader_hash",
126+
"memory_set_attestation_certificate",
127+
"memory_set_attestation_device_pubkey",
117128
"memory_set_device_name",
118129
"memory_set_encrypted_seed_and_hmac",
119130
"memory_set_initialized",
120131
"memory_set_mnemonic_passphrase_enabled",
121132
"memory_set_salt_root",
133+
"memory_set_bootloader_hash_fake",
122134
"memory_set_seed_birthdate",
123135
"memory_setup",
124136
"memory_spi_get_active_ble_firmware_version",

0 commit comments

Comments
 (0)