Commit Graph

59 Commits (f36f9c64bb1338846e7b23fc64bae883bcf06146)

Author SHA1 Message Date
Pieter Wuille 06aeea555e Turn secp256k1_ec_pubkey_serialize outlen to in/out
9 years ago
Gregory Maxwell 8e48787d97 Change secp256k1_ec_pubkey_combine's count argument to size_t.
9 years ago
Gregory Maxwell c69dea025a Clear output in more cases for pubkey_combine, adds tests.
9 years ago
Gregory Maxwell 269d422703 Comment copyediting.
9 years ago
Pieter Wuille 9234391ed4 Overhaul flags handling
9 years ago
Rusty Russell 1a368980c8 Make flags more explicit, add runtime checks.
9 years ago
Gregory Maxwell 4a243da47c Move secp256k1_ec_privkey_import/export to contrib.
9 years ago
Pieter Wuille 0c6ab2ff18 Introduce explicit lower-S normalization
9 years ago
Pieter Wuille 3bb9c44719 Rewrite ECDSA signature parsing code
9 years ago
Pieter Wuille 68a3c766ad
Merge pull request #329
9 years ago
Jonas Schnelli 37100d7284
improve ECDH header-doc
9 years ago
Gustav Simonsson b13d749947 Fix couple of typos in API comments
9 years ago
Gregory Maxwell 338fc8bd71 Add API exports to secp256k1_nonce_function_default and secp256k1_nonce_function_rfc6979.
9 years ago
Gregory Maxwell 118cd8210f Use explicit symbol visibility.
9 years ago
Gregory Maxwell 4e64608082 Include public module headers when compiling modules.
9 years ago
Pieter Wuille dd891e0ed5 Get rid of _t as it is POSIX reserved
9 years ago
Luke Dashjr 486b9bb8ce Use a flags bitfield for compressed option to secp256k1_ec_pubkey_serialize and secp256k1_ec_privkey_export
9 years ago
Luke Dashjr 05732c5a5f Callback data: Accept pointers to either const or non-const data
9 years ago
Luke Dashjr 788038d323 Use size_t for lengths (at least in external API)
9 years ago
Luke Dashjr c9d7c2a484 secp256k1_context_set_{error,illegal}_callback: Restore default handler by passing NULL as function argument
9 years ago
Luke Dashjr 9aac008038 secp256k1_context_destroy: Allow NULL argument as a no-op
9 years ago
Luke Dashjr 64b730bc3f secp256k1_context_create: Use unsigned type for flags bitfield
9 years ago
Pieter Wuille dc0ce9fc41 [API BREAK] Change argument order to out/outin/in
9 years ago
Pieter Wuille 9f443be086 Move pubkey recovery code to separate module
9 years ago
Pieter Wuille 439d34adc6 Separate recoverable and normal signatures
9 years ago
Pieter Wuille f66907f220 Improve/reformat API documentation secp256k1.h
9 years ago
Pieter Wuille a5a66c70b6 Add support for custom EC-Schnorr-SHA256 signatures
9 years ago
Andrew Poelstra 0739bbb6f0 Add ECDH module which works by hashing the output of ecmult_const
9 years ago
Pieter Wuille 995c548771 Introduce callback functions for dealing with errors.
9 years ago
Pieter Wuille 74a2acdb8a Add a secp256k1_ecdsa_signature_t type
9 years ago
Pieter Wuille 23cfa914d2 Introduce secp256k1_pubkey_t type
9 years ago
Thomas Kerin 99fd963bd5
Add secp256k1_ec_pubkey_compress(), with test similar to the related decompress() function.
9 years ago
Andrew Poelstra 210ffed5cd Use separate in and out pointers in `secp256k1_ec_pubkey_decompress`
10 years ago
Gregory Maxwell d2275795ff Add scalar blinding and a secp256k1_context_randomize() call.
10 years ago
Andrew Poelstra d899b5b67c Expose ability to deep-copy a context
10 years ago
Pieter Wuille a9b6595ef8 [API BREAK] Introduce explicit contexts
10 years ago
Daniel Cousens 5098f62571 Improve documentation formatting consistency
10 years ago
Pieter Wuille 1573a102c0 Add ability to pass extra entropy to rfc6979
10 years ago
Pieter Wuille 8030d7c0e5 Improve signing API documentation & specification
10 years ago
Gregory Maxwell 6cc8425c91 Include a comment on secp256k1_ecdsa_sign explaining low-s.
10 years ago
Pieter Wuille bbd5ba7cfa Use rfc6979 as default nonce generation function
10 years ago
Pieter Wuille c6e7f4e8d8 [API BREAK] Use a nonce-generation function instead of a nonce
10 years ago
Pieter Wuille cf7b2b4647 Fix ECDSA message hashes to 32 bytes
10 years ago
Pieter Wuille be82e92fc4 Require that r and b are different for field multiplication.
10 years ago
Gregory Maxwell 8563713a4f Add non-null and unused-result warnings for the external API.
10 years ago
Pieter Wuille c27fdc0b97 Document some preconditions
10 years ago
Pieter Wuille ae6bc76e32 [API CHANGE] Use secp256k1_ec_ prefix for non-ECDSA key operations
10 years ago
Pieter Wuille 04e34d18c3 Split up signing and verification initialization
10 years ago
HaltingState 315d2560b0 updated documentation
11 years ago
Pieter Wuille 86d3cce2a9 Add support for multiplicative tweaking
12 years ago