mirror of
https://github.com/arnaucube/babyjubjub-ark.git
synced 2026-01-13 17:21:29 +01:00
Update to last poseidon-rs version
Update to last Poseidon version (which includes the changes of the reference implementation from26ddaa91db) Compatible with update at circomlib (cf853c1cc9)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "babyjubjub-rs"
|
name = "babyjubjub-rs"
|
||||||
version = "0.0.6"
|
version = "0.0.7"
|
||||||
authors = ["arnaucube <root@arnaucube.com>"]
|
authors = ["arnaucube <root@arnaucube.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
@@ -19,7 +19,7 @@ blake-hash = "0.4.0"
|
|||||||
generic-array = "0.13.2"
|
generic-array = "0.13.2"
|
||||||
tiny-keccak = "1.5"
|
tiny-keccak = "1.5"
|
||||||
rustc-hex = "1.0.0"
|
rustc-hex = "1.0.0"
|
||||||
poseidon-rs = "0.0.5"
|
poseidon-rs = "0.0.8"
|
||||||
arrayref = "0.3.5"
|
arrayref = "0.3.5"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
|
|
||||||
|
|||||||
@@ -738,7 +738,7 @@ mod tests {
|
|||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
sig.s.to_string(),
|
sig.s.to_string(),
|
||||||
"1398758333392199195742243841591064350253744445503462896781493968760929513778"
|
"1672775540645840396591609181675628451599263765380031905495115170613215233181"
|
||||||
);
|
);
|
||||||
let v = verify(pk, sig, msg);
|
let v = verify(pk, sig, msg);
|
||||||
assert_eq!(v, true);
|
assert_eq!(v, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user