Commit Graph

51 Commits (269d4227038b188128353235a272a8f030c307b1)

Author SHA1 Message Date
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
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
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
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
Pieter Wuille 194eea065f Public inclue improvements
12 years ago
Pieter Wuille da3038c757 Privkey import/export
12 years ago
Pieter Wuille 50eb498ece Compact signatures/pubkey recovery
12 years ago
Pieter Wuille 42cccdaf55 More public implementations
12 years ago
Pieter Wuille 7823916781 Add signing to public interface
12 years ago
Pieter Wuille b2966ce852 public interface docs
12 years ago
Pieter Wuille eb0be8eec6 Final step in converting to C
12 years ago
Pieter Wuille 254327e49a Begin group C interface + start/stop
12 years ago