Commit Graph

112 Commits (ac82b99db77ec843af82dcdf040dfdbc98c8ff26)

Author SHA1 Message Date
Pieter Wuille a91d532338 Add CKey::SignSchnorr function for BIP 340/341 signing
3 years ago
MarcoFalke faece47c47
refactor: Avoid &foo[0] on C-Style arrays
4 years ago
Sawyer Billings e8640849c7
doc: Use https URLs where possible
4 years ago
MarcoFalke fa0074e2d8
scripted-diff: Bump copyright headers
4 years ago
practicalswift 46fcac1e4b tests: Add fuzzing harness for ec_seckey_import_der(...) and ec_seckey_export_der(...)
4 years ago
Pieter Wuille 02c4cc5c5d Make CHash256/CHash160 output to Span
4 years ago
Pieter Wuille e549bf8a9a Make CHash256 and CHash160 consume Spans
4 years ago
Pieter Wuille e10439ce5a scripted-diff: rename privkey with seckey in secp256k1 interface
4 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
Wladimir J. van der Laan 36191a8bb5
Merge #12461: scripted-diff: Rename key size consts to be relative to their class
5 years ago
practicalswift eca9767673 Make reasoning about dependencies easier by not including unused dependencies
6 years ago
Jonas Schnelli 463921bb64
CKey: add method to negate the key
6 years ago
Ben Woosley 47101bbb27
scripted-diff: Rename CPubKey and CKey::*_KEY_SIZE and COMPRESSED_*_KEY_SIZE
6 years ago
João Barbosa 3617f11739 Fix assertion in CKey::SignCompact
6 years ago
liuyujun 9a565a8282 Pass export privkey DER compression flag correctly
6 years ago
Wladimir J. van der Laan 2115cba9c6
Merge #13666: Always create signatures with Low R values
6 years ago
Andrew Chow 18dfea0dd0 Always create 70 byte signatures with low R values
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
John Newbery 131d4450b9 scripted-diff: Rename master key to seed
7 years ago
Wladimir J. van der Laan a34ac6ae07
Merge #9598: Improve readability by removing redundant casts to same type (on all platforms)
7 years ago
murrayn a25cb0f313 Use ptrdiff_t type to more precisely indicate usage and avoid compiler warnings.
7 years ago
Russell Yanofsky 04ededf001 Make CKey::Load references const
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
practicalswift 06edc23f74 Improve readability by removing redundant casts to same type (on all platforms)
7 years ago
Wladimir J. van der Laan 79399c8cd0
Merge #10657: Utils: Improvements to ECDSA key-handling code
7 years ago
practicalswift a720b928c8 Remove includes in .cpp files for things the corresponding .h file already included
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
Jack Grigg 63179d0283
Scope the ECDSA constant sizes to CPubKey / CKey classes
7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL
7 years ago
Jack Grigg 1ce9f0a952
Ensure that ECDSA constant sizes are correctly-sized
7 years ago
Jack Grigg 48abe78e51
Remove redundant `= 0` initialisations
7 years ago
Jack Grigg 17fa3913ef
Specify ECDSA constant sizes as constants
7 years ago
Jack Grigg e181dbe748
Add comments
7 years ago
Jack Grigg a3603ac6f0
Fix potential overflows in ECDSA DER parsers
7 years ago
Jeremy Rubin 30ac7688e3 Fix subscript[0] potential bugs in key.cpp
7 years ago
practicalswift b51aaf1c42 Remove unused C++ code not covered by unit tests
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Wladimir J. van der Laan f4d1fc259b wallet: Get rid of LockObject and UnlockObject calls in key.h
8 years ago
Pavel Janík 4731cab8fb Do not shadow variables
8 years ago
Pieter Wuille fa2637a3be Always require OS randomness when generating secret keys
9 years ago
Jonas Schnelli 90604f16af
add bip32 pubkey serialization
9 years ago
MarcoFalke fa24439ff3 Bump copyright headers to 2015
9 years ago
Pieter Wuille 48edf5746a Update key.cpp to new secp256k1 API
9 years ago
Wladimir J. van der Laan 6a877e870e
Merge pull request #6034
10 years ago
Cory Fields a574899671 chaincodes: abstract away more chaincode behavior
10 years ago
Pieter Wuille a56054be65 Update key.cpp to use new libsecp256k1
10 years ago
Pieter Wuille 8cf1485f3b Abstract chaincodes into CChainCode
10 years ago
Pieter Wuille 437ada3e55 Switch test case signing to RFC6979 extra entropy
10 years ago
Cory Fields 16a58a8644 keys: remove libsecp256k1 verification until it's actually supported
10 years ago
Pieter Wuille 1a9576de9d Use libsecp256k1's RFC6979 implementation
10 years ago