Commit Graph

84 Commits (c0c2718c1e4ca449bca492eb69539ff5ac95e2cb)

Author SHA1 Message Date
arbitrarylink f051225730 feat(core,legacy): add support for Ethereum 64-bit chain_id
3 years ago
Ondřej Vejpustek 4827969cc8 fix(crypto): unify function headers in sha2.c and sha2.h
3 years ago
Ondřej Vejpustek 10bc747dc6 fix(crypto): fix argument type of ed25519_hram()
3 years ago
Christian Reitter ba8eb408ea crypto: new iteration of fuzz testing code, improved dictionary script, minor documentation changes
3 years ago
Christian Reitter 78f879aaf1 crypto: improve fuzz testing code, harnesses, documentation and scripts
3 years ago
Andrew Kozlik c1843f9f9f style(legacy): Remove nested conditional operators.
3 years ago
Pavol Rusnak f740515c85 fix(core,crypto): add more test cases from bip-173
3 years ago
Andrew Kozlik ce18f4bc8a test(crypto): Add progressive tests for hash functions.
3 years ago
Andrew Kozlik b2cc3bcb36 fix(crypto): Fix incorrect handling of empty input in blake256_Update().
3 years ago
Adam R c4bf522b31
feat(crypto): add extra BIP32 test (test vector #4) (#1646)
3 years ago
Ondřej Vejpustek e1a5f42c81 feat(core): make chacha_drbg more robust
3 years ago
Pavol Rusnak b04d5bd514 fix(crypto): use ck_assert_uint_eq where we compare unsigned values
3 years ago
xloem e821104237
fix(crypto): update case of windows.h (#1560)
3 years ago
Fabien 9ef26c347e Add support for Schnorr crypto (BCH variant)
3 years ago
Pavol Rusnak d6d1cd7b4c style(crypto): cleanup unused functions
3 years ago
Pavol Rusnak 93215ae3c7 style: reformat with clang-format 11
3 years ago
Rafael Korbas edf9b4ee85 Refactor mnemonic_to_entropy to not (misleadingly) return checksum
3 years ago
Andrew Kozlik b90ce7f2fc test(crypto): Add unit tests for ecdsa_sig_from_der().
3 years ago
Andrew Kozlik 9f6d4ec538 chore(crypto): Implement DER signature parsing.
3 years ago
Pavol Rusnak 78be2c9cac fix(crypto): fix build on clang/arm64
3 years ago
Andrew Kozlik acf7294ca2 test(crypto): Add more unit tests for invalid T9 prefix in SLIP39 word lookup.
3 years ago
Andrew Kozlik 55f3df6b0c chore(crypto): Rework SLIP-39 word lookup.
3 years ago
Andrew Kozlik e3afd984ae test(crypto): Add SLIP39 word completion test.
3 years ago
Andrew Kozlik e615fc6263 chore(crypto): Rename wordlist to slip39_wordlist and add include guards.
3 years ago
Andrew Kozlik 7fc1851279 fix(crypto): Improve naming and robustness of SLIP39's T9 mask lookup.
3 years ago
Andrew Kozlik c5f26beeea fix(crypto): Fix undefined behavior in xmr_read_varint().
3 years ago
Andrew Kozlik dab353f888 test(crypto): Test signature verification for a digest which is equal to the group order.
3 years ago
Andrew Kozlik fed59ec770 fix(crypto): In ecdsa_verify_digest() allow the digest to be equal to the order of the group.
3 years ago
Pavol Rusnak 50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
4 years ago
Andrew Kozlik 7ae338bd87 chore(crypto): Improve comments and error handling in ecdsa_verify_digest().
4 years ago
Andrew Kozlik c67ecb984b chore(crypto): Move XPUB_MAXLEN and ADDRESS_MAXLEN from modtrezorcrypto to bip32.h.
4 years ago
Andrew Kozlik 5429acdb7f
crypto: fix undefined behavior in shamir unbitslice (#1219)
4 years ago
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