Commit Graph

52 Commits (decode_bytes)

Author SHA1 Message Date
Christian Reitter 676ac1571a crypto: add fuzz testing harnesses and documentation
4 years ago
Ondřej Vejpustek 9598d17f10 crypto: make bn_format faster
4 years ago
Ondřej Vejpustek 015c294857 crypto/tests: parametrize test_bn_format
4 years ago
Ondřej Vejpustek e630279487 crypto: fix comment
4 years ago
Ondřej Vejpustek 76849f0bd6 crypto: make ecdsa_recover_pub_from_sig faster
4 years ago
Ondřej Vejpustek 24ceb0ab6b crypto/bignum: change limb size to 29, add tests
4 years ago
Andrew Kozlik 3843f917e9 crypto: Check for invalid characters in Monero Base58 decode.
4 years ago
Andrew Kozlik 20dd1ddc60 crypto: Fix buffer overflow in b58tobin.
4 years ago
Ondřej Vejpustek 4504469e80 crypto: add tests for chacha_drbg
4 years ago
Ondřej Vejpustek d5bfe6b32f crypto: add chacha_drbg
4 years ago
Pavol Rusnak ff706eb70b
crypto: split hdnode_deserialize into hdnode_deserialize_{public,private}
4 years ago
Pavol Rusnak b5446bd125
crypto: fix last commit
4 years ago
Pavol Rusnak 1859b5b588
crypto: update bip39bruteforce.c to segwit-in-p2sh
4 years ago
Ondřej Vejpustek e7a81560f1
crypto: derive public key in hdnode_sign only for supported ed25519 curves
4 years ago
Pavol Rusnak 76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
5 years ago
Ondřej Vejpustek 11aa654abc
crypto: explicitly initialize variable length arrays
5 years ago
Ondřej Vejpustek fdad317d8c
crypto: explicitly initialize variables
5 years ago
Pavol Rusnak 8eee90fd9a
crypto: sync base58.c with upstream
5 years ago
Pavol Rusnak 78041d261b
crypto: refactor bip39 api
5 years ago
Pavol Rusnak b3c58e4a17
git subrepo pull crypto
5 years ago
Pavol Rusnak db86092319
crypto: fix valgrind issue with ed25519-donna, clean local variables
5 years ago
Marius Kjærstad 1d6ea33ec6 docs: switch http to https in links (#419)
5 years ago
Andrew Kozlik 217c910b4b cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano.
5 years ago
Tomas Susanka 49d6a35249 core: add slip39 keyboard
5 years ago
Pavol Rusnak 54d348228f
all: rename TREZOR to Trezor where possible
5 years ago
Andrew Kozlik 013929de0b crypto/hmac_drbg: Fix buffer overflow.
5 years ago
Andrew Kozlik d95756ccf3 crypto/hmac_drbg: Fix style.
5 years ago
Andrew Kozlik 1d9e125fd4 crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c.
5 years ago
Andrew Kozlik b915092a44 crypto/hmac_drbg: Add nonce parameter to hmac_drbg_init().
5 years ago
Andrew Kozlik 7c44340c40 crypto: Add HMAC deterministic random bit generator and unit tests.
5 years ago
Pavol Rusnak f7053d96fe
all: remove extraneous whitespace
5 years ago
Pavol Rusnak cc2acb2e67
Revert "crypto: add support for schnorr signatures"
5 years ago
matejcik 9b168daa19 style: improve makefile output, format test files
5 years ago
Andrew Kozlik 025974a97d crypto/shamir: Memzero stack variables even in performace critical functions.
5 years ago
Andrew Kozlik 223868f552 crypto/shamir: Fix edge case when shamir_interpolate() is called with duplicate share indices which are equal to the result index.
5 years ago
Andrew Kozlik 48a98efc58 crypto/shamir: Reorder #includes.
5 years ago
Andrew Kozlik e631983d6d Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago
Tomas Susanka 24bd4f84da ci: gitlab init
5 years ago
Tomas Susanka 456d98ac03 all: style
5 years ago
armatusmiles 8114e0f9fc
crypto: add support for schnorr signatures
5 years ago
Tomas Susanka 1995169255 crypto: style
5 years ago
Pavol Rusnak 8b06598474
core+legacy: rework code styling checks
5 years ago
Andrew Kozlik ccb169e39e crypto/shamir: Add copyright.
5 years ago
Andrew Kozlik 1ee831f50c Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago
Andrew Kozlik c073d68a2d crypto/shamir: Improve error handling.
5 years ago
Pavol Rusnak e7592a4c04
nix: consolidate various shell.nix files into one
5 years ago
Andrew Kozlik 1b3c0e0243 crypto/tests: Add unit tests for Shamir secret sharing.
5 years ago
Kurotych Anatolii 23bfb31ad2 crypto/ecdsa: add compress_coords (#42)
5 years ago
Andrew Kozlik 0d21bca288 crypto: Move Shamir secret sharing to trezor-crypto.
5 years ago
Pavol Rusnak be76dcc96a
toplevel: reorganize .gitignore files
5 years ago