Commit Graph

116 Commits (0b0f01fb59290fd6c2790fef0578d3257b64ea9d)

Author SHA1 Message Date
Saleem Rashid c70e440128 hasher: Replace hasher_Double with HASHER_*D
6 years ago
Pavol Rusnak bb4c3d0525
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak b7f73ee3ff
use explicit_bzero
7 years ago
Saleem Rashid b41a51805f Use hasher_Raw instead of sha256_Raw
7 years ago
Jochen Hoenicke 9dfc6a4477
introduce confidential macro, mark confidential items
7 years ago
Pavol Rusnak af06a997cb
refactor ecdsa_get_address_segwit_p2sh{,_raw}
7 years ago
Pavol Rusnak c950342063
refactor hdnode_public_ckd_address_optimized
7 years ago
Pavol Rusnak a820a5601b
split rfc6979 from ecdsa into separate module
7 years ago
Pavol Rusnak a8aacac6be
ecdsa: rand -> rnd
7 years ago
Jochen Hoenicke d3d88591d0 Added co-signing for ed25519.
7 years ago
Jochen Hoenicke 9443aefa9a
Multi-byte prefix cleanup
8 years ago
Jochen Hoenicke 949220ac0b
Protect signing against side-channel attack (#81)
8 years ago
Pavol Rusnak cf21bb2fbf
refactor ECDH multiplication into ecdh_multiply function
8 years ago
Pavol Rusnak ad73c0d4e7
fix ecdsa_address_decode
8 years ago
Pavol Rusnak 8764e26368
ecdsa_address_decode now needs version
8 years ago
Pavol Rusnak 430a5087c8
introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros
8 years ago
Pavol Rusnak d10ec230c0
add support for multibyte address versions
8 years ago
Jochen Hoenicke 157caf3763 ecdsa: fix out-of-bounds read in point_multiply (#71)
8 years ago
Jochen Hoenicke 133c068f37 Reworked rfc6979 signing. (#72)
8 years ago
Jochen Hoenicke f4ed55377d Moved get_ethereum_address from ecdsa to bip32
8 years ago
Alex Beregszaszi 4e7da75c6e Rewrite ecdsa_uncompress_pubkey() using ecdsa_read_pubkey()
8 years ago
Alex Beregszaszi 1b8e3d557f Implement ecdsa_get_ethereum_pubkeyhash()
8 years ago
Alex Beregszaszi 7d68a6ee17 Add ecdsa_uncompress_pubkey()
8 years ago
Pavol Rusnak 110965f31d
further optimize emscripten
8 years ago
Jochen Hoenicke 7b07dff25c
Added Unit test, fixed one corner case.
8 years ago
Jochen Hoenicke 409783ba64
New function ecdsa_verify_recover
8 years ago
Jochen Hoenicke 698f40f385
BIP-32 without gaps, prepare non-ecdsa curves
8 years ago
Jochen Hoenicke 533c3beb63 Fixed uncompress_coords for NIST curve
8 years ago
Jochen Hoenicke 0bc1b70c4a Use different seed modifier for different curves
8 years ago
Jochen Hoenicke 472b90d8ed Added myself to copyright lines.
9 years ago
Jochen Hoenicke 774ac9cb22 Simplified test for doubling in point_jacobian_add
9 years ago
Jochen Hoenicke f93b003cbc Extended comments, new function bn_add, a bug fix.
9 years ago
Jochen Hoenicke f2081d88d8 New jacobian_add that handles doubling.
9 years ago
Jochen Hoenicke 60e36dac3b Fixed conditional_negate for larger numbers
9 years ago
Jochen Hoenicke 6ba4d288b0 Cleaned up bignum code
9 years ago
Pavol Rusnak d659fd49a5 return back normalization of signatures
9 years ago
Pavol Rusnak 71c24673ce Merge branch 'ssh-agent' of git://github.com/romanz/trezor-crypto into romanz-ssh-agent
9 years ago
Pavol Rusnak 36caf5b33a Merge pull request #35 from romanz/master
9 years ago
Roman Zeyde 36847ac0d7 ecdsa: generate_k_rfc6979() should cleanup its stack before exit
9 years ago
Roman Zeyde 7c58fc11a4 Add support for NIST256P1 elliptic curve
9 years ago
John Dvorak 85cebfe968 Change return value of ecdsa_sign_digest
9 years ago
Pavol Rusnak 21d0bb437a cleanup coding style
9 years ago
netanelkl 3fd32df8ed More of the same.
10 years ago
Pavol Rusnak a757693fe3 Merge pull request #26 from jhoenicke/bignum_improvements
10 years ago
Oleg Andreev a5a4333a8e typo fix (no, this was not a bug)
10 years ago
Jochen Hoenicke 56f5777b68 Refactored code for point doubling.
10 years ago
Jochen Hoenicke edf0fc4902 New fast variant of point_multiply.
10 years ago
Jochen Hoenicke 1700caf2ad scalar_mult based on Jacobian representation
10 years ago
Jochen Hoenicke 2c38929d03 Make scalar_multiply timing attack safe.
10 years ago
Jochen Hoenicke ec057a5102 "More" constant time point multiplication
10 years ago