192 Commits (95e99f196fd08a8b2c236ab99d7e7fec8f6dc78f)

Author SHA1 Message Date
Gregory Maxwell 912f203fc5 Eliminate a few unbraced statements that crept into the code. 7 years ago
Luke Dashjr 486b9bb8ce Use a flags bitfield for compressed option to secp256k1_ec_pubkey_serialize and secp256k1_ec_privkey_export 7 years ago
Luke Dashjr 05732c5a5f Callback data: Accept pointers to either const or non-const data 7 years ago
Luke Dashjr 1973c7379e Bugfix: Reinitialise buffer lengths that have been used as outputs 7 years ago
Luke Dashjr 788038d323 Use size_t for lengths (at least in external API) 7 years ago
Pieter Wuille dc0ce9fc41 [API BREAK] Change argument order to out/outin/in 7 years ago
Pieter Wuille c996d53ab1 Print success 7 years ago
Pieter Wuille 9f443be086 Move pubkey recovery code to separate module 7 years ago
Pieter Wuille d49abbd5a0 Separate ECDSA recovery tests 7 years ago
Pieter Wuille 439d34adc6 Separate recoverable and normal signatures 7 years ago
Pieter Wuille a5a66c70b6 Add support for custom EC-Schnorr-SHA256 signatures 7 years ago
Andrew Poelstra 92e53fc4c8 Implement endomorphism optimization for secp256k1_ecmult_const 7 years ago
Andrew Poelstra ed35d43a0c Make `secp256k1_scalar_add_bit` conditional; make `secp256k1_scalar_split_lambda_var` constant time 7 years ago
Andrew Poelstra 0739bbb6f0 Add ECDH module which works by hashing the output of ecmult_const 7 years ago
Andrew Poelstra 4401500060 Add constant-time multiply `secp256k1_ecmult_const` for ECDH 7 years ago
Andrew Poelstra baa75da59d tests: add a couple tests 7 years ago
Pieter Wuille 995c548771 Introduce callback functions for dealing with errors. 7 years ago
Pieter Wuille 18c329c506 Remove the internal secp256k1_ecdsa_sig_t type 7 years ago
Pieter Wuille 74a2acdb8a Add a secp256k1_ecdsa_signature_t type 7 years ago
Pieter Wuille 23cfa914d2 Introduce secp256k1_pubkey_t type 7 years ago
Pieter Wuille 3e6f1e20dc Change rfc6979 implementation to be a generic PRNG 7 years ago
Peter Dettman 55399c23f7 Further performance improvements to _ecmult_wnaf 7 years ago
Thomas Kerin 99fd963bd5
Add secp256k1_ec_pubkey_compress(), with test similar to the related decompress() function. 7 years ago
Peter Dettman 3f3964e49c Add specific VERIFY tests for _fe_cmov 7 years ago
Peter Dettman a0601cd79c Fix VERIFY calculations in _fe_cmov methods 7 years ago
Pieter Wuille 765742021a
Add tests for adding P+Q with P.x!=Q.x and P.y=-Q.y 7 years ago
Andrew Poelstra 8c5d5f7b5b
tests: Add failing unit test for #257 (bad addition formula) 7 years ago
Andrew Poelstra 210ffed5cd Use separate in and out pointers in `secp256k1_ec_pubkey_decompress` 7 years ago
Peter Dettman 2d5a186cee Apply effective-affine trick to precomp 7 years ago
Peter Dettman 4f9791abba Effective affine addition in EC multiplication 7 years ago
Gregory Maxwell d2275795ff Add scalar blinding and a secp256k1_context_randomize() call. 7 years ago
Gregory Maxwell 9c4fb23dd9 Add a secp256k1_fe_cmov unit test. 7 years ago
Andrew Poelstra 5c2a4fad1c Fix memory leak in context unit test 7 years ago
Andrew Poelstra d899b5b67c Expose ability to deep-copy a context 7 years ago
Pieter Wuille a9b6595ef8 [API BREAK] Introduce explicit contexts 7 years ago
Gregory Maxwell c01df1adc9 Avoid some implicit type conversions to make C++ compilers happy. 7 years ago
Gregory Maxwell 2632019713 Brace all the if/for/while. 7 years ago
Gregory Maxwell efc571ceea Add simple testcases for signing with rfc6979 extra entropy. 7 years ago
Pieter Wuille 1573a102c0 Add ability to pass extra entropy to rfc6979 8 years ago
Pieter Wuille 8956111802 use 128-bit hex seed 8 years ago
Pieter Wuille 443cd4b8ee Get rid of hex format and some binary conversions 8 years ago
Pieter Wuille 8030d7c0e5 Improve signing API documentation & specification 8 years ago
Gregory Maxwell f735446c4d Convert the rest of the codebase to C89. 8 years ago
Gregory Maxwell bf2e1ac7cd Convert tests to C89. (also fixes a use of bare "inline" in field) 8 years ago
Pieter Wuille fcc48c4561 Remove the non-storage cmov 8 years ago
Pieter Wuille ff889f7d90 Field storage type 8 years ago
Pieter Wuille 0768bd55a1 Get rid of variable-length hex string conversions 8 years ago
Pieter Wuille 4732d26069 Convert the field/group/ecdsa constant initialization to static consts 8 years ago
Pieter Wuille f1ebfe399f Convert the scalar constant initialization to static consts 8 years ago
Gregory Maxwell 941e221f66 Add tests for handling of the nonce function in signing. 8 years ago