Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zudo committed Jun 16, 2023
1 parent f03d5a8 commit e0ce522
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
pub mod blsag;
pub mod clsag;
pub mod mlsag;
pub mod sag;
use curve25519_dalek::constants::RISTRETTO_BASEPOINT_POINT;
use curve25519_dalek::ristretto::CompressedRistretto;
use curve25519_dalek::RistrettoPoint;
use curve25519_dalek::Scalar;
use digest::typenum::U64;
use digest::Digest;
use rand_core::CryptoRngCore;
pub mod blsag;
pub mod clsag;
pub mod mlsag;
pub mod sag;
pub const G: RistrettoPoint = RISTRETTO_BASEPOINT_POINT;
pub fn point_from_slice(bytes: &[u8; 32]) -> Option<RistrettoPoint> {
CompressedRistretto::from_slice(bytes).unwrap().decompress()
Expand Down

0 comments on commit e0ce522

Please sign in to comment.