diff --git a/Cargo.lock b/Cargo.lock index c5cdc94..5e64e76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -499,13 +499,14 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.0.0-pre.1" +version = "4.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4033478fbf70d6acf2655ac70da91ee65852d69daf7a67bf7a2f518fb47aafcf" +checksum = "03d928d978dbec61a1167414f5ec534f24bea0d7a0d24dd9b6233d3d8223e585" dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.4", + "cfg-if", + "fiat-crypto", + "packed_simd_2", + "platforms", "subtle", "zeroize", ] @@ -581,6 +582,12 @@ name = "espresso-systems-common" version = "0.2.0" source = "git+https://github.com/espressosystems/espresso-systems-common?branch=main#6c89e70c9b2ae0c2ed1690e843fdaaf0baaf732b" +[[package]] +name = "fiat-crypto" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" + [[package]] name = "futures-channel" version = "0.3.25" @@ -850,6 +857,12 @@ version = "0.2.137" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" +[[package]] +name = "libm" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" + [[package]] name = "log" version = "0.4.17" @@ -932,6 +945,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +[[package]] +name = "packed_simd_2" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" +dependencies = [ + "cfg-if", + "libm", +] + [[package]] name = "paste" version = "1.0.9" @@ -975,6 +998,12 @@ dependencies = [ "ucd-trie", ] +[[package]] +name = "platforms" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" + [[package]] name = "poly1305" version = "0.7.2" @@ -1404,7 +1433,7 @@ dependencies = [ "ark-serialize", "ark-std", "chacha20poly1305 0.9.1", - "curve25519-dalek 4.0.0-pre.1", + "curve25519-dalek 4.0.0-rc.2", "displaydoc", "hkdf", "jf-plonk", diff --git a/Cargo.toml b/Cargo.toml index 9559aea..26578fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ ark-ff = { version = "0.3.0", default-features = false } ark-serialize = { version = "0.3.0", default-features = false } ark-std = { version = "0.3.0", default-features = false } chacha20poly1305 = "0.9.0" -curve25519-dalek = "4.0.0-pre.1" +curve25519-dalek = "4.0.0-rc.2" displaydoc = { version = "0.2.3", default-features = false } hkdf = "0.12.0" jf-plonk = { git = "https://github.com/EspressoSystems/jellyfish.git", rev = "64f55becffe0b93bfef2c6dc49274ef54d5ff6fc"}