169 Commits (7d893f4980fe615673e2bbad9766a2d2a9e2a689)

Author SHA1 Message Date
llamasoft 7d893f4980 Fix secp256k1_fe_inv_all_var parameter order 6 years ago
Pieter Wuille 926836ad36 Make secp256k1_fe_sqrt constant time 6 years ago
Andrew Poelstra a9b2a5d850 configure: add flag to disable OpenSSL tests 6 years ago
Pieter Wuille e6e9805fc4 Add function for testing quadratic residue field/group elements. 6 years ago
Peter Dettman efd953a7a7 Add Jacobi symbol test via GMP 6 years ago
Andrew Poelstra c6191fded8 ecmult_const: unify endomorphism and non-endomorphism skew cases 6 years ago
Jonas Nick 093a497ac9 Add testcase which hits additional branch in secp256k1_scalar_sqr 7 years ago
MarcoFalke faa2a11ce5 Update bitcoin-core GitHub links 7 years ago
Gregory Maxwell 5d4c5a31b9 Prevent damage_array in the signature test from going out of bounds. 7 years ago
Pieter Wuille 646662517f Improvements for coordinate decompression 7 years ago
Gregory Maxwell 8e48787d97 Change secp256k1_ec_pubkey_combine's count argument to size_t. 7 years ago
Gregory Maxwell c69dea025a Clear output in more cases for pubkey_combine, adds tests. 7 years ago
Gregory Maxwell 269d422703 Comment copyediting. 7 years ago
Gregory Maxwell 26abce75ea Adds 32 static test vectors for scalar mul, sqr, inv. 7 years ago
Gregory Maxwell 5b71a3f460 Better error case handling for pubkey_create & pubkey_serialize, more tests. 7 years ago
Andrew Poelstra eed87af10a Change contrib/laxder from headers-only to files compilable as standalone C 7 years ago
Pieter Wuille 7914a6ebae Make lax_der_privatekey_parsing.h not depend on internal code 7 years ago
Pieter Wuille 9234391ed4 Overhaul flags handling 7 years ago
Rusty Russell 1a368980c8 Make flags more explicit, add runtime checks. 7 years ago
Gregory Maxwell 96be20463f Add additional tests for eckey and arg-checks. 7 years ago
Gregory Maxwell 4a243da47c Move secp256k1_ec_privkey_import/export to contrib. 7 years ago
Gregory Maxwell b30fc85c9e Avoid nonce_function_rfc6979 algo16 argument emulation. 7 years ago
Pieter Wuille 0c6ab2ff18 Introduce explicit lower-S normalization 7 years ago
Pieter Wuille fea19e7bb7 Add contrib/lax_der_parsing.h 7 years ago
Pieter Wuille 3bb9c44719 Rewrite ECDSA signature parsing code 7 years ago
Pieter Wuille fa57f1bdf1 Use secp256k1_rand_int and secp256k1_rand_bits more 7 years ago
Pieter Wuille 49b374985d Add new tests for the extra testrand functions 7 years ago
Gregory Maxwell 67f7da4087 Extensive interface and operations tests for secp256k1_ec_pubkey_parse. 7 years ago
Gregory Maxwell cfe0ed916a Fix miscellaneous style nits that irritate overactive static analysis. 7 years ago
Gregory Maxwell 2b199de888 Use the explicit NULL macro for pointer comparisons. 7 years ago
Pieter Wuille dd891e0ed5 Get rid of _t as it is POSIX reserved 7 years ago
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