100 Commits
Author SHA1 Message Date
Fedor Indutny b404e659af 6.5.4 2021-02-02 10:21:02 -08:00
Fedor Indutny b9a39e0254 package: bump deps 2021-02-02 10:20:50 -08:00
Fedor Indutny ccc7030b86 lib: relint using eslint 2020-08-02 08:33:08 -07:00
Fedor Indutny 8647803dc3 6.5.3 2020-06-18 08:29:42 -07:00
Fedor Indutny 856fe4d99f signature: prevent malleability and overflows 2020-06-18 08:29:21 -07:00
Fedor Indutny 60489415e5 6.5.2 2019-11-22 11:06:54 -08:00
Fedor Indutny 9984964457 package: bump dependencies 2019-11-22 11:06:40 -08:00
Fedor Indutny ec735edde1 utils: leak less information in getNAF() 2019-11-22 11:01:25 -08:00
Fedor Indutny 71e4e8e2f5 6.5.1 2019-09-03 19:34:13 -07:00
Fedor Indutny ee7970b92f travis: really move on 2019-06-25 21:15:14 -07:00
Fedor Indutny 637d0216b5 travis: move on 2019-06-25 21:09:59 -07:00
Fedor Indutny 5ed0babb64 package: update deps 2019-06-25 21:07:15 -07:00
Fedor Indutny 475f066aeb 6.5.0 2019-06-25 21:03:32 -07:00
Fedor Indutny 271fd34231 package: add package-lock.json 2019-06-25 21:03:18 -07:00
Fedor Indutny 523da1cf71 6.4.1 2018-08-08 23:57:54 -04:00
Fedor Indutny 6b0d2b76ca 6.4.0 2017-02-22 16:27:27 -05:00
Fedor Indutny efd560f8de lib: split in modules 2017-02-22 16:27:06 -05:00
Fedor Indutny 63aee8d697 6.3.3 2017-02-06 18:13:21 -05:00
Fedor Indutny 2f2c73b69d package: install missing dependency 2017-02-06 18:13:11 -05:00
Fedor Indutny cbace4683a 6.3.2 2016-09-15 13:10:12 +02:00
Fedor Indutny c53f5cf3d8 6.3.1 2016-06-14 12:23:16 -04:00
Fedor Indutny 725bd91762 curve: remove _maxwellAdjust
See: https://git.io/vo8mB
2016-06-14 12:22:45 -04:00
Fedor Indutny e102a69665 curves: optimize Maxwell's trick 2016-06-14 00:44:33 -04:00
Fedor Indutny 7b1c732b23 6.3.0 2016-06-14 00:17:02 -04:00
Fedor Indutny b950448bc9 curve: implement Greg Maxwell's trick
TL;DR:

Prior to this patch `.mulAdd()` converted point from Jacobian to
Cartesian representation to check its' `.getX()` value against
`signature.r`. However, it is possible to avoid the expensive inversion
in `.toP()` conversion function by multiplying `signature.r` with
`point.z.redSqr()`. Some adjustments (by adding `curve.n` several times)
may be needed, but overall it saves about 5% of execution time during
`.verify()`.

Big kudos to @gmaxwell for implementing it, and to @briansmith for
sharing it with me.
2016-06-14 00:02:12 -04:00
Fedor Indutny 236f37395b 6.2.8 2016-05-31 21:53:17 -04:00
Fedor Indutny 8db74481a9 base: support hybrid format
Fix: #91
2016-05-31 21:53:03 -04:00
Fedor Indutny 6a8ef1457b 6.2.7 2016-05-25 14:42:45 -04:00
Fedor Indutny 0d7910d460 6.2.6 2016-05-25 14:40:56 -04:00
Fedor Indutny fa5ffdc2d0 6.2.5 2016-05-20 17:52:11 -04:00
Fedor Indutny 141734ea32 grunt: fix standalone dist 2016-05-20 17:52:02 -04:00
Fedor Indutny de388fb575 npmignore: dist 2016-05-20 17:48:40 -04:00
Fedor Indutny a5453fae5b 6.2.4 2016-05-20 17:48:08 -04:00
Fedor Indutny 1b60ef4b4c package: generate dist on release
Fix: #87
2016-05-20 17:48:02 -04:00
Fedor Indutny 614d7c4347 travis: fix... :( 2016-03-31 00:36:37 -04:00
Fedor Indutny 9b754e33f0 readme: and I messed it up again 2016-03-31 00:34:33 -04:00
Fedor Indutny 001f5211cb travis: attempt to un-mess-up saucelabs 2016-03-31 00:30:42 -04:00
Fedor Indutny d3049b8fe9 utils: do not use fn.name, does not work in IE
It looks like `fn.name` is non-standard and is not supported by any
Internet Explorer version. Pass the `name` explicitly to make `eddsa`
work in IE.

See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name

Fix: https://github.com/indutny/elliptic/issues/81
2016-03-22 20:59:09 -04:00
Fedor Indutny c32f20b22b 6.2.3 2016-01-29 03:00:28 -05:00
Fedor Indutny 628eb61186 6.2.2 2016-01-25 15:16:39 -05:00
Fedor Indutny a706516830 6.2.1 2016-01-24 17:26:35 -05:00
Fedor Indutny 8d02ee560c curve: throw on missing quadratic residue 2016-01-24 17:26:14 -05:00
Fedor Indutny 6d25d37314 6.2.0 2016-01-22 13:30:53 -05:00
Fedor Indutny b465fea904 6.1.0 2016-01-17 00:57:39 -05:00
Fedor Indutny de6a341d48 lib: bn => BN 2016-01-15 14:48:19 -05:00
Fedor Indutny 2f80b3e261 test: separate ECDSA tests 2016-01-15 14:45:20 -05:00
Fedor Indutny 9fc874c0ae ecdsa: allow passing custom K for signing
Fix: #68
2016-01-15 14:27:28 -05:00
Fedor Indutny 74d28b4815 travis: use 0.12 and v4 node.js 2015-12-11 00:10:07 -05:00
Fedor Indutny 330106da18 6.0.2 2015-11-07 15:24:13 -05:00
Fedor Indutny a9eb628eec 6.0.1 2015-11-02 16:06:13 -05:00
Fedor Indutny 1a05d7c67a ecdsa: proper recovery param for canonical sigs
Fix: #59
2015-11-02 16:05:57 -05:00
Fedor Indutny f5bd12fa53 ec: use isSecondKey in recoverPubKey 2015-11-02 16:01:33 -05:00
Fedor Indutny 2477fae5cd 6.0.0 2015-10-28 18:14:03 -04:00
Fedor Indutny 0280049ec3 lib: adapt to [email protected] 2015-10-28 18:13:45 -04:00
Fedor Indutny 676db36e64 5.2.1 2015-10-28 18:12:19 -04:00
Fedor Indutny 742c61edd9 5.2.0 2015-10-23 11:49:02 -04:00
Fedor Indutny cca080664e 5.1.1 2015-10-22 21:12:26 -04:00
Fedor Indutny d2c172564d ecdsa: fix key padding for HMAC-DRBG 2015-10-22 21:11:50 -04:00
Fedor Indutny 5af207bb2b travis: set up coveralls coverage 2015-08-04 00:25:26 -07:00
Fedor Indutny 4f12b8f6bc 5.1.0 2015-07-19 20:04:26 -07:00
Fedor Indutny 397d5f7275 5.0.0 2015-07-07 15:56:19 -07:00
Fedor Indutny a70bf5e673 lib: update to [email protected] 2015-07-06 19:26:45 -07:00
Fedor Indutny e4f2675e2c 4.1.0 2015-07-03 20:25:27 -07:00
Fedor Indutny b394294806 key: pass options to .sign()
Fix: #44
2015-07-03 20:25:07 -07:00
Fedor Indutny e5a3ba2b38 eddsa: cleanup 2015-06-24 22:55:03 -07:00
Fedor Indutny e3e2bc5374 4.0.0 2015-06-24 19:58:45 -07:00
Fedor Indutny d86cd2a817 3.1.0 2015-06-11 02:06:45 +02:00
Fedor Indutny 9aa6c6ae60 ecdsa: return recoveryParam when signing 2015-06-11 01:37:42 +02:00
Fedor Indutny dfef517a0d 3.0.4 2015-06-03 14:03:26 +02:00
Fedor Indutny 9523f483eb test: fix style 2015-06-03 14:03:20 +02:00
Fedor Indutny aee748c4f3 base: ensure we have enough doubles for fixed naf
Fixed NAF multiplication should not be called if there are not enough
precomputed doubles.
2015-06-03 13:59:29 +02:00
Fedor Indutny c8d7cf551f 3.0.3 2015-02-27 22:06:24 +03:00
Fedor Indutny 020ce1af29 dist: provide small and big distributions
Fix #32
2015-02-27 22:05:56 +03:00
Fedor Indutny c663fb1309 benchmark: preemptively add secp256k1 2015-02-16 11:20:37 +01:00
Fedor Indutny 8cb5a4d8db lib: add missing jscsrc and jshintrc files 2015-02-14 14:53:24 +01:00
Fedor Indutny 41d7d69e8b lib: more style fixes 2015-02-14 12:56:43 +01:00
Fedor Indutny ccf0bc2121 lib: fix style and jshint errors 2015-02-14 12:41:07 +01:00
Fedor Indutny 2713e49ab3 3.0.2 2015-02-14 12:37:25 +01:00
Fedor Indutny 6a6c943a3f 3.0.1 2015-02-09 23:40:56 +03:00
Fedor Indutny dead837f3c 3.0.0 2015-02-09 23:40:43 +03:00
Fedor Indutny 2b7b5ba3e5 signature: improve API 2015-02-09 23:40:34 +03:00
Fedor Indutny d459a0ef63 2.0.2 2015-02-07 05:04:08 +03:00
Fedor Indutny decaeab608 package: update deps 2015-02-07 05:03:40 +03:00
Fedor Indutny 3dc8d7deac 2.0.1 2015-01-21 19:01:04 +03:00
Fedor Indutny 3bba0ba2c3 2.0.0 2015-01-18 22:39:55 +03:00
Fedor Indutny b6ff1758d9 key: explicit methods for priv/pub/object
fix #21
2015-01-16 23:59:09 +03:00
Fedor Indutny 17dc013761 1.0.1 2015-01-12 17:59:52 +03:00
Fedor Indutny aaf14882e6 1.0.0 2015-01-05 23:56:05 +03:00
Fedor Indutny 7ddcfba384 package: bump deps 2015-01-05 23:50:24 +03:00
Fedor Indutny ec31da0bd0 test: regression test for K256 doubling 2015-01-04 14:58:25 +03:00
Fedor Indutny be0e860d9b 0.16.0 2015-01-02 21:01:20 +03:00
Fedor Indutny e8c243a4bd 0.15.17 2015-01-02 14:42:45 +03:00
Fedor Indutny fbb4a324e0 0.15.16 2015-01-02 14:40:47 +03:00
Fedor Indutny 4bf1f50607 0.15.15 2014-11-27 19:02:15 +03:00
Fedor Indutny e080857a16 0.15.14 2014-11-05 12:04:05 -05:00
Fedor Indutny 2d6a4b9476 lib: move rand to brorand repo 2014-11-05 12:03:56 -05:00
Fedor Indutny 274e36de37 0.15.13 2014-11-04 10:51:16 -05:00
Fedor Indutny 637f0c2f24 0.15.12 2014-11-02 14:40:37 -05:00
Fedor Indutny 0dea0cb298 lib: output padded hex keys
fix #11
2014-11-02 14:40:21 -05:00
Fedor Indutny 02faf054ac 0.15.11 2014-09-25 14:27:18 +04:00