Nanak Nihal Khalsa
44630c26d3
compatability with previous blake hash
1 year ago
Nanak Nihal Singh Khalsa
c0b4f7888f
dleq proof working
1 year ago
Nanak Nihal Singh Khalsa
5439c2a19f
fixed source of bug which was passing a negative BigInt to mul_scalar...better fix might be to force mul_scalar to only accept a BigUInt or to allow the logic in mul_scalar to work with a negative BigInt
1 year ago
Nanak Nihal Singh Khalsa
2e3e838c11
removed unused weird code
1 year ago
Nanak Nihal Singh Khalsa
1561ed7b58
improved tests and elimitating warnings
1 year ago
Nanak Nihal Singh Khalsa
ee96c573df
added clonability
1 year ago
Nanak Nihal Singh Khalsa
f6ca288c7a
sanitize inputs
1 year ago
Nanak Nihal Singh Khalsa
ff3b16b6e2
message is now converted to a point in the subgroup
1 year ago
Nanak Nihal Singh Khalsa
1557322caf
added deserialization for the ElGamalEncryption Struct
1 year ago
Nanak Nihal Singh Khalsa
8c69310f25
better deserialization and serialization for point
1 year ago
Nanak Nihal Singh Khalsa
e4a4a5cc4f
point deserialization
1 year ago
Nanak Nihal Singh Khalsa
a6946a16f9
added new field Fl instead of Fr for suborder instead of order
1 year ago
Nanak Nihal Singh Khalsa
809d43625e
added (no pun intended) sum feature
1 year ago
Nanak Nihal Singh Khalsa
9c1a43797b
refactored addition
1 year ago
Nanak Nihal Singh Khalsa
0b163704f8
added traits for convenience
1 year ago
Nanak Nihal Singh Khalsa
feb4b91ffe
renamed inverse to neg for more clarity
1 year ago
Nanak Nihal Singh Khalsa
c10293fbc4
to_dec_string()
1 year ago
Nanak Nihal Singh Khalsa
b3c47101aa
js-friendly string method
1 year ago
Nanak Nihal Singh Khalsa
63400ce756
encdoding message to/from point works and passes tests
1 year ago
Nanak Nihal Singh Khalsa
63ab2f26f3
cleaned code a bit
1 year ago
Nanak Nihal Singh Khalsa
0f64158364
Koblitz method variant passing tests
1 year ago
Nanak Nihal Singh Khalsa
aace3068e0
koblitz variation implemented but not yet tested
1 year ago
Nanak Nihal Singh Khalsa
305a8ce043
working on message to point
1 year ago
Nanak Nihal Singh Khalsa
0299b2e0bb
removed another println
1 year ago
Nanak Nihal Singh Khalsa
57a557e682
removed println
1 year ago
Nanak Nihal Singh Khalsa
3b7e9c6acf
made encryption arguments pointers
1 year ago
Nanak Nihal Singh Khalsa
7e85e69089
debug
1 year ago
Nanak Nihal Singh Khalsa
9313800860
added check that inputs are on curve
1 year ago
Nanak Nihal Singh Khalsa
c1d0a309cd
added on_curve and tested it
1 year ago
Nanak Nihal Singh Khalsa
05ce8d4d80
made point public in struct
1 year ago
Nanak Nihal Singh Khalsa
047409e3b1
ElGamal w/ test
1 year ago
Nanak Nihal Singh Khalsa
86c18f0757
added elgamal decryption (UNTESTED)
1 year ago
Nanak Nihal Singh Khalsa
83e3b7688e
removed print statements
1 year ago
Nanak Nihal Singh Khalsa
b4374c5720
serialization of signatures
1 year ago
Nanak Nihal Singh Khalsa
6dd8028cdc
serializaion of singature and point
1 year ago
Nanak Nihal Singh Khalsa
491cfafd27
blh is public now
1 year ago
Nanak Nihal Singh Khalsa
f9efededfb
fixed bug in cargo.toml
1 year ago
Nanak Nihal Singh Khalsa
1df44527df
made poseidon public
1 year ago
Nanak Nihal Singh Khalsa
acd19628c5
added important TODO
1 year ago
Nanak Nihal Singh Khalsa
2367e15363
fixed blake2 bug on my M1 mac
1 year ago
arnaucube
5e3ee25cc9
Merge pull request #4 from leonardoalt/pub_sig_fields
Make fields of struct Signature public
1 year ago
Leo Alt
6f9bb1c133
Make fields of struct Signature public
1 year ago
arnaucube
8ae99d7b3c
Update aarch64 feature related code & minor update
- Update aarch64 feature related code
- Update benchmarks to last lib updates
- Apply Clippy fixes
2 years ago
arnaucube
4793de7d24
Merge pull request #3 from nicolas-geniteau/update-deps
Update rust to 2021 and deps
2 years ago
Nicolas Geniteau
020f243f0f
Update rust to 2021 and deps
2 years ago
arnaucube
e4b7ced755
Update clippy minor fixes, add clippy to GHA
3 years ago
arnaucube
53286f535c
Add blake lib support for feature aarch64
3 years ago
arnaucube
27f9ab6acc
Update to last poseidon-rs version
Update to last Poseidon version (which includes the changes of the reference implementation from
26ddaa91db
)
Compatible with update at circomlib
(cf853c1cc9
)
3 years ago
arnaucube
f3d57a2446
rm unnecessary Result<>
4 years ago
arnaucube
005019d684
Update EdDSA to last circomlib version
- Update EdDSA to last circomlib version
- Compatible with circomlib version 0.3.0 at
5935ac69df
- Use blake hash precandidate (non-blake2b) for circomlib
compatibility
- Add circomlib testvector
- Change PrivateKey from BigInt to [u8;32], which lead to faster
signature computation:
(Benchmarks on a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with
32 GB of RAM)
- Old:
```
sign time: [559.84 us 568.41 us 576.26 us]
verify time: [376.59 us 376.68 us 376.78 us]
```
- New:
```
sign time: [383.85 us 390.31 us 396.44 us]
verify time: [371.33 us 376.06 us 381.19 us]
```
- crate version v0.0.5
4 years ago