mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-02 16:35:55 +00:00
Merge de5ea5233c
into 52f5593f28
This commit is contained in:
commit
364f151fd5
@ -256,8 +256,6 @@ SOURCE_MOD_TROPIC += [
|
||||
'vendor/libtropic/src/libtropic.c',
|
||||
]
|
||||
|
||||
CPPDEFINES_MOD += ['USE_TREZOR_CRYPTO']
|
||||
|
||||
CPPPATH_MOD += ['vendor/libtropic/src/', 'vendor/libtropic/include/']
|
||||
|
||||
SOURCE_MICROPYTHON = [
|
||||
|
@ -65,16 +65,16 @@ def configure(
|
||||
"vendor/libtropic/src/lt_l2_frame_check.c",
|
||||
"vendor/libtropic/src/lt_l3.c",
|
||||
"vendor/libtropic/src/lt_random.c",
|
||||
"vendor/libtropic/hal/port/unix/lt_port_unix.c",
|
||||
"vendor/libtropic/hal/port/unix/lt_port_unix_tcp.c",
|
||||
"vendor/libtropic/hal/crypto/trezor_crypto/lt_crypto_trezor_aesgcm.c",
|
||||
"vendor/libtropic/hal/crypto/trezor_crypto/lt_crypto_trezor_ed25519.c",
|
||||
"vendor/libtropic/hal/crypto/trezor_crypto/lt_crypto_trezor_sha256.c",
|
||||
"vendor/libtropic/hal/crypto/trezor_crypto/lt_crypto_trezor_x25519.c",
|
||||
]
|
||||
paths += ["embed/sec/tropic/inc"]
|
||||
defines += ["USE_TREZOR_CRYPTO"]
|
||||
defines += [("LT_USE_TREZOR_CRYPTO", "1")]
|
||||
features_available.append("tropic")
|
||||
defines += ["USE_TROPIC=1"]
|
||||
defines += [("USE_TROPIC", "1")]
|
||||
|
||||
if "input" in features_wanted:
|
||||
sources += ["embed/io/touch/unix/touch.c"]
|
||||
|
@ -163,7 +163,7 @@ def configure(
|
||||
paths += ["vendor/libtropic/include"]
|
||||
paths += ["vendor/libtropic/src"]
|
||||
defines += [("USE_TROPIC", "1")]
|
||||
defines += [("USE_TREZOR_CRYPTO", "1")]
|
||||
defines += [("LT_USE_TREZOR_CRYPTO", "1")]
|
||||
|
||||
if "sbu" in features_wanted:
|
||||
sources += ["embed/io/sbu/stm32/sbu.c"]
|
||||
|
@ -163,7 +163,7 @@ def configure(
|
||||
paths += ["vendor/libtropic/include"]
|
||||
paths += ["vendor/libtropic/src"]
|
||||
defines += [("USE_TROPIC", "1")]
|
||||
defines += [("USE_TREZOR_CRYPTO", "1")]
|
||||
defines += [("LT_USE_TREZOR_CRYPTO", "1")]
|
||||
|
||||
if "sbu" in features_wanted:
|
||||
sources += ["embed/io/sbu/stm32/sbu.c"]
|
||||
|
@ -163,7 +163,7 @@ def configure(
|
||||
paths += ["vendor/libtropic/include"]
|
||||
paths += ["vendor/libtropic/src"]
|
||||
defines += [("USE_TROPIC", "1")]
|
||||
defines += [("USE_TREZOR_CRYPTO", "1")]
|
||||
defines += [("LT_USE_TREZOR_CRYPTO", "1")]
|
||||
|
||||
if "sbu" in features_wanted:
|
||||
sources += ["embed/io/sbu/stm32/sbu.c"]
|
||||
|
2
vendor/libtropic
vendored
2
vendor/libtropic
vendored
@ -1 +1 @@
|
||||
Subproject commit 09ca073d8456520f9e12ef5c90bc99571fda8920
|
||||
Subproject commit 96dd86d96acf31aea10d303677c217cbf222a8dd
|
Loading…
Reference in New Issue
Block a user