Skip to content

Commit

Permalink
Update strobe, bump crate versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DJAndries committed Sep 20, 2024
1 parent 241622c commit c74c924
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions adss/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "adss"
version = "0.2.2"
version = "0.2.3"
authors = ["eV <[email protected]>", "Alex Davidson <[email protected]>"]
description = "Adept Secret Sharing framework"
documentation = "https://docs.rs/adss"
Expand All @@ -11,7 +11,7 @@ license = "MPL-2.0"
edition = "2018"

[dependencies]
strobe-rs = "0.8.1"
strobe-rs = "0.10.0"
rand = "0.8.5"
rand_core = "0.6.4"
zeroize = "1.5.5"
Expand Down
4 changes: 2 additions & 2 deletions adss/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl Commune {
self.M.clone()
}

fn verify(&self, J: &mut [u8]) -> Result<(), Box<dyn Error>> {
fn verify(&self, J: &[u8; MAC_LENGTH]) -> Result<(), Box<dyn Error>> {
let mut transcript = self
.clone()
.T
Expand Down Expand Up @@ -323,7 +323,7 @@ where
T: None,
};

c.verify(&mut s.J.clone())?;
c.verify(&s.J.clone())?;
Ok(c)
}

Expand Down
4 changes: 2 additions & 2 deletions ppoprf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ppoprf"
version = "0.4.0"
version = "0.4.1"
authors = ["Alex Davidson <[email protected]>", "Ralph Ankele <[email protected]>"]
description = "Puncturable Partially-Oblivious Pseudo-Random Function"
documentation = "https://docs.rs/ppoprf"
Expand All @@ -15,7 +15,7 @@ rand = { version = "0.8.5", features = [ "getrandom" ] }
bitvec = { version = "1.0.1", features = ["serde"] }
curve25519-dalek = { version = "4.0.0", features = [ "rand_core", "serde" ] }
serde = { version = "1.0.147", features = ["derive"] }
strobe-rs = "0.8.1"
strobe-rs = "0.10.0"
base64 = "0.13.0"
bincode = "1.3.3"
derive_more = "0.99"
Expand Down
4 changes: 2 additions & 2 deletions star/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sta-rs"
version = "0.3.0"
version = "0.3.1"
authors = ["Alex Davidson <[email protected]>"]
description = "Distributed Secret-Sharing for Threshold Aggregation Reporting"
documentation = "https://docs.rs/sta-rs"
Expand All @@ -11,7 +11,7 @@ license = "MPL-2.0"
edition = "2018"

[dependencies]
strobe-rs = "0.8.1"
strobe-rs = "0.10.0"
adss = { path = "../adss", version = "0.2.2" }
ppoprf = { path = "../ppoprf", version = "0.4.0" }
rand = "0.8.5"
Expand Down
2 changes: 1 addition & 1 deletion star/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
strobe-rs = "0.8.1"
strobe-rs = "0.10.0"
sta-rs = { path = "../" }
rand = { version = "0.8.5", features = [ "std" ] }
rayon = "1.7"
Expand Down

0 comments on commit c74c924

Please sign in to comment.