Trait snow::CryptoResolver [−][src]
pub trait CryptoResolver {
fn resolve_rng(&self) -> Option<Box<Random + Send>>;
fn resolve_dh(&self, choice: &DHChoice) -> Option<Box<Dh + Send>>;
fn resolve_hash(&self, choice: &HashChoice) -> Option<Box<Hash + Send>>;
fn resolve_cipher(
&self,
choice: &CipherChoice
) -> Option<Box<Cipher + Send>>;
}An object that resolves the providers of Noise crypto choices
Required Methods
fn resolve_rng(&self) -> Option<Box<Random + Send>>
fn resolve_dh(&self, choice: &DHChoice) -> Option<Box<Dh + Send>>
fn resolve_hash(&self, choice: &HashChoice) -> Option<Box<Hash + Send>>
fn resolve_cipher(&self, choice: &CipherChoice) -> Option<Box<Cipher + Send>>
Implementors
impl CryptoResolver for DefaultResolverimpl CryptoResolver for HaclStarResolverimpl CryptoResolver for RingAcceleratedResolver