Browse Source

Fix up trust_promotion

onyiny-ang 7 months ago
parent
commit
6d6f26300a
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/proto/trust_promotion.rs

+ 5 - 3
src/proto/trust_promotion.rs

@@ -29,17 +29,19 @@ value EncQk would decrypt to if bucket were equal to from_attr_i. */
 
 #[cfg(feature = "bridgeauth")]
 use super::super::dup_filter::SeenType;
-use super::super::scalar_u32;
 #[cfg(feature = "bridgeauth")]
 use super::super::BridgeAuth;
+use super::super::{scalar_u32, G};
 use super::errors::CredentialError;
 use crate::lox_creds::{Lox, Migration, MigrationKey};
 use crate::migration_table;
 use crate::migration_table::ENC_MIGRATION_BYTES;
+#[cfg(feature = "bridgeauth")]
+use crate::migration_table::WNAF_SIZE;
 use cmz::*;
+use group::Group;
 #[cfg(feature = "bridgeauth")]
-use curve25519_dalek::ristretto::RistrettoPoint as G;
-use group::{Group, WnafBase};
+use group::WnafBase;
 use rand_core::RngCore;
 use sha2::Sha512;
 use std::collections::HashMap;