Skip to content

Commit

Permalink
new release (ZenGo-X#173)
Browse files Browse the repository at this point in the history
* new release

* clippy fixes

* 0.10.0
  • Loading branch information
leontiad authored Dec 15, 2022
1 parent 665cc11 commit 78cac40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "curv-kzen"
version = "0.9.0"
version = "0.10.0"
edition = "2018"
authors = [
"Omer Shlomovits",
Expand Down
2 changes: 1 addition & 1 deletion src/arithmetic/samplable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Samplable for BigInt {
let bytes = (bit_size - 1) / 8 + 1;
let mut buf: Vec<u8> = vec![0; bytes];
rng.fill_bytes(&mut buf);
BigInt::from_bytes(&*buf) >> (bytes * 8 - bit_size)
BigInt::from_bytes(&buf) >> (bytes * 8 - bit_size)
}

fn strict_sample(bit_size: usize) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion src/elliptic/curves/p256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lazy_static::lazy_static! {
g[0] = 0x04;
g[1..33].copy_from_slice(&BASE_POINT2_X);
g[33..].copy_from_slice(&BASE_POINT2_Y);
EncodedPoint::from_bytes(&g).unwrap()
EncodedPoint::from_bytes(g).unwrap()
};

static ref BASE_POINT2: Secp256r1Point = Secp256r1Point {
Expand Down

0 comments on commit 78cac40

Please sign in to comment.