a_bennassar
a86308cb0b
Add scanner/valuer interface to PublicKey
2020-08-13 12:43:48 +02:00
a_bennassar
d91a4261f1
Add scanner/valuer interface to signature
2020-08-12 15:52:10 +02:00
arnaucube
833f68a614
Babyjubjub separate PointFromSignAndY from p.Decompress
2020-08-06 13:34:36 +02:00
arnaucube
f22be3cdee
Update Poseidon Hash function names, rm HashBytes
...
Since Poseidon Hash is used because of compatibility in zkSNARK circuits, due
circuit constraints number, the hash method of [T]*big.Int is the one directly
compatible with the circuits, is the method which have the `Hash` name on it.
The method that can take arbitrary length of []*big.Int putting them in chunks
of [T]*big.Int and iterating, is called `HashSlice`. The `HashBytes` has been
removed, as is a method that will not be used in zkSNARK circuits due high
constraints number.
For zkSNARK circuits, should be used `poseidon.Hash([poseidon.T]*big.Int)`.
2020-07-23 07:59:59 +02:00
arnaucube
d189a6bedc
Expose SkToBigInt for usage from other packages & repos
2020-04-22 14:53:31 +02:00
Eduard S
0ac8b46493
Fix linters errors
2020-04-14 16:53:24 +02:00
arnaucube
2a3f0d9ed5
Adapt babyjub/eddsa to new Poseidon methods
2020-03-04 12:57:20 +01:00
arnaucube
97c76ce614
Update BabyJubJub signature with Poseidon
2020-03-03 12:42:18 +01:00
Eduard S
c0c4ff2dd7
Optimize Poseidon
2019-12-18 11:46:17 +01:00
Eduard S
53b9050d0a
Add babujub eddsa benchmarks
2019-12-16 13:36:43 +01:00
Eduard S
a5b6afcb16
Add poseidon and babyjub benchmarks
2019-12-16 13:08:34 +01:00
Eduard S
5ade04e079
Test that babyjub pk is always < Q
2019-12-09 12:30:50 +01:00
arnaucube
a60e154d86
return error if no ModSqrt(x, q) exist in babyjubjub decompress point
2019-09-10 00:36:54 +02:00
arnaucube
2b1935299c
MiMC7 finite field over R comprovation moved inside hash, same approach as Poseidon impl
2019-08-30 11:58:10 +02:00
arnaucube
0bac1c84ba
add babyjub-eddsa Poseidon sign & verify
2019-08-29 17:52:30 +02:00
arnaucube
c4b3b7a09c
update babyjub B8, clean unused funcs & errs in mimc7, small update in mimc7 tests
2019-08-03 20:55:08 +02:00
Eduard S
5b79ded540
Move constants and utils to package, apply small fixes
2019-07-01 12:51:34 +02:00
arnaucube
7b219e15ec
add travis, add go.mod go.sum, update babyjub hex encoders to avoid
...
importing go-iden3
2019-06-25 15:46:45 +02:00
Eduard S
0f93c8ce38
Add babyjub from go-iden3/crypto/babyjub
2019-06-25 14:53:16 +02:00