aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
AgeCommit message (Expand)Author
2024-01-16refactor: Allow std::span construction from CKeyMarcoFalke
2023-12-23refactor: share and use `GenerateRandomKey` helperSebastian Falbesoner
2023-09-27key: don't allocate secure mem for null (invalid) keyPieter Wuille
2023-06-23Add ElligatorSwift key creation and ECDH logicPieter Wuille
2023-01-31refactor: use `Hash` helper for double-SHA256 calculationsSebastian Falbesoner
2023-01-13Merge bitcoin/bitcoin#26691: Update secp256k1 subtree to libsecp256k1 version...fanquake
2022-12-24scripted-diff: Bump copyright headersHennadii Stepanov
2022-12-13Adapt to libsecp256k1 API changesPieter Wuille
2022-08-04extended keys: fail to derive too large depth instead of wrapping aroundAntoine Poinsot
2022-04-27refactor: Use Span of std::byte in CExtKey::SetSeedMarcoFalke
2022-04-21Merge bitcoin/bitcoin#24213: refactor: use Span in random.*laanwj
2022-04-07key: use secp256k1_schnorrsig_sign32 over deprecated secp256k1_schnorrsig_signfanquake
2022-03-23refactor: use Span in random.*pasta
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-12-15Remove unnecessary cast in CKey::SignSchnorrPieter Wuille
2021-11-12Make signing follow BIP340 exactly w.r.t. aux randomnessPieter Wuille
2021-11-09Merge bitcoin/bitcoin#22934: Add verification to `Sign`, `SignCompact` and `S...W. J. van der Laan
2021-11-02Adds verification step to Schnorr and ECDSA signingamadeuszpawlik
2021-11-01refactor: Take Span in SetSeedMarcoFalke
2021-10-05refactor: use `{Read,Write}BE32` helpers for BIP32 nChild (de)serializationSebastian Falbesoner
2021-08-30Stricter BIP32 decoding and test vector 5Pieter Wuille
2021-07-14Update secp256k1 subtree to latest upstream + adapt APIPieter Wuille
2021-06-12Add CKey::SignSchnorr function for BIP 340/341 signingPieter Wuille
2021-05-04refactor: Avoid &foo[0] on C-Style arraysMarcoFalke
2021-01-04doc: Use https URLs where possibleSawyer Billings
2020-12-31scripted-diff: Bump copyright headersMarcoFalke
2020-08-18tests: Add fuzzing harness for ec_seckey_import_der(...) and ec_seckey_export...practicalswift
2020-07-30Make CHash256/CHash160 output to SpanPieter Wuille
2020-07-30Make CHash256 and CHash160 consume SpansPieter Wuille
2020-06-10scripted-diff: rename privkey with seckey in secp256k1 interfacePieter Wuille
2019-12-30scripted-diff: Bump copyright of files changed in 2019MarcoFalke
2019-11-20Merge #12461: scripted-diff: Rename key size consts to be relative to their c...Wladimir J. van der Laan
2019-06-02Make reasoning about dependencies easier by not including unused dependenciespracticalswift
2019-03-27CKey: add method to negate the keyJonas Schnelli
2019-03-04scripted-diff: Rename CPubKey and CKey::*_KEY_SIZE and COMPRESSED_*_KEY_SIZEBen Woosley
2019-01-31Fix assertion in CKey::SignCompactJoão Barbosa
2018-09-13Pass export privkey DER compression flag correctlyliuyujun
2018-08-13Merge #13666: Always create signatures with Low R valuesWladimir J. van der Laan
2018-08-09Always create 70 byte signatures with low R valuesAndrew Chow
2018-07-27Update copyright headers to 2018DrahtBot
2018-05-19scripted-diff: Rename master key to seedJohn Newbery
2018-03-07Merge #9598: Improve readability by removing redundant casts to same type (on...Wladimir J. van der Laan
2018-02-05Use ptrdiff_t type to more precisely indicate usage and avoid compiler warnings.murrayn
2018-01-23Make CKey::Load references constRussell Yanofsky
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-12-21Improve readability by removing redundant casts to same type (on all platforms)practicalswift
2017-12-20Merge #10657: Utils: Improvements to ECDSA key-handling codeWladimir J. van der Laan
2017-11-16Remove includes in .cpp files for things the corresponding .h file already in...practicalswift
2017-11-16scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider
2017-10-04Scope the ECDSA constant sizes to CPubKey / CKey classesJack Grigg