Commit Graph

59 Commits (3f12742669bd782cac374a1750d517f4fd88c43b)

Author SHA1 Message Date
Pavol Rusnak c0510fc91e
build(crypto): make valgrind flag compatible with secp256k1-zkp (#2027)
2 years ago
Martin Milata cace42c6e9 fix(crypto/test): fix uninitialized variable use
2 years ago
Ondřej Vejpustek ad38d8e324 refactor(crypto,core): make zkp_context_init() return status
3 years ago
Andrew Kozlik 85ff3682c9 test(crypto): Add BIP-341 test vectors.
3 years ago
Andrew Kozlik 3f5c11a919 test(crypto): Add unit test for BIP340 tweak.
3 years ago
matejcik 80e4b27f09 feat(crypto/cardano): implement Cardano Ledger derivation
3 years ago
matejcik 1174648777 refactor(crypto): extract Cardano derivations to separate file
3 years ago
2128675309 684e0c886d feat(crypto): add big endian support
3 years ago
Andrew Kozlik eb90efd914 chore(crypto,core,legacy): Add return code to hdnode_fill_public_key().
3 years ago
Andrew Kozlik 34621a6b6d fix(crypto,core,legacy): Check private key validity when deriving public key.
3 years ago
Ondřej Vejpustek 29ce860d46 refactor(core,crypto): rename schnorr to BIP340
3 years ago
Ondřej Vejpustek 15bb085509 refactor(core,crypto): make public key derivation functions return
3 years ago
Ondřej Vejpustek 61143edb4d test(crypto): add tests for Schnorr signatures
3 years ago
Ondřej Vejpustek f2459e335d test(crypto): add tests for get_public_key{33,65}
3 years ago
Ondřej Vejpustek 79153135b7 test(crypto): add ecdsa tests for secp256k1_zkp
3 years ago
Ondřej Vejpustek aca37e5eb2 refactor(crypto): make helper function for ecdsa_recover_pub_from_sig and
3 years ago
Ondřej Vejpustek 3cd2e89fbc refactor(crypto): split test_ecdsa_signature into two tests
3 years ago
Pavol Rusnak d34b1636ee feat(crypto): add BIP-350 test cases to test_check_segwit
3 years ago
Pavol Rusnak 86ea94d06b fix(crypto): remove 3 BIP-173 test cases from segwit_addr
3 years ago
Pavol Rusnak 60bd59fbad feat(crypto): update segwit_addr to support Bech32m
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
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
Fabien 9ef26c347e Add support for Schnorr crypto (BCH variant)
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 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 7fc1851279 fix(crypto): Improve naming and robustness of SLIP39's T9 mask lookup.
3 years ago
Andrew Kozlik dab353f888 test(crypto): Test signature verification for a digest which is equal to the group order.
4 years ago
Andrew Kozlik c67ecb984b chore(crypto): Move XPUB_MAXLEN and ADDRESS_MAXLEN from modtrezorcrypto to bip32.h.
4 years ago
Ondřej Vejpustek 015c294857 crypto/tests: parametrize test_bn_format
4 years ago
Ondřej Vejpustek 24ceb0ab6b crypto/bignum: change limb size to 29, add tests
4 years ago
Ondřej Vejpustek 4504469e80 crypto: add tests for chacha_drbg
4 years ago
Pavol Rusnak ff706eb70b
crypto: split hdnode_deserialize into hdnode_deserialize_{public,private}
4 years ago
Pavol Rusnak 78041d261b
crypto: refactor bip39 api
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
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 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 cc2acb2e67
Revert "crypto: add support for schnorr signatures"
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 e631983d6d Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago