1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 02:31:05 +00:00
Commit Graph

284 Commits

Author SHA1 Message Date
Martin Milata
e7c2800798 build: fix compilation on darwin
[no changelog]
2023-05-10 20:59:00 +02:00
tychovrahe
6fe25eb305 chore(vendor): optimize uzlib (via micropython)
relevant commit:
a973bbca756ca0c9219deefea2873d3cc774839d Uzlib: partially optimize decompression for speed

[no changelog]
2023-04-26 14:14:48 +02:00
Martin Milata
3fb3f108cc chore(vendor): bump micropython to 1.19.1
Relevant micropython commits:
  01374d941f9d7398e35990b574769b20c6779457 py/mpconfig.h: Define initial templates for "feature levels".
  7b89ad8dbf432ab51eea6d138e179bf51394c786 py/vm: Add a fast path for LOAD_ATTR on instance types.
  68219a295c75457c096ac42dbe8411b84e1e1a51 stm32: Enable LOAD_ATTR fast path, and map lookup caching on >M0.
  e0bf4611c3a8b23b3c52e6a7804aac341ac3a87d py: Only search frozen modules when '.frozen' is found in sys.path.
  f2040bfc7ee033e48acef9f289790f3b4e6b74e5 py: Rework bytecode and .mpy file format to be mostly static data.
  926b554dafffa1e9bd80aa12fea5c621221c9d79 extmod/moduos: Create general uos module to be used by all ports.
  2b409ef8a46015f8f3bd20bc44e644637dbe9bd3 unix/moduos: Convert module to use extmod version.
  47f634300c5572571816817f16836113c98814ae py: Change makemoduledefs process so it uses output of qstr extraction.
  0e7bfc88c6ac6b5d64240f91183a3cfe2ab67ade all: Use mp_obj_malloc everywhere it's applicable.
  2a6ba47110be88ff1e1f5abd1bd76c353447884c py/obj: Add static safety checks to mp_obj_is_type().
2023-04-21 13:14:07 +02:00
Pavol Rusnak
056ac9d70a chore(vendor): update secp256k1-zkp to v0.3.1 2023-04-14 13:34:14 +02:00
Pavol Rusnak
67f3af619a chore(vendor): replace secp256k1-zkp with secp256k1 (v0.3.0)
We don't use any ZKP features at the moment, so we might as well switch
to upstream secp256k1 which does stable releases now.

I am keeping the original submodule name and "zkp" in all integrations,
because it seemed kind of pointless to try to rename/refactor everything,
especially when we might want to switch back to secp256k1-zkp in the future.
2023-03-14 15:37:12 +01:00
Martin Milata
4622aec0f1 refactor(core): switch to Rust implementation of QR-Code-generator
[no changelog]
2023-03-09 23:36:36 +01:00
matejcik
52f0c70b95 chore: bump fido2 submodule (to get INTERACT support) 2022-11-24 13:03:34 +01:00
Ondřej Vejpustek
db0da196a8 chore(vendor): update secp256k1-zkp to latest 2022-05-16 16:23:18 +02:00
Martin Milata
a01516389a chore(vendor): update QR-code-generator 2021-11-05 14:09:11 +01:00
Ondřej Vejpustek
dbfc7d241f chore(vendor,crypto): bump version of secp256k1-zkp 2021-10-25 14:41:28 +02:00
Martin Milata
aace875fef chore(vendor): bump micropython to 1.17
Relevant micropython commits:
  d1bfb271d7686708fe8711a177629c8bf6e7f6a6 lib/uzlib: Move uzlib code from extmod to lib.
  4d546713ec8858cbf908de45de11cbfc46a20971 shared: Introduce new top-level dir and move 1st party lib code there.
  ca920f72184c50f61002aa9d5cd01555b1e28b7b py/mpstate: Make exceptions thread-local.
2021-09-17 11:18:14 +02:00
matejcik
31be44b5cd chore(core): use micropython checkout without submodules 2021-08-04 15:01:53 +02:00
Pavol Rusnak
3d69ca1b1b chore(vendor): update nanopb to 0.4.5 2021-07-14 17:34:12 +02:00
matejcik
5f4240d93c feat(core): preallocate sys.modules to an appropriate size 2021-05-06 13:14:21 +02:00
Pavol Rusnak
1dad3b548c
chore(vendor): bump secp256k1-zkp to latest 2021-03-18 14:37:28 +01:00
Andrew Kozlik
1e34b06656 test: Update fido2-tests submodule.
Reduces Shannon thresholds to prevent tests from failing.
2021-02-22 16:33:50 +01:00
Pavol Rusnak
b9e8a7c999 chore(vendor): bump micropython (add systemview support) 2021-01-26 20:53:38 +01:00
Pavol Rusnak
453df567d3 ci: various fixes and updates
- fix Nix build on macOS Big Sur (by updating to nixpkgs-unstable)
- update gcc-arm-embedded from 9.x to 10.x
- update nix to 2.3.10
- update Alpine Linux to 3.12.3
- allow to change arch in Docker
2021-01-04 14:40:16 +01:00
Martin Milata
6c1a436325 fix(vendor): use correct micropython rev
Trees are the same, only commit metadata differ.
2020-12-17 16:35:06 +01:00
Martin Milata
e67465a7da chore(vendor): update micropython to include more precise memory profiling 2020-12-08 18:07:50 +01:00
Martin Milata
54ce8482d3 feat: set micropython to the memorymap branch 2020-11-02 14:14:00 +01:00
Pavol Rusnak
ded61a4ccf
chore(vendor): update micropython to v1.13 2020-10-16 14:19:35 +02:00
Pavol Rusnak
9a6d891706
chore(vendor): update libopencm3 2020-10-07 17:16:01 +02:00
Pavol Rusnak
71058eedd5 chore(vendor/nanopb): update nanopb from 0.4.1 to 0.4.3 2020-09-24 10:52:31 +02:00
Martin Milata
a6fe6ad3dc vendor: update micropython to include lineinfo fix 2020-08-18 21:08:46 +02:00
Andrew Kozlik
5cfb188bbe vendor: update fido2-tests 2020-05-14 13:36:45 +02:00
Andrew Kozlik
4a889f34cd vendor: update fido2-tests 2020-04-17 14:09:34 +02:00
Pavol Rusnak
80a07ca4af
vendor: update fido2-tests 2020-04-08 14:11:01 +02:00
Andrew Kozlik
fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements. 2020-04-06 18:29:05 +02:00
Andrew Kozlik
0b9d66ca2e vendor: Update fido2-tests submodule. 2020-04-06 09:53:42 +02:00
Andrew Kozlik
b3cd760df0 core/webauthn: Disable CTAPHID_WINK function. 2020-03-20 15:07:06 +01:00
Pavol Rusnak
cd45d2f3dc
vendor: update nanopb to 0.4.1 2020-02-04 18:12:09 +01:00
Jan Pochyla
62bee620cc core: upgrade micropython to 1.12 2020-01-07 20:52:42 +01:00
Pavol Rusnak
bb8d809a6d
common: change language field to IETF BCP 47 language tag 2019-12-08 11:27:10 +01:00
Andrew Kozlik
5bdd523b91 vendor: Update fido2-tests submodule to fix issues with random ordering. 2019-11-26 15:18:14 +01:00
Pavol Rusnak
2652936c16
core/tests: adapt device_emu_fido2/u2f to reordered usb endpoints 2019-11-13 13:21:39 +01:00
Pavol Rusnak
d2ba070424
vendor: change fido2-tests to our fork 2019-11-01 12:35:12 +01:00
Pavol Rusnak
29fca5ff91
pip: cleanup Pipfile, run pipenv lock, update vendor/fido2-tests 2019-10-28 16:37:55 +00:00
Pavol Rusnak
bd79827c52
vendor: add testsuite for FIDO2; regenerate Pipfile 2019-10-17 16:32:50 +00:00
Pavol Rusnak
e5a1d453ec
vendor: update nanopb to 0.3.9.4 2019-10-14 12:07:21 +02:00
Pavol Rusnak
e688fa8775
vendor: update nanopb, remove build failure workaround
This reverts commit 5cfa386e44.
2019-10-11 10:01:04 +02:00
Pavol Rusnak
b07b9b1d09
legacy/vendor: use pre-relase of nanopb 0.3.9.4
drop our patch, use upstream PB_ENCODE_ARRAYS_UNPACKED option
2019-10-10 16:08:28 +00:00
Pavol Rusnak
e64cb49915
micropython: backport patch for "sane initial dynamic qstr pool size with frozen mods" 2019-10-07 15:12:39 +02:00
Roman Zeyde
d190d906de core/secp256k1-zkp: use ARM assembly for field operations (#176)
Update to latest secp256k1-zkp to allow building on Cortex-M4 devices (https://github.com/ElementsProject/secp256k1-zkp/pull/56).
2019-05-25 11:42:13 +02:00
matejcik
43866407df move vendored submodules to root vendor/ dir
before pulling, run `git submodule deinit --all`
2019-05-13 13:51:53 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
Tim Ruffing
52d34955e7 embed/extmod/modtrezorcrypto: add secp256k1_zkp module
This includes the https://github.com/ElementsProject/secp256k1-zkp library
(which is a fork from sipa/secp256k1 used in Bitcoin Core) as a module. It
is currently not used in any app.

This commit the first step towards integrating Liquid (tracking issue #282).

Note that this creates a new 64 kiB read-only data section in .flash2 for
pre-computed tables (secp256k1_ecmult_static_context) which speed up
signature creation and related private key operations.

Co-authored-by: Roman Zeyde <me@romanzey.de>
Co-authored-by: Andrew Poelstra <apoelstra@wpsoftware.net>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2019-04-15 17:24:55 +02:00
Tomas Susanka
5321cb1890 vendor: update trezor-common 2019-04-12 13:49:03 +02:00
Tomas Susanka
c2b7b8032a
vendor: update trezor-common; protobuf, templates build 2019-04-10 20:23:15 +02:00
Tomas Susanka
d02d173e69 vendor: update trezor-common 2019-03-12 10:52:33 +01:00