Skip to content

Commit

Permalink
remove unused export alias
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwicky committed Apr 29, 2024
1 parent 6899145 commit e9f9aad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/crypto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ use hmac::{Hmac, Mac};

//type export and aliasing to keep compatibility
pub use x25519_dalek::PublicKey;
pub type SharedSecret = x25519_dalek::PublicKey;
pub type PrivateKey = x25519_dalek::StaticSecret;
pub type EphemeralSecret = x25519_dalek::StaticSecret;

pub const STREAM_CIPHER_KEY_SIZE: usize = 16;
pub const STREAM_CIPHER_INIT_VECTOR: [u8; 16] = [0u8; 16];
Expand Down

0 comments on commit e9f9aad

Please sign in to comment.