Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-17 | Ensure that ECDSA constant sizes are correctly-sized | Jack Grigg | |
2017-07-17 | Remove redundant `= 0` initialisations | Jack Grigg | |
2017-07-17 | Specify ECDSA constant sizes as constants | Jack Grigg | |
2017-07-17 | Add comments | Jack Grigg | |
2017-07-17 | Fix potential overflows in ECDSA DER parsers | Jack Grigg | |
2017-07-08 | Fix subscript[0] potential bugs in key.cpp | Jeremy Rubin | |
2017-04-26 | Remove unused C++ code not covered by unit tests | practicalswift | |
2016-12-31 | Increment MIT Licence copyright header year on files modified in 2016 | isle2983 | |
Edited via: $ contrib/devtools/copyright_header.py update . | |||
2016-10-19 | wallet: Get rid of LockObject and UnlockObject calls in key.h | Wladimir J. van der Laan | |
Replace these with vectors allocated from the secure allocator. This avoids mlock syscall churn on stack pages, as well as makes it possible to get rid of these functions. Please review this commit and the previous one carefully that no `sizeof(vectortype)` remains in the memcpys and memcmps usage (ick!), and `.data()` or `&vec[x]` is used as appropriate instead of &vec. | |||
2016-09-27 | Do not shadow variables | Pavel JanÃk | |
2016-05-29 | Always require OS randomness when generating secret keys | Pieter Wuille | |
2016-04-14 | add bip32 pubkey serialization | Jonas Schnelli | |
CExtPubKey should be serializable like CPubKey | |||
2015-12-13 | Bump copyright headers to 2015 | MarcoFalke | |
2015-11-13 | Update key.cpp to new secp256k1 API | Pieter Wuille | |
2015-05-06 | Merge pull request #6034 | Wladimir J. van der Laan | |
a574899 chaincodes: abstract away more chaincode behavior [squashme] replace struct CCainCode with a typedef uint256 ChainCode (Cory Fields) 8cf1485 Abstract chaincodes into CChainCode (Pieter Wuille) | |||
2015-05-06 | chaincodes: abstract away more chaincode behavior | Cory Fields | |
[squashme] replace struct CCainCode with a typedef uint256 ChainCode | |||
2015-05-04 | Update key.cpp to use new libsecp256k1 | Pieter Wuille | |
libsecp256k1's API changed, so update key.cpp to use it. Libsecp256k1 now has explicit context objects, which makes it completely thread-safe. In turn, keep an explicit context object in key.cpp, which is explicitly initialized destroyed. This is not really pretty now, but it's more efficient than the static initialized object in key.cpp (which made for example bitcoin-tx slow, as for most of its calls, libsecp256k1 wasn't actually needed). This also brings in the new blinding support in libsecp256k1. By passing in a random seed, temporary variables during the elliptic curve computations are altered, in such a way that if an attacker does not know the blind, observing the internal operations leaks less information about the keys used. This was implemented by Greg Maxwell. | |||
2015-05-02 | Abstract chaincodes into CChainCode | Pieter Wuille | |
# Conflicts: # src/key.cpp # src/key.h | |||
2015-03-27 | Switch test case signing to RFC6979 extra entropy | Pieter Wuille | |
Instead of manually tweaking the deterministic nonce post-generation, pass the test case number in as extra entropy to RFC6979. | |||
2015-03-02 | keys: remove libsecp256k1 verification until it's actually supported | Cory Fields | |
This was added a while ago for testing purposes, but was never intended to be used. Remove it until upstream libsecp256k1 decides that verification is stable/ready. | |||
2015-01-06 | Use libsecp256k1's RFC6979 implementation | Pieter Wuille | |
2015-01-05 | Use arith_uint256 where necessary | Wladimir J. van der Laan | |
Also add conversion from/to uint256 where needed. | |||
2015-01-05 | Replace direct use of 0 with SetNull and IsNull | Wladimir J. van der Laan | |
Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256(). | |||
2015-01-04 | Merge pull request #5508 | Pieter Wuille | |
146c0a7 Add RandAddSeedPerfmon to MakeNewKey (21E14) | |||
2014-12-19 | Added "Core" to copyright headers | sandakersmann | |
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60 | |||
2014-12-18 | Add RandAddSeedPerfmon to MakeNewKey | 21E14 | |
2014-12-11 | Update Bitcoin for libsecp256k1 API change | Pieter Wuille | |
2014-12-01 | Merge pull request #5227 | Wladimir J. van der Laan | |
4cdaa95 Resize after succesful result (Pieter Wuille) 9d8604f Header define style cleanups (Pieter Wuille) a53fd41 Deterministic signing (Pieter Wuille) 3060e36 Add the RFC6979 PRNG (Pieter Wuille) a8f5087 Add HMAC-SHA256 (Pieter Wuille) 36fa4a7 Split up crypto/sha2 (Pieter Wuille) | |||
2014-11-28 | Resize after succesful result | Pieter Wuille | |
2014-11-23 | Add key generation/verification to ECC sanity check | Pieter Wuille | |
2014-11-23 | Add sanity check after key generation | Pieter Wuille | |
Add a sanity check to prevent cosmic rays from flipping a bit in the generated public key, or bugs in the elliptic curve code. This is simply done by signing a (randomized) message, and verifying the result. | |||
2014-11-20 | Deterministic signing | Pieter Wuille | |
2014-11-20 | Split up crypto/sha2 | Pieter Wuille | |
2014-11-18 | Use libsecp256k1 in key.cpp | Pieter Wuille | |
2014-11-10 | Do signature-s negation inside the tests | Pieter Wuille | |
To avoid the need for libsecp256k1 to expose such functionality. | |||
2014-10-31 | boost: moveonly: split CPubKey and friends to new files | Cory Fields | |
2014-10-31 | boost: moveonly: move BIP32Hash to hash.h | Cory Fields | |
2014-10-31 | boost: moveonly: create eccryptoverify.h|cpp and move helper functions there | Cory Fields | |
Eventually (after 0.10) these files will hold the logic for crypto verification routines, and CKey/CPubKey will call into them. | |||
2014-10-28 | Update comments in keystore to be doxygen compatible | Michael Ford | |
2014-10-28 | Update comments in key to be doxygen compatible | Michael Ford | |
2014-10-27 | boost: code movement only: split CECKey into separate files | Cory Fields | |
2014-10-27 | boost: remove CPubKey dependency from CECKey. Follow-up of e405aa48 | Cory Fields | |
2014-10-15 | boost: remove CPrivKey dependency from CECKey | Cory Fields | |
This allows CECKey to be used without directly depending on the secure allocators | |||
2014-09-26 | Add automatic script test generation, and actual checksig tests | Pieter Wuille | |
2014-09-06 | Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false' | ENikS | |
2014-09-01 | Fixing Compiler Error C2466 | ENikS | |
2014-07-09 | add GetRandBytes() as wrapper for RAND_bytes() | Philip Kaufmann | |
- add a small wrapper in util around RAND_bytes() and replace with GetRandBytes() in the code to log errors from calling RAND_bytes() - remove OpenSSL header rand.h where no longer needed | |||
2014-07-01 | libsecp256k1 integration | Pieter Wuille | |
2014-06-26 | ensure clean and consistent "namespace" usage | Philip Kaufmann | |
- remove some missplaced ; - ensure end of a namespace is clearly visible - use same formatting when using namespace | |||
2014-06-21 | Move crypto implementations to src/crypto/ | Pieter Wuille | |