Crate davey

Crate davey 

Source

Re-exports§

pub use aead;
pub use aes;

Modules§

errors

Structs§

AesGcm
AES-GCM: generic over an underlying AES implementation and nonce size.
CommitWelcome
Contains the commit and optional welcome for dave_mls_commit_welcome (28).
DaveSession
DecryptionStats
EncryptionStats
Error
Error type.
SigningKeyPair
A signing key pair. This is needed if you want to pass your own key pair or store the key pair for later.

Enums§

Codec
The type of codec being used.
MediaType
The type of media being referenced.
ProposalsOperationType
The operation type of the proposals payload. @see https://daveprotocol.com/#dave_mls_proposals-27
SessionStatus
The status of the DAVE session.

Constants§

A_MAX
Maximum length of associated data.
C_MAX
Maximum length of ciphertext.
DAVE_PROTOCOL_VERSION
The maximum supported version of the DAVE protocol.
FINGERPRINT_SALT
MAX_FRAMES_PER_SECOND
MAX_GROUP_SIZE
OPUS_SILENCE_PACKET
P_MAX
Maximum length of plaintext.

Traits§

AeadCore
Authenticated Encryption with Associated Data (AEAD) algorithm core trait.
AeadInPlace
In-place stateless AEAD trait.
KeyInit
Types which can be initialized from key.
KeySizeUser
Types which use key for initialization.
TagSize
Trait implemented for valid tag sizes, i.e. [U12][consts::U12], [U13][consts::U13], [U14][consts::U14], [U15][consts::U15] and [U16][consts::U16].

Functions§

generate_displayable_code
Generate a displayable code.
generate_displayable_code_internal
generate_key_fingerprint
Generate a key fingerprint.
generate_pairwise_fingerprint
Generate a pairwise fingerprint.
pairwise_fingerprints_internal

Type Aliases§

Aes128Gcm
AES-GCM with a 128-bit key and 96-bit nonce.
Aes256Gcm
AES-GCM with a 256-bit key and 96-bit nonce.
Key
Key used by KeySizeUser implementors.
Nonce
AES-GCM nonces.
Tag
AES-GCM tags.