Commit Graph

253 Commits

Author SHA1 Message Date
Peter Dettman 17eec032c8 Support 64bit_asm field on OSX 2014-06-02 15:33:35 +07:00
John Driscoll 7fc1fb4fa0 Documented autotools build process in readme 2014-05-25 13:54:13 -07:00
Peter Dettman d7fd4d0f6b Use endomorphism in precomputations 2014-05-22 10:17:30 +07:00
Peter Dettman 09ca4f32e2 secp256k1_fe_sqrt checks for success
- secp256k1_fe_sqrt now checks that the value it calculated is actually a square root.
- Add return values to secp256k1_fe_sqrt and secp256k1_ge_set_xo.
- Callers of secp256k1_ge_set_xo can use return value instead of explicit validity checks
- Add random value tests for secp256k1_fe_sqrt
2014-05-21 10:22:14 +07:00
Cory Fields 4212f7d7cb packaging: add pkg-config file to gitignore 2014-05-20 21:04:31 -04:00
Cory Fields 67a476599b packaging: fixup pkg-config
Set the private libs as determined by configure, and add the missing lib link.
2014-05-20 21:02:05 -04:00
Cory Fields 81b2faebd4 packaging: remove the --with-pkgconfigdir option
It was not necessary and would only confuse packagers.
2014-05-20 20:59:14 -04:00
Amir Taaki c7ee71f792 add pkg-config support 2014-05-20 20:39:46 -04:00
Peter Dettman a86f241d08 Add MacPorts default include/lib paths for OSX 2014-05-20 11:39:54 +07:00
Pieter Wuille 78fb796997
Merge pull request #8
ba8fc0e Check signature nonces for validity (William Swanson)
2014-05-08 20:09:09 +02:00
Pieter Wuille a797ceffdf
Merge pull request #9
ac274bf Fix x64 gmp init on platforms that define UL as 32 bits. (evoskuil)
2014-05-08 20:03:40 +02:00
evoskuil ac274bff23 Fix x64 gmp init on platforms that define UL as 32 bits. 2014-05-08 10:28:20 -07:00
William Swanson ba8fc0e28f Check signature nonces for validity
The documentation implies that this check is happening, so make it so.
Without this check, passing an invalid nonce will trigger an internal assertion.
2014-04-24 14:18:44 -07:00
Pieter Wuille 920c243932 Merge pull request #7 from luke-jr/x32
Fix build on x32
2014-04-11 15:44:02 +02:00
Luke Dashjr 282ebc6dbd Fix build on x32 2014-04-10 13:33:55 +00:00
Pieter Wuille 50713b0e64 Merge pull request #5 from sipa/morereadme
More details in README.md
2014-03-30 20:32:19 +02:00
Pieter Wuille 8622cc259b More details in README.md 2014-03-30 18:54:55 +02:00
Pieter Wuille 3f37bcc297 Create README.md 2014-03-30 18:22:47 +02:00
Pieter Wuille 8b3263b638 Merge pull request #2 from sipa/impl
Move implementations from impl/*.h to *_impl.h
2014-03-12 18:40:41 +01:00
Pieter Wuille 11ab562203 Move implementations from impl/*.h to *_impl.h 2014-03-12 18:40:02 +01:00
Pieter Wuille 78cb860733 Merge pull request #1 from sipa/slice
Slice bytes of G multiples to avoid cache timings.
2014-03-12 18:35:57 +01:00
Pieter Wuille 65a79b300c Slice bytes of G multiples to avoid cache timings 2014-03-07 00:32:41 +01:00
Pieter Wuille 55372af684
Merge pull request #19
bb7bb81 Fix addition chain entry in comments (Peter Dettman)
f8ccd9b Re-write secp256k1_fe_sqrt and secp256k1_fe_inv to use a sliding window over blocks of 1s (Peter Dettman)
2014-02-08 15:43:19 +01:00
Peter Dettman bb7bb81d07 Fix addition chain entry in comments 2014-01-31 11:43:57 +07:00
Peter Dettman f8ccd9befd Re-write secp256k1_fe_sqrt and secp256k1_fe_inv to use a sliding window over blocks of 1s 2014-01-30 19:16:20 +07:00
Pieter Wuille ea0fe5a5bf Merge pull request #14
6e7a6d4 autotools: No need to link against libssl (Cory Fields)
0e9baf6 autotools: changes suggested by Pieter Wuille (Cory Fields)
5a9989c add missing include (Cory Fields)
78cd96b autotools: autotools'ify libsecp256k1 (Cory Fields)
2014-01-25 00:22:28 +01:00
Cory Fields 6e7a6d479a autotools: No need to link against libssl 2014-01-24 17:32:59 -05:00
Cory Fields 0e9baf6fde autotools: changes suggested by Pieter Wuille 2014-01-24 16:57:13 -05:00
Cory Fields 5a9989c52a add missing include 2014-01-17 23:24:12 -05:00
Cory Fields 78cd96b151 autotools: autotools'ify libsecp256k1 2014-01-17 23:24:12 -05:00
Pieter Wuille 60442b835f Remove 5x64 implementation - no actual benefits 2013-12-01 21:16:47 +01:00
Pieter Wuille 399c03f227 Make endomorphism optimization optional 2013-12-01 21:06:20 +01:00
Pieter Wuille ad52495d72 Check for overflows when order is added at recovery 2013-11-07 20:27:13 +01:00
Pieter Wuille 32b60cb5fb Merge pull request #15 from haltingstate/master
updated documentation
2013-11-04 03:03:46 -08:00
HaltingState 315d2560b0 updated documentation 2013-11-04 02:50:59 -08:00
Pieter Wuille d0b33489f2 Break malleability by producing S <= order/2 2013-09-19 00:58:42 +02:00
Pieter Wuille 350ade2ab4 Tweak fixes & variable name improvement 2013-07-14 20:49:37 +02:00
Pieter Wuille 86d3cce2a9 Add support for multiplicative tweaking 2013-07-14 17:58:23 +02:00
Pieter Wuille b0be6aba91 Invert buggy logic in secp256k1_ecdsa_seckey_verify 2013-07-13 01:31:41 +02:00
Pieter Wuille 634bc1820c Merge pull request #12 from PSYCPU/master
5x64 assembly bugfix
2013-06-17 12:10:37 -07:00
Diederik Huys 355b4192cf 1st assembly version of field 5x64 code - bugfix 2013-06-17 15:31:06 +02:00
Pieter Wuille 2ce0e50af3 Merge pull request #11 from PSYCPU/master
1st assembly version of 5x64 field code
2013-06-16 15:20:00 -07:00
Diederik Huys dd804adeff 1st assembly version of field 5x64 code 2013-06-16 22:46:43 +02:00
Pieter Wuille 6c78924a10 Inline asm for 5x64 2013-06-09 00:52:14 +02:00
Pieter Wuille 1487ca95c6 Field 5x64 2013-06-09 00:04:55 +02:00
Pieter Wuille 561b0e1044 Private/public key tweaking 2013-05-27 01:18:48 +02:00
Pieter Wuille e3c5c26f54 Allow private keys with less-than-32-byte secrets 2013-05-24 05:32:53 +02:00
Pieter Wuille 8ee97f87ac Merge pull request #10 from TheBlueMatt/master
Fix JNI for C instead of C++
2013-05-21 10:19:50 -07:00
Matt Corallo 6df016fb20 Fix JNI for C instead of C++
(because apparently there is a significant difference...)
2013-05-18 16:05:58 +02:00
Pieter Wuille 194eea065f Public inclue improvements 2013-05-11 23:37:48 +02:00