Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Oct 8, 2020
1 parent 03836fe commit 42fef37
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
[package]
name = "blstrs"
description = "High performance implementation of BLS12 381"
version = "0.1.0"
authors = ["dignifiedquire <me@dignifiedquire.com>"]
edition = "2018"
license = "MIT/Apache-2.0"
repository = "https://github.com/filecoin-project/blstrs"
documentation = "https://docs.rs/blstrs"
categories = ["cryptography", "algorithms"]
readme = "README.md"

[package.metadata.docs.rs]
rustdoc-args = [ "--html-in-header", "katex-header.html" ]

[dependencies]
blst = { git = "https://github.com/supranational/blst", rev = "cd0847a" }
blst = "0.2.0"
rand_core = "0.5.1"
fff = "0.2.3"
groupy = "0.3.1"
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Due to the assembly based nature of the implementation in `blst`, currently only
- `x86_64`,
- `aarch64`.


## BLS12 Parameterization

BLS12 curves are parameterized by a value *x* such that the base field modulus *q* and subgroup *r* can be computed by:
Expand Down
2 changes: 1 addition & 1 deletion src/g1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ impl G1Affine {
writer.write_all(&[0])?;
}
let raw = self.to_uncompressed();
writer.write(&raw)?;
writer.write_all(&raw)?;

Ok(Self::raw_fmt_size())
}
Expand Down

0 comments on commit 42fef37

Please sign in to comment.