Commit Graph

143 Commits

Author SHA1 Message Date
Paul Miller
80966cbd03
hash-to-curve: more type checks. Rename method to createHasher 2023-02-14 17:39:56 +01:00
Paul Miller
98ea15dca4
edwards: improve hex errors 2023-02-14 17:35:19 +01:00
Paul Miller
e1910e85ea
mod, utils, weierstrass, secp: improve hex errors. secp: improve verify() logic and schnorr 2023-02-14 17:34:31 +01:00
Paul Miller
4d311d7294
Emit source maps 2023-02-14 17:23:51 +01:00
Paul Miller
c36d90cae6
bump lockfile, add comment to shortw 2023-02-13 23:55:58 +01:00
Paul Miller
af5aa8424f
readme: supply chain attacks 2023-02-13 23:32:49 +01:00
Paul Miller
67b99652fc
BLS: add docs 2023-02-12 22:25:36 +01:00
Paul Miller
c8d292976b
README 2023-02-12 22:25:22 +01:00
Paul Miller
daffaa2339
README: more docs 2023-02-12 21:37:27 +01:00
Paul Miller
a462fc5779
readme updates 2023-02-12 11:30:55 +01:00
Paul Miller
fe3491c5aa
Release 0.6.4. 0.6.4 2023-02-09 23:19:15 +01:00
Paul Miller
c0877ba69a
Fix weierstrass type 2023-02-09 23:18:32 +01:00
Paul Miller
8e449cc78c
ed25519 tests: unify with noble-ed25519 2023-02-09 21:26:24 +01:00
Paul Miller
1b6071cabd
weierstrass: rename normPrivKey util. tests: prepare for unification w old noble pkg 2023-02-09 20:26:20 +01:00
Paul Miller
debb9d9709
Release 0.6.3. 0.6.3 2023-02-09 16:19:08 +01:00
Paul Miller
d2c6459756
Update wnaf comments 2023-02-09 15:45:21 +01:00
Paul Miller
47533b6336
Add more tests for weierstrass, etc 2023-02-09 13:29:19 +01:00
Paul Miller
00b73b68d3
hash-to-curve small refactor 2023-02-06 20:50:52 +01:00
Paul Miller
cef4b52d12
Update hashes to 1.2, scure devdeps, add lockfile 2023-02-06 20:50:41 +01:00
Paul Miller
47ce547dcf
README update 2023-02-06 20:50:23 +01:00
Paul Miller
e2a7594eae
Release 0.6.2. 0.6.2 2023-01-30 08:18:07 +01:00
Paul Miller
823149ecd9
Clarify comment 2023-01-30 08:17:08 +01:00
Paul Miller
e57aec63d8
Fix edwards assertValidity 2023-01-30 08:04:36 +01:00
Paul Miller
837aca98c9
Fix bugs 2023-01-30 06:10:56 +01:00
Paul Miller
dbb16b0e5e
edwards: add assertValidity 2023-01-30 06:10:08 +01:00
Paul Miller
e14af67254
utils: fix hexToNumber, improve validateObject 2023-01-30 06:07:53 +01:00
Paul Miller
4780850748
montgomery: fix fieldLen 2023-01-30 05:56:07 +01:00
Paul Miller
3374a70f47
README update 2023-01-30 05:55:36 +01:00
Paul Miller
131f88b504
Release 0.6.1. 0.6.1 2023-01-29 05:14:10 +01:00
Paul Miller
4333e9a686
README 2023-01-29 05:12:58 +01:00
Paul Miller
a60d15ff05
Upgrading guide from other noble libraries 2023-01-29 05:10:58 +01:00
Paul Miller
ceffbc69da
More Schnorr utils 2023-01-29 04:46:38 +01:00
Paul Miller
c75129e629
Use declarative curve field validation 2023-01-28 03:19:46 +01:00
Paul Miller
f39fb80c52
weierstrass: rename normalizePrivateKey to allowedPrivateKeyLengths 2023-01-27 23:45:55 +01:00
Paul Miller
fcd422d246
README updates 2023-01-27 03:48:53 +01:00
Paul Miller
ed9bf89038
stark: isCompressed=false. Update benchmarks 2023-01-27 03:43:18 +01:00
Paul Miller
7262b4219f
Bump micro-should 2023-01-26 08:26:07 +01:00
Paul Miller
02b0b25147
New schnorr exports. Simplify RFC6979 k gen, privkey checks 2023-01-26 08:16:00 +01:00
Paul Miller
79100c2d47
Release 0.6.0. 0.6.0 2023-01-26 06:31:16 +01:00
Paul Miller
4ef2cad685
hash-to-curve: assertValidity 2023-01-26 06:14:12 +01:00
Paul Miller
69b3ab5a57
Shuffle code 2023-01-26 05:46:14 +01:00
Paul Miller
9465e60d30
More refactoring 2023-01-26 05:24:41 +01:00
Paul Miller
0fb78b7097
Rename group to curve. More refactoring 2023-01-26 04:14:21 +01:00
Paul Miller
be0b2a32a5
Fp rename. Edwards refactor. Weierstrass Fn instead of mod 2023-01-26 03:07:45 +01:00
Paul Miller
3d77422731
Restructure tests 2023-01-26 03:06:28 +01:00
Paul Miller
c46914f1bc
weierstrass: remove most private utils 2023-01-25 08:21:48 +01:00
Paul Miller
f250f355e8
Schnorr: remove all private methods 2023-01-25 08:14:53 +01:00
Paul Miller
c095d74673
More schnorr updates 2023-01-25 08:10:05 +01:00
Paul Miller
ac52fea952
Another schnorr adjustment 2023-01-25 07:55:21 +01:00
Paul Miller
f2ee24bee4
schnorr: remove packSig 2023-01-25 07:54:00 +01:00