From dfa4b1d9a1867f02b536c99b4145ff8a3affe8f0 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 31 May 2022 15:58:34 +0200 Subject: [PATCH] build: add bip39_english.o where appropriate [no changelog] --- core/SConscript.firmware | 1 + core/SConscript.unix | 1 + crypto/Makefile | 2 +- crypto/gui/gui.pro | 1 + legacy/demo/Makefile | 1 + legacy/firmware/Makefile | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/SConscript.firmware b/core/SConscript.firmware index d2388828c..cc3a77aca 100644 --- a/core/SConscript.firmware +++ b/core/SConscript.firmware @@ -65,6 +65,7 @@ SOURCE_MOD += [ 'vendor/trezor-crypto/bignum.c', 'vendor/trezor-crypto/bip32.c', 'vendor/trezor-crypto/bip39.c', + 'vendor/trezor-crypto/bip39_english.c', 'vendor/trezor-crypto/blake256.c', 'vendor/trezor-crypto/blake2b.c', 'vendor/trezor-crypto/blake2s.c', diff --git a/core/SConscript.unix b/core/SConscript.unix index 74568b05a..2784656b8 100644 --- a/core/SConscript.unix +++ b/core/SConscript.unix @@ -64,6 +64,7 @@ SOURCE_MOD += [ 'vendor/trezor-crypto/bignum.c', 'vendor/trezor-crypto/bip32.c', 'vendor/trezor-crypto/bip39.c', + 'vendor/trezor-crypto/bip39_english.c', 'vendor/trezor-crypto/blake256.c', 'vendor/trezor-crypto/blake2b.c', 'vendor/trezor-crypto/blake2s.c', diff --git a/crypto/Makefile b/crypto/Makefile index 6091eaf5f..e86d51600 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -98,7 +98,7 @@ ifdef SMALL CFLAGS += -DUSE_PRECOMPUTED_CP=0 endif -SRCS = bignum.c ecdsa.c curves.c secp256k1.c nist256p1.c rand.c hmac.c bip32.c bip39.c pbkdf2.c base58.c base32.c +SRCS = bignum.c ecdsa.c curves.c secp256k1.c nist256p1.c rand.c hmac.c bip32.c bip39.c bip39_english.c pbkdf2.c base58.c base32.c SRCS += address.c SRCS += script.c SRCS += ripemd160.c diff --git a/crypto/gui/gui.pro b/crypto/gui/gui.pro index e4623bc4f..e223f1937 100644 --- a/crypto/gui/gui.pro +++ b/crypto/gui/gui.pro @@ -7,6 +7,7 @@ TEMPLATE = app SOURCES += ../address.c SOURCES += ../bip32.c SOURCES += ../bip39.c +SOURCES += ../bip39_english.c SOURCES += ../sha2.c SOURCES += ../pbkdf2.c SOURCES += ../hmac.c diff --git a/legacy/demo/Makefile b/legacy/demo/Makefile index 7a58e1ff8..eba48a4f2 100644 --- a/legacy/demo/Makefile +++ b/legacy/demo/Makefile @@ -14,6 +14,7 @@ OBJS += ../vendor/trezor-crypto/ripemd160.o OBJS += ../vendor/trezor-crypto/secp256k1.o OBJS += ../vendor/trezor-crypto/sha2.o OBJS += ../vendor/trezor-crypto/bip39.o +OBJS += ../vendor/trezor-crypto/bip39_english.o OBJS += ../vendor/trezor-crypto/pbkdf2.o OBJS += ../vendor/trezor-crypto/memzero.o diff --git a/legacy/firmware/Makefile b/legacy/firmware/Makefile index 287a42ceb..55c57fd39 100644 --- a/legacy/firmware/Makefile +++ b/legacy/firmware/Makefile @@ -93,6 +93,7 @@ OBJS += ../vendor/trezor-crypto/ed25519-donna/ed25519-keccak.o OBJS += ../vendor/trezor-crypto/hmac.o OBJS += ../vendor/trezor-crypto/bip32.o OBJS += ../vendor/trezor-crypto/bip39.o +OBJS += ../vendor/trezor-crypto/bip39_english.o OBJS += ../vendor/trezor-crypto/pbkdf2.o OBJS += ../vendor/trezor-crypto/base32.o OBJS += ../vendor/trezor-crypto/base58.o