Skip to main content

CryptoProvider

Trait CryptoProvider 

Source
pub trait CryptoProvider: Send + Sync {
    // Required methods
    fn kem(&self) -> Option<&dyn KemOperations>;
    fn signature(&self) -> Option<&dyn SignatureOperations>;
    fn hash(&self) -> Option<&dyn HashOperations>;
    fn aead(&self) -> Option<&dyn AeadOperations>;
}
Expand description

Cryptographic provider that supplies implementations

Required Methods§

Implementors§

Source§

impl CryptoProvider for AeadOperationsBridge

Available on crate feature alloc only.
Source§

impl CryptoProvider for LibQCryptoProvider

Available on crate feature std only.