Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaker committed Jan 26, 2024
1 parent 29eca8b commit f48a12f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nimue"
version = "0.0.1-beta4"
version = "0.0.1-beta5"
authors = ["Michele Orrù <[email protected]>"]
description = "A library for Fiat-Shamir transcripts."
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ pub mod ark;
#[cfg(feature = "group")]
pub mod group;

/// Compute the bits needed in order to obtain a
/// (pseudo-random) uniform distribution in F.
/// Bits needed in order to obtain a (pseudo-random) uniform distribution in F.
pub(super) const fn bytes_uniform_modp(modulus_bits: u32) -> usize {
(modulus_bits as usize + 128) / 8
}

/// Bits needed in order to encode an element of F.
pub(super) const fn bytes_modp(modulus_bits: u32) -> usize {
(modulus_bits as usize + 7) / 8
}
Expand Down

0 comments on commit f48a12f

Please sign in to comment.