Commit Graph

69 Commits

Author SHA1 Message Date
Paul Miller
5312d92b2c
edwards: Fix isTorsionFree() 2023-01-13 15:58:04 +01:00
Paul Miller
d1770c0ac7
Rename test 2023-01-13 01:29:54 +01:00
Paul Miller
2d37edf7d1
Remove utils.mod(), utils.invert() 2023-01-13 01:26:00 +01:00
Paul Miller
36998fede8
Fix sqrt 2023-01-13 01:21:51 +01:00
Paul Miller
83960d445d
Refactor: weierstrass assertValidity and others 2023-01-12 21:18:51 +01:00
Paul Miller
23cc2aa5d1
edwards, montgomery, weierstrass: refactor 2023-01-12 20:40:16 +01:00
Paul Miller
e45d7c2d25
utils: new util; ed448: small adjustment 2023-01-12 20:39:43 +01:00
Paul Miller
bfe929aac3
modular: Tonneli-Shanks refactoring 2023-01-12 20:38:42 +01:00
Paul Miller
069452dbe7
BLS, jubjub refactoring 2023-01-12 20:38:10 +01:00
Paul Miller
2e81f31d2e
ECDSA: signUnhashed(), support for key recovery from bits 2/3 2023-01-08 20:02:04 +01:00
Paul Miller
9f7df0f13b
ECDSA adjustments 2023-01-08 18:46:55 +01:00
Paul Miller
5600629bca
Refactor 2023-01-08 18:02:54 +01:00
Paul Miller
2bd5e9ac16
Release 0.5.1. 0.5.1 2022-12-31 10:31:10 +01:00
Paul Miller
6890c26091
Fix readme toc 2022-12-31 10:29:25 +01:00
Paul Miller
a15e3a93a9
Docs 2022-12-31 10:00:29 +01:00
Paul Miller
910c508da9
hash-to-curve: elligator in 25519, 448. Stark: adjust type 2022-12-31 07:51:29 +01:00
Paul Miller
12da04a2bb
Improve modular math 2022-12-31 07:49:42 +01:00
Paul Miller
cc2c84f040
Improve field tests 2022-12-31 07:49:09 +01:00
Paul Miller
5d42549acc
hash-to-curve: add xmd/xof support 2022-12-31 07:48:13 +01:00
Paul Miller
65d7256b9e
Release 0.5.0. 0.5.0 2022-12-28 08:05:22 +01:00
Paul Miller
d77a98a7aa
README, security 2022-12-28 08:04:55 +01:00
Paul Miller
1bfab42620
Update package.json 2022-12-28 07:57:42 +01:00
Paul Miller
f1ab259941
README 2022-12-28 07:52:04 +01:00
Paul Miller
242ee620c5
Merge packages into one 2022-12-28 07:37:45 +01:00
Paul Miller
d837831d22
Implement hash-to-curve for weierstrass curves, add test vectors 2022-12-28 06:31:41 +01:00
Paul Miller
cae888d942
P224: fix sha224 tests 2022-12-28 06:30:13 +01:00
Paul Miller
1ab77b95dd
Comment 2022-12-28 06:20:08 +01:00
Paul Miller
8b5819b12d
bls12: comments 2022-12-27 05:25:23 +01:00
Paul Miller
4b5560ab4b
secp256k1 tests: remove test skips 2022-12-27 05:25:09 +01:00
Paul Miller
ba121ff24c
README, lint 2022-12-27 03:16:45 +01:00
Paul Miller
0277c01efd
Rename field methods: multiply to mul 2022-12-27 02:17:11 +01:00
Paul Miller
6ffe656871
x25519/x448: swap arguments 2022-12-27 02:02:37 +01:00
Paul Miller
135e69bd7b
Utilize complete formulas for weierstrass curves 2022-12-27 01:27:09 +01:00
Paul Miller
7a34c16c2b
Add some comments, refactor a bit 2022-12-26 05:37:12 +01:00
Paul Miller
458cddcc7f
README 2022-12-24 14:04:06 +01:00
Paul Miller
ccfb8695d5
Fix ed448 import 2022-12-24 04:51:34 +01:00
Paul Miller
f165222425
Release 0.4.0. 0.4.0 2022-12-24 04:47:30 +01:00
Paul Miller
785d74edb9
Add BLS signatures. Fix stark/P521 privkeys. 2022-12-24 04:32:52 +01:00
Paul Miller
768b268baf
readme 2022-12-20 17:35:24 +01:00
Paul Miller
4df1e8de02
Release 0.2.1. 0.2.1 2022-12-20 15:05:20 +01:00
Paul Miller
dd7b48ac71
Adjust weierstrass error 2022-12-20 15:03:41 +01:00
Paul Miller
254bb712b4
Docs 2022-12-17 01:38:48 +01:00
Paul Miller
31f780027a
readme 2022-12-17 01:25:58 +01:00
Paul Miller
80edb3323a
readme 2022-12-17 01:23:16 +01:00
Paul Miller
d30b1855ee
README 2022-12-16 23:12:26 +01:00
Paul Miller
f1d8650842
add test/package.json to treat tests as esm 2022-12-16 03:14:36 +01:00
Paul Miller
54c7cf8b33
definitions: esm pkg.json 2022-12-16 03:13:46 +01:00
Paul Miller
56892cc164
Adjust curve-definitions to use double-module system 2022-12-16 03:09:51 +01:00
Paul Miller
7d746a7408
Add modular division 2022-12-15 23:11:40 +01:00
Paul Miller
989af14b10
Todo in stark 2022-12-15 22:52:46 +01:00