Re-exporting argon2 and generic_array (#387)

This commit is contained in:
Kevin Lewi
2025-09-08 23:32:58 -07:00
committed by GitHub
parent 6593833622
commit a1624a92dd
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -30,8 +30,8 @@ use std::process::exit;
use chacha20poly1305::aead::{Aead, KeyInit};
use chacha20poly1305::{ChaCha20Poly1305, Key, Nonce};
use generic_array::GenericArray;
use opaque_ke::ciphersuite::CipherSuite;
use opaque_ke::generic_array::GenericArray;
use opaque_ke::rand::RngCore;
use opaque_ke::rand::rngs::OsRng;
use opaque_ke::{
+2 -2
View File
@@ -25,9 +25,9 @@
use std::collections::HashMap;
use std::process::exit;
use argon2::Argon2;
use generic_array::GenericArray;
use opaque_ke::argon2::Argon2;
use opaque_ke::ciphersuite::CipherSuite;
use opaque_ke::generic_array::GenericArray;
use opaque_ke::rand::rngs::OsRng;
use opaque_ke::{
ClientLogin, ClientLoginFinishParameters, ClientRegistration,
+3 -1
View File
@@ -1345,7 +1345,9 @@ mod tests;
// Exports
pub use rand;
#[cfg(feature = "argon2")]
pub use argon2;
pub use {generic_array, rand};
pub use crate::ciphersuite::CipherSuite;
#[cfg(feature = "curve25519")]