]> Git Repo - secp256k1.git/log
secp256k1.git
10 years agoMerge pull request #49
Pieter Wuille [Sun, 3 Aug 2014 19:54:25 +0000 (21:54 +0200)]
Merge pull request #49

25f4aec Add high-level secp256k1.c tests (Pieter Wuille)

10 years agoAdd high-level secp256k1.c tests
Pieter Wuille [Sun, 3 Aug 2014 17:54:41 +0000 (19:54 +0200)]
Add high-level secp256k1.c tests

10 years agoMerge pull request #47
Pieter Wuille [Sat, 26 Jul 2014 12:44:01 +0000 (14:44 +0200)]
Merge pull request #47

7280781 travis: minimize the dependencies available for each build config (Cory Fields)

10 years agoMerge pull request #46
Pieter Wuille [Sat, 26 Jul 2014 12:42:49 +0000 (14:42 +0200)]
Merge pull request #46

3ab1178 build: grab full paths to host tools (Cory Fields)

10 years agotravis: minimize the dependencies available for each build config
Cory Fields [Fri, 25 Jul 2014 15:29:28 +0000 (11:29 -0400)]
travis: minimize the dependencies available for each build config

This is a more realistic representation of a build environment. Helps to ensure
configure logic and that headers aren't accidentally assumed to be present.

10 years agobuild: grab full paths to host tools
Cory Fields [Thu, 24 Jul 2014 21:19:59 +0000 (17:19 -0400)]
build: grab full paths to host tools

This ensures that make will work even if PATH has changed, which is often the
case when cross-compiling.

Fixes cross-compiled builds when integrated into Bitcoin's repo.

10 years agoMerge pull request #44
Pieter Wuille [Wed, 23 Jul 2014 00:26:14 +0000 (02:26 +0200)]
Merge pull request #44

21f81a8 Correct secp256k1_fe_verify and use it everywhere (Pieter Wuille)
59447da Test demonstrating discrepancy in sqr output (Peter Dettman)

10 years agoCorrect secp256k1_fe_verify and use it everywhere
Pieter Wuille [Tue, 15 Jul 2014 17:09:35 +0000 (19:09 +0200)]
Correct secp256k1_fe_verify and use it everywhere

10 years agoTest demonstrating discrepancy in sqr output
Peter Dettman [Sun, 22 Jun 2014 08:03:29 +0000 (15:03 +0700)]
Test demonstrating discrepancy in sqr output

10 years agoMerge pull request #16
Pieter Wuille [Thu, 17 Jul 2014 17:58:39 +0000 (19:58 +0200)]
Merge pull request #16

f16be77 Use batch inversion in G precomputation (Peter Dettman)

10 years agoUse batch inversion in G precomputation
Peter Dettman [Wed, 2 Jul 2014 09:01:26 +0000 (16:01 +0700)]
Use batch inversion in G precomputation

10 years agoMerge pull request #42 from lclc/patch-1
Pieter Wuille [Thu, 3 Jul 2014 13:56:31 +0000 (15:56 +0200)]
Merge pull request #42 from lclc/patch-1

Update README.md : Travis status

10 years agoUpdate README.md : Travis status
Lucas Betschart [Thu, 3 Jul 2014 13:44:08 +0000 (15:44 +0200)]
Update README.md : Travis status

I like that :)

10 years agoMerge pull request #40
Pieter Wuille [Wed, 25 Jun 2014 00:49:51 +0000 (02:49 +0200)]
Merge pull request #40

42822ba Improve normalization performance for 32bit (Peter Dettman)

10 years agoImprove normalization performance for 32bit
Peter Dettman [Mon, 23 Jun 2014 05:12:58 +0000 (12:12 +0700)]
Improve normalization performance for 32bit

- Uses a similar approach to the latest 64bit _normalize.
- Add one useful optimization back into the 64bit _normalize too.

Performance of 'bench' improved by around 0.5% for the 32bit field (but tested on a 64-bit machine).

10 years agoMerge pull request #34
Pieter Wuille [Fri, 20 Jun 2014 22:09:38 +0000 (00:09 +0200)]
Merge pull request #34

62c5890 No releases yet anyway (Pieter Wuille)

10 years agoNo releases yet anyway
Pieter Wuille [Fri, 20 Jun 2014 22:07:37 +0000 (00:07 +0200)]
No releases yet anyway

10 years agoMerge pull request #32
Pieter Wuille [Fri, 20 Jun 2014 21:26:06 +0000 (23:26 +0200)]
Merge pull request #32

b0cc21f build: add travis support (Cory Fields)
d409087 build: add autogen. How was this missing? (Cory Fields)

10 years agoMerge pull request #31
Pieter Wuille [Fri, 20 Jun 2014 21:25:28 +0000 (23:25 +0200)]
Merge pull request #31

0592d11 Introduce CHECK() for tests that works with NDEBUG. (Pieter Wuille)

10 years agoMerge pull request #28
Pieter Wuille [Fri, 20 Jun 2014 21:24:46 +0000 (23:24 +0200)]
Merge pull request #28

4d79beb Do not free endomorphism constants when disabled (Pieter Wuille)

10 years agobuild: add travis support
Cory Fields [Tue, 17 Jun 2014 01:34:56 +0000 (21:34 -0400)]
build: add travis support

This adds a huge matrix of builds. The undesirable ones can be removed.

10 years agobuild: add autogen. How was this missing?
Cory Fields [Tue, 17 Jun 2014 01:40:44 +0000 (21:40 -0400)]
build: add autogen. How was this missing?

10 years agoIntroduce CHECK() for tests that works with NDEBUG.
Pieter Wuille [Sun, 15 Jun 2014 23:30:17 +0000 (01:30 +0200)]
Introduce CHECK() for tests that works with NDEBUG.

10 years agoDo not free endomorphism constants when disabled
Pieter Wuille [Sun, 15 Jun 2014 21:31:17 +0000 (23:31 +0200)]
Do not free endomorphism constants when disabled

10 years agoMerge pull request #25
Pieter Wuille [Tue, 3 Jun 2014 20:00:35 +0000 (22:00 +0200)]
Merge pull request #25

6d6102f A few improvements to the sqrt tests (Peter Dettman)

10 years agoMerge pull request #24
Pieter Wuille [Tue, 3 Jun 2014 19:54:38 +0000 (21:54 +0200)]
Merge pull request #24

9037707 Rewrite 5x52 normalize method to be faster (Peter Dettman)

10 years agoMerge pull request #18
Pieter Wuille [Tue, 3 Jun 2014 19:53:54 +0000 (21:53 +0200)]
Merge pull request #18

4212f7d packaging: add pkg-config file to gitignore (Cory Fields)
67a4765 packaging: fixup pkg-config (Cory Fields)
81b2fae packaging: remove the --with-pkgconfigdir option (Cory Fields)
c7ee71f add pkg-config support (Amir Taaki)

10 years agoRewrite 5x52 normalize method to be faster
Peter Dettman [Fri, 30 May 2014 09:55:07 +0000 (16:55 +0700)]
Rewrite 5x52 normalize method to be faster

10 years agoA few improvements to the sqrt tests
Peter Dettman [Tue, 3 Jun 2014 10:50:27 +0000 (17:50 +0700)]
A few improvements to the sqrt tests

10 years agoMerge pull request #17
Pieter Wuille [Mon, 2 Jun 2014 08:51:34 +0000 (10:51 +0200)]
Merge pull request #17

a86f241 Add MacPorts default include/lib paths for OSX (Peter Dettman)

10 years agoMerge pull request #19
Pieter Wuille [Mon, 2 Jun 2014 08:46:00 +0000 (10:46 +0200)]
Merge pull request #19

09ca4f3 secp256k1_fe_sqrt checks for success (Peter Dettman)

10 years agoMerge pull request #20
Pieter Wuille [Mon, 2 Jun 2014 08:44:59 +0000 (10:44 +0200)]
Merge pull request #20

d7fd4d0 Use endomorphism in precomputations (Peter Dettman)

10 years agoMerge pull request #22
Pieter Wuille [Mon, 2 Jun 2014 08:43:52 +0000 (10:43 +0200)]
Merge pull request #22

7fc1fb4 Documented autotools build process in readme (John Driscoll)

10 years agoMerge pull request #23
Pieter Wuille [Mon, 2 Jun 2014 08:41:58 +0000 (10:41 +0200)]
Merge pull request #23

17eec03 Support 64bit_asm field on OSX (Peter Dettman)

10 years agoSupport 64bit_asm field on OSX
Peter Dettman [Mon, 2 Jun 2014 08:33:35 +0000 (15:33 +0700)]
Support 64bit_asm field on OSX

10 years agoDocumented autotools build process in readme
John Driscoll [Sun, 25 May 2014 20:54:13 +0000 (13:54 -0700)]
Documented autotools build process in readme

10 years agoUse endomorphism in precomputations
Peter Dettman [Thu, 22 May 2014 03:17:30 +0000 (10:17 +0700)]
Use endomorphism in precomputations

10 years agosecp256k1_fe_sqrt checks for success
Peter Dettman [Wed, 21 May 2014 03:22:14 +0000 (10:22 +0700)]
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

10 years agopackaging: add pkg-config file to gitignore
Cory Fields [Wed, 21 May 2014 01:04:31 +0000 (21:04 -0400)]
packaging: add pkg-config file to gitignore

10 years agopackaging: fixup pkg-config
Cory Fields [Wed, 21 May 2014 01:02:02 +0000 (21:02 -0400)]
packaging: fixup pkg-config

Set the private libs as determined by configure, and add the missing lib link.

10 years agopackaging: remove the --with-pkgconfigdir option
Cory Fields [Wed, 21 May 2014 00:59:11 +0000 (20:59 -0400)]
packaging: remove the --with-pkgconfigdir option

It was not necessary and would only confuse packagers.

10 years agoadd pkg-config support
Amir Taaki [Wed, 7 May 2014 06:10:08 +0000 (06:10 +0000)]
add pkg-config support

10 years agoAdd MacPorts default include/lib paths for OSX
Peter Dettman [Tue, 20 May 2014 04:39:54 +0000 (11:39 +0700)]
Add MacPorts default include/lib paths for OSX

10 years agoMerge pull request #8
Pieter Wuille [Thu, 8 May 2014 18:08:52 +0000 (20:08 +0200)]
Merge pull request #8

ba8fc0e Check signature nonces for validity (William Swanson)

10 years agoMerge pull request #9
Pieter Wuille [Thu, 8 May 2014 18:02:33 +0000 (20:02 +0200)]
Merge pull request #9

ac274bf Fix x64 gmp init on platforms that define UL as 32 bits. (evoskuil)

10 years agoFix x64 gmp init on platforms that define UL as 32 bits.
evoskuil [Thu, 8 May 2014 17:28:20 +0000 (10:28 -0700)]
Fix x64 gmp init on platforms that define UL as 32 bits.

10 years agoCheck signature nonces for validity
William Swanson [Thu, 24 Apr 2014 21:18:44 +0000 (14:18 -0700)]
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.

10 years agoMerge pull request #7 from luke-jr/x32
Pieter Wuille [Fri, 11 Apr 2014 13:44:02 +0000 (15:44 +0200)]
Merge pull request #7 from luke-jr/x32

Fix build on x32

10 years agoFix build on x32
Luke Dashjr [Thu, 10 Apr 2014 13:33:55 +0000 (13:33 +0000)]
Fix build on x32

10 years agoMerge pull request #5 from sipa/morereadme
Pieter Wuille [Sun, 30 Mar 2014 18:32:19 +0000 (20:32 +0200)]
Merge pull request #5 from sipa/morereadme

More details in README.md

10 years agoMore details in README.md
Pieter Wuille [Sun, 30 Mar 2014 16:54:55 +0000 (18:54 +0200)]
More details in README.md

10 years agoCreate README.md
Pieter Wuille [Sun, 30 Mar 2014 16:22:47 +0000 (18:22 +0200)]
Create README.md

10 years agoMerge pull request #2 from sipa/impl
Pieter Wuille [Wed, 12 Mar 2014 17:40:41 +0000 (18:40 +0100)]
Merge pull request #2 from sipa/impl

Move implementations from impl/*.h to *_impl.h

10 years agoMove implementations from impl/*.h to *_impl.h
Pieter Wuille [Fri, 7 Mar 2014 00:11:01 +0000 (01:11 +0100)]
Move implementations from impl/*.h to *_impl.h

10 years agoMerge pull request #1 from sipa/slice
Pieter Wuille [Wed, 12 Mar 2014 17:35:57 +0000 (18:35 +0100)]
Merge pull request #1 from sipa/slice

Slice bytes of G multiples to avoid cache timings.

10 years agoSlice bytes of G multiples to avoid cache timings
Pieter Wuille [Thu, 6 Mar 2014 10:40:24 +0000 (11:40 +0100)]
Slice bytes of G multiples to avoid cache timings

10 years agoMerge pull request #19
Pieter Wuille [Sat, 8 Feb 2014 14:42:30 +0000 (15:42 +0100)]
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)

11 years agoFix addition chain entry in comments
Peter Dettman [Fri, 31 Jan 2014 04:43:57 +0000 (11:43 +0700)]
Fix addition chain entry in comments

11 years agoRe-write secp256k1_fe_sqrt and secp256k1_fe_inv to use a sliding window over blocks...
Peter Dettman [Thu, 30 Jan 2014 12:16:20 +0000 (19:16 +0700)]
Re-write secp256k1_fe_sqrt and secp256k1_fe_inv to use a sliding window over blocks of 1s

11 years agoMerge pull request #14
Pieter Wuille [Fri, 24 Jan 2014 23:20:07 +0000 (00:20 +0100)]
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)

11 years agoautotools: No need to link against libssl
Cory Fields [Fri, 24 Jan 2014 22:29:04 +0000 (17:29 -0500)]
autotools: No need to link against libssl

11 years agoautotools: changes suggested by Pieter Wuille
Cory Fields [Fri, 24 Jan 2014 21:57:13 +0000 (16:57 -0500)]
autotools: changes suggested by Pieter Wuille

11 years agoadd missing include
Cory Fields [Sat, 18 Jan 2014 03:52:33 +0000 (22:52 -0500)]
add missing include

11 years agoautotools: autotools'ify libsecp256k1
Cory Fields [Sat, 18 Jan 2014 03:52:33 +0000 (22:52 -0500)]
autotools: autotools'ify libsecp256k1

11 years agoRemove 5x64 implementation - no actual benefits
Pieter Wuille [Sun, 1 Dec 2013 20:10:35 +0000 (21:10 +0100)]
Remove 5x64 implementation - no actual benefits

11 years agoMake endomorphism optimization optional
Pieter Wuille [Sun, 1 Dec 2013 20:06:20 +0000 (21:06 +0100)]
Make endomorphism optimization optional

11 years agoCheck for overflows when order is added at recovery
Pieter Wuille [Thu, 7 Nov 2013 19:25:03 +0000 (20:25 +0100)]
Check for overflows when order is added at recovery

11 years agoMerge pull request #15 from haltingstate/master
Pieter Wuille [Mon, 4 Nov 2013 11:03:46 +0000 (03:03 -0800)]
Merge pull request #15 from haltingstate/master

updated documentation

11 years agoupdated documentation
HaltingState [Mon, 4 Nov 2013 10:50:59 +0000 (02:50 -0800)]
updated documentation

11 years agoBreak malleability by producing S <= order/2
Pieter Wuille [Wed, 18 Sep 2013 22:58:42 +0000 (00:58 +0200)]
Break malleability by producing S <= order/2

11 years agoTweak fixes & variable name improvement
Pieter Wuille [Sun, 14 Jul 2013 18:46:18 +0000 (20:46 +0200)]
Tweak fixes & variable name improvement

11 years agoAdd support for multiplicative tweaking
Pieter Wuille [Sun, 14 Jul 2013 15:43:13 +0000 (17:43 +0200)]
Add support for multiplicative tweaking

11 years agoInvert buggy logic in secp256k1_ecdsa_seckey_verify
Pieter Wuille [Fri, 12 Jul 2013 23:31:41 +0000 (01:31 +0200)]
Invert buggy logic in secp256k1_ecdsa_seckey_verify

11 years agoMerge pull request #12 from PSYCPU/master
Pieter Wuille [Mon, 17 Jun 2013 19:10:37 +0000 (12:10 -0700)]
Merge pull request #12 from PSYCPU/master

5x64 assembly bugfix

11 years ago1st assembly version of field 5x64 code - bugfix
Diederik Huys [Mon, 17 Jun 2013 13:31:06 +0000 (15:31 +0200)]
1st assembly version of field 5x64 code - bugfix

11 years agoMerge pull request #11 from PSYCPU/master
Pieter Wuille [Sun, 16 Jun 2013 22:20:00 +0000 (15:20 -0700)]
Merge pull request #11 from PSYCPU/master

1st assembly version of 5x64 field code

11 years ago1st assembly version of field 5x64 code
Diederik Huys [Sun, 16 Jun 2013 20:46:43 +0000 (22:46 +0200)]
1st assembly version of field 5x64 code

11 years agoInline asm for 5x64
Pieter Wuille [Sat, 8 Jun 2013 22:52:14 +0000 (00:52 +0200)]
Inline asm for 5x64

11 years agoField 5x64
Pieter Wuille [Sat, 8 Jun 2013 17:02:48 +0000 (19:02 +0200)]
Field 5x64

11 years agoPrivate/public key tweaking
Pieter Wuille [Sun, 26 May 2013 23:18:48 +0000 (01:18 +0200)]
Private/public key tweaking

11 years agoAllow private keys with less-than-32-byte secrets
Pieter Wuille [Fri, 24 May 2013 03:32:53 +0000 (05:32 +0200)]
Allow private keys with less-than-32-byte secrets

11 years agoMerge pull request #10 from TheBlueMatt/master
Pieter Wuille [Tue, 21 May 2013 17:19:50 +0000 (10:19 -0700)]
Merge pull request #10 from TheBlueMatt/master

Fix JNI for C instead of C++

11 years agoFix JNI for C instead of C++
Matt Corallo [Sat, 18 May 2013 14:05:58 +0000 (16:05 +0200)]
Fix JNI for C instead of C++

(because apparently there is a significant difference...)

11 years agoPublic inclue improvements
Pieter Wuille [Sat, 11 May 2013 21:37:48 +0000 (23:37 +0200)]
Public inclue improvements

11 years agoUse privkey serialization to construct OpenSSL keys
Pieter Wuille [Thu, 9 May 2013 22:53:47 +0000 (00:53 +0200)]
Use privkey serialization to construct OpenSSL keys

11 years agoBugfix: correct privkey serialization
Pieter Wuille [Thu, 9 May 2013 22:52:28 +0000 (00:52 +0200)]
Bugfix: correct privkey serialization

11 years agoMIT License
Pieter Wuille [Thu, 9 May 2013 13:24:32 +0000 (15:24 +0200)]
MIT License

11 years agoupdates
Pieter Wuille [Mon, 6 May 2013 11:28:46 +0000 (13:28 +0200)]
updates

11 years agoInline verify is slow, this is what unit tests are for
Pieter Wuille [Sun, 5 May 2013 14:57:49 +0000 (16:57 +0200)]
Inline verify is slow, this is what unit tests are for

11 years agoOpenSSL/EC tests
Pieter Wuille [Sun, 5 May 2013 14:55:05 +0000 (16:55 +0200)]
OpenSSL/EC tests

11 years agoPrivkey import/export
Pieter Wuille [Sun, 5 May 2013 03:12:43 +0000 (05:12 +0200)]
Privkey import/export

11 years agoCompact signatures/pubkey recovery
Pieter Wuille [Sun, 5 May 2013 00:46:07 +0000 (02:46 +0200)]
Compact signatures/pubkey recovery

11 years agoMake pubkeys, set_xo, ... ge instead of gej
Pieter Wuille [Sat, 4 May 2013 23:18:23 +0000 (01:18 +0200)]
Make pubkeys, set_xo, ... ge instead of gej

11 years agoMore public implementations
Pieter Wuille [Sat, 4 May 2013 22:49:30 +0000 (00:49 +0200)]
More public implementations

11 years agoAdd signing to public interface
Pieter Wuille [Sat, 4 May 2013 22:21:03 +0000 (00:21 +0200)]
Add signing to public interface

11 years agoRemove traces of old mpz-based num
Pieter Wuille [Tue, 30 Apr 2013 14:04:33 +0000 (16:04 +0200)]
Remove traces of old mpz-based num

11 years agoMake constants constant
Pieter Wuille [Tue, 30 Apr 2013 13:57:40 +0000 (15:57 +0200)]
Make constants constant

11 years agoBetter compilation flags for coverage
Pieter Wuille [Mon, 22 Apr 2013 23:04:45 +0000 (01:04 +0200)]
Better compilation flags for coverage

11 years agoAdd coverage check
Pieter Wuille [Mon, 22 Apr 2013 00:10:41 +0000 (02:10 +0200)]
Add coverage check

11 years agoMore num unit tests
Pieter Wuille [Sun, 21 Apr 2013 23:52:56 +0000 (01:52 +0200)]
More num unit tests

This page took 0.061748 seconds and 4 git commands to generate.