Commit Graph

271 Commits (86d6a0b782cc0d61eb37ead53e5aa37f8de7aa0e)
 

Author SHA1 Message Date
Roman Zeyde 587d6a65ea Update documentation regarding ECDSA curves support
9 years ago
Pavol Rusnak f2ef64228a Merge pull request #37 from jdb6167/master
9 years ago
Josh Billings cb0b5169c5 whitespace
9 years ago
Josh Billings d2120d6da1 two bugfixes: 1. nist256p1.c was not included in setup.py, causing import errors when using TrezorCrypto.so in Python. 2. if you attempted a hardened derivation in python using the compiled TrezorCrypto module, an IntegerOverflowError would occur because Python ints are always signed. one-line fix by changing int to unsigned int in the pyx file
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
Pavol Rusnak 0983c6c456 Merge pull request #34 from JohnDvorak/patch-1
9 years ago
John Dvorak 85cebfe968 Change return value of ecdsa_sign_digest
9 years ago
Pavol Rusnak c58d4e03c5 add proof of concept bip39 bruteforce benchmark
9 years ago
Pavol Rusnak 00954da5fe fix /dev/urandom problem
10 years ago
Pavol Rusnak ffedf8a4d0 suppress warning when debug is disabled
10 years ago
Pavol Rusnak 21d0bb437a cleanup coding style
10 years ago
Pavol Rusnak 6ec585fcee Merge pull request #29 from netanelkl/master
10 years ago
Pavol Rusnak f1b8f55d92 use curly braces in if block
10 years ago
Pavol Rusnak 99f01a9391 Merge pull request #30 from jhoenicke/master
10 years ago
Jochen Hoenicke c90f79bce2 Added new tests for point multiplication
10 years ago
Jochen Hoenicke e432d772c7 Program to precompute the table for scalar_mult
10 years ago
netanelkl 3fd32df8ed More of the same.
10 years ago
netanelkl 70dc71c87e Some more stack memory wipe before leaving functions.
10 years ago
netanelkl aeefea054a Added some private key nullification so that they won't be uncontrolled in the stack
10 years ago
Pavol Rusnak a757693fe3 Merge pull request #26 from jhoenicke/bignum_improvements
10 years ago
Pavol Rusnak 196cabe012 import random_uniform and random_permute functions from TREZOR codebase
10 years ago
Pavol Rusnak ad71a16e61 Merge pull request #28 from oleganza/master
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
Pavol Rusnak d4df66a8d0 Merge pull request #27 from jhoenicke/bip39fix
10 years ago
Jochen Hoenicke 1b42fde852 Off by one error in word length.
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
Jochen Hoenicke eb6e74f361 Improve speed of scalar_multiply.
10 years ago
Jochen Hoenicke d4788bddfd Added modulus to bn_subtractmod
10 years ago
Jochen Hoenicke 62b95ee414 Optimized conversion functions.
10 years ago
Jochen Hoenicke 7d4cf5cedd Optimized the bn_inverse method.
10 years ago
Pavol Rusnak e37ba822e6 bn_substract -> bn_subtractmod, bn_substract_noprime -> bn_subtract
10 years ago
Pavol Rusnak cb9ccc5cf4 remove all references to USE_PUBKEY_VALIDATE
10 years ago
Pavol Rusnak dc31cc50d2 Merge pull request #25 from jhoenicke/comments
10 years ago
Pavol Rusnak 38cfebdbfe Merge pull request #24 from jhoenicke/master
10 years ago
Pavol Rusnak 98c4c788ce Merge pull request #18 from mackler/remove-sha384-initial-H
10 years ago
Jochen Hoenicke 7e98c02afd Added comments to the tricky algorithms.
10 years ago
Jochen Hoenicke e2dd0b8e8d Always check for validity in ecdsa_read_pubkey.
10 years ago
Pavol Rusnak 92ab7504b2 add one more bip32_cache test
10 years ago
Pavol Rusnak d814f58a3b Merge pull request #22 from jhoenicke/master
10 years ago
Jochen Hoenicke 7e7b40b434 Make word list const
10 years ago
Pavol Rusnak f4fe7c9aa5 Merge pull request #21 from jhoenicke/master
10 years ago
Jochen Hoenicke ed9d8c1ebb Fix RFC6979 generation of k.
10 years ago
Pavol Rusnak 54aa5a4482 Merge pull request #20 from mackler/stddef-rand
10 years ago