Re-exporting argon2 and generic_array (#387)
This commit is contained in:
@@ -30,8 +30,8 @@ use std::process::exit;
|
|||||||
|
|
||||||
use chacha20poly1305::aead::{Aead, KeyInit};
|
use chacha20poly1305::aead::{Aead, KeyInit};
|
||||||
use chacha20poly1305::{ChaCha20Poly1305, Key, Nonce};
|
use chacha20poly1305::{ChaCha20Poly1305, Key, Nonce};
|
||||||
use generic_array::GenericArray;
|
|
||||||
use opaque_ke::ciphersuite::CipherSuite;
|
use opaque_ke::ciphersuite::CipherSuite;
|
||||||
|
use opaque_ke::generic_array::GenericArray;
|
||||||
use opaque_ke::rand::RngCore;
|
use opaque_ke::rand::RngCore;
|
||||||
use opaque_ke::rand::rngs::OsRng;
|
use opaque_ke::rand::rngs::OsRng;
|
||||||
use opaque_ke::{
|
use opaque_ke::{
|
||||||
|
|||||||
@@ -25,9 +25,9 @@
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
|
|
||||||
use argon2::Argon2;
|
use opaque_ke::argon2::Argon2;
|
||||||
use generic_array::GenericArray;
|
|
||||||
use opaque_ke::ciphersuite::CipherSuite;
|
use opaque_ke::ciphersuite::CipherSuite;
|
||||||
|
use opaque_ke::generic_array::GenericArray;
|
||||||
use opaque_ke::rand::rngs::OsRng;
|
use opaque_ke::rand::rngs::OsRng;
|
||||||
use opaque_ke::{
|
use opaque_ke::{
|
||||||
ClientLogin, ClientLoginFinishParameters, ClientRegistration,
|
ClientLogin, ClientLoginFinishParameters, ClientRegistration,
|
||||||
|
|||||||
+3
-1
@@ -1345,7 +1345,9 @@ mod tests;
|
|||||||
|
|
||||||
// Exports
|
// Exports
|
||||||
|
|
||||||
pub use rand;
|
#[cfg(feature = "argon2")]
|
||||||
|
pub use argon2;
|
||||||
|
pub use {generic_array, rand};
|
||||||
|
|
||||||
pub use crate::ciphersuite::CipherSuite;
|
pub use crate::ciphersuite::CipherSuite;
|
||||||
#[cfg(feature = "curve25519")]
|
#[cfg(feature = "curve25519")]
|
||||||
|
|||||||
Reference in New Issue
Block a user