1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 13:58:08 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Ondřej Vejpustek
4a686d9231 feat(crypto): introduce bn_read_be_512 2023-09-27 14:04:45 +02:00
Ondřej Vejpustek
93bb4c2e35 feat(crypto): introduce bn_reduce and bn_copy_lower 2023-09-27 14:04:45 +02:00
Ondřej Vejpustek
2b00c72094 refactor(crypto): introduce bignum512 2023-09-27 14:04:45 +02:00
Ondřej Vejpustek
3a2bdf16dd feat(crypto): implement Legendre symbol 2023-09-27 14:04:45 +02:00
Ondřej Vejpustek
5a9d399012 test(crypto): use P-256 prime in test_bignum.py 2023-09-27 14:04:45 +02:00
matejcik
fcd43b93ac feat(crypto): add thousands separator to bn_format 2022-08-02 20:35:49 +02:00
matejcik
8c3d3c6548 chore: bump black to 22.3
changes:
* exponent operator ** now allows no spaces around itself: https://github.com/psf/black/issues/538
* optional unicode marker u"" is no longer allowed

[no changelog]
2022-06-29 14:35:16 +02:00
Ondřej Vejpustek
015c294857 crypto/tests: parametrize test_bn_format 2020-06-26 12:29:21 +02:00
Ondřej Vejpustek
24ceb0ab6b crypto/bignum: change limb size to 29, add tests 2020-05-24 14:36:38 +00:00