Commit Graph

668 Commits (54727e66509543b2ed01ec288d1d0c243e449a7a)
 

Author SHA1 Message Date
Tomas Susanka 54727e6650 rand: switch to 'Numerical Recipes' constants and remove random8 to increase period
6 years ago
andrew c5227fdb96
rand.c: for testing purposes seed the pseudorandom number generator with 0
6 years ago
Andrew Kozlik 7079277fb0 Fix counter initialization bug in rfc7539_init(). Fix const correctness in rfc7539.h and chacha20poly1305.h. (#188)
6 years ago
Pavol Rusnak 2bbbc3e155
cash_addr: fix hardcoded value of CHECKSUM_SIZE
6 years ago
Pavol Rusnak 5c6b472883
fix signed/unsigned comparison
6 years ago
Pavol Rusnak eacfa751f9
base58: bail out when output buffer is empty
6 years ago
Pavol Rusnak a938a1c901
nix: add shell.nix
6 years ago
Pavol Rusnak 60b5b7032c
hasher: add HASHER_SAPLING_PREIMAGE
6 years ago
Pavol Rusnak 2b7d9bd579
use env where possible
6 years ago
Clément Nussbaumer f9523f97df Improve function naming (#181)
6 years ago
Pavol Rusnak 9c2cfb0470
refactor pbkdf2 functions to make them more readable
6 years ago
Pavol Rusnak b679a6b2a7
rename hasher_multisig to hasher_script
6 years ago
Pavol Rusnak f9caee2489
introduce hasher_multisig to curve_info
6 years ago
Pavol Rusnak 5e85d57def
minor nitpick in test_bip32_optimized
6 years ago
Pavol Rusnak a83c233d7e
fix unused-const-variable
6 years ago
Pavol Rusnak a59742817f
include options.h in ed25519.h
6 years ago
Pavol Rusnak e6b5538a8e
add USE_CARDANO default to options.h
6 years ago
Pavol Rusnak 0d215161dc
refactor cardano internal scalar functions
6 years ago
Pavol Rusnak 9da140fbf8
drop float usage from pbkdf2
6 years ago
Pavol Rusnak e929313f53
small changes to cardano due to last commit
6 years ago
Dušan Plavák d2bc03fb59 replace cardano with v2 (#179)
6 years ago
Ondřej Vejpustek cabc926b39 move ge25519.c into curve25519-donna-32bit.c and ed25519-donna-impl-base.c (#177)
6 years ago
Dusan Klinec 13f51319d8 updates to the monero branch
6 years ago
Dusan Klinec 4aea73e4bb xmr: monero crypto implemented, tests
6 years ago
leoreinaux 1863045da4 add smartcash curve (#176)
6 years ago
Dusan Klinec bf1e1b13a6 chacha20poly1305: header polution reduction
6 years ago
Dusan Klinec b9edb3b976 ed25519: ROTR, ROTL removed from header file
6 years ago
Dusan Klinec f1eca08383 ed25519: scalarmult fixes
6 years ago
Dusan Klinec 72da171f28 ed25519: double scalarmult fix
6 years ago
Pavol Rusnak d454a48b51
aes: update to newest version
6 years ago
Pavol Rusnak 5d62454c6a
refactor hashers, introduce HASHER_SHA2_RIPEMD160
6 years ago
Matheus Degiovani 0b0f01fb59 Fix decred bip32 name
6 years ago
Pavol Rusnak 456037599f
hasher: add HASHER_SHA3{,K}
6 years ago
Pavol Rusnak f481530aea
tests: add bip32_vector_3
6 years ago
Pavol Rusnak a7463bcb85
tests: don't use AES_VAR for tests/libtrezor-crypto.so
6 years ago
Pavol Rusnak 5cd84e6870
tests: fix test_curves bug introduced in last commit
6 years ago
Pavol Rusnak 2de6d876a3
python: reformat python scripts using black
6 years ago
Ondřej Vejpustek 02a988cd26 integrate Wycheproof tests
6 years ago
Ondřej Vejpustek 8318ac35fc fix ed25519-donna signature malleability
6 years ago
matejcik 9b2de9584d test_curves: do not rely on CWD
6 years ago
Dusan Klinec 957b8129bd Allow to compile without Valgrind
6 years ago
Pavol Rusnak ff001a0f12
bip32: drop ugly decitoa
6 years ago
Pavol Rusnak 1730601d30
refactor mnemonic_check and mnemonic_to_entropy, style changes
6 years ago
jmuravsky 18b109e2bd Add Cardano currency support
6 years ago
Pavol Rusnak 3e8974ff88
address: fix ethereum address computation, chain_id is uint32
6 years ago
Ilan 4153e662b6 Implement RSKIP-60 checksum address encoding
6 years ago
Jochen Hoenicke f586155d80 Fix unaligned access in curve25519
6 years ago
Pavol Rusnak c26867d6f2
blake2s: add InitPersonal
6 years ago
Pavol Rusnak 669acd7331
blake2b: add personal_len to blake2b_InitPersonal
6 years ago
Karel Bilek 620902b9b3 blake2b: Fix overwinter hashers
6 years ago