Browse Source

Use G and Scalar in migration.rs

onyinyang 2 months ago
parent
commit
85a6b58457
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/proto/migration.rs

+ 1 - 2
src/proto/migration.rs

@@ -34,13 +34,12 @@ and a new Lox credential to be issued:
 use super::super::dup_filter::SeenType;
 #[cfg(feature = "bridgeauth")]
 use super::super::BridgeAuth;
+use super::super::{Scalar, G};
 use super::errors::CredentialError;
 use crate::lox_creds::{Lox, Migration};
 #[cfg(feature = "bridgeauth")]
 use crate::scalar_u32;
 use cmz::*;
-use curve25519_dalek::ristretto::RistrettoPoint as G;
-use curve25519_dalek::scalar::Scalar;
 use group::Group;
 use rand::{CryptoRng, RngCore};
 use sha2::Sha512;