Module crypt

Module crypt 

Source
Expand description

Implementation of the cryptography used for Mumble’s voice channel

Structs§

CryptState
Implements OCB2-AES128 for encryption and authentication of the voice packets when transmitted over UDP. Also provides statistics about good, late and lost packets.

Enums§

DecryptError
The reason a decrypt operation failed.

Constants§

BLOCK_SIZE
Size in bytes of blocks for the AES primitive.
KEY_SIZE
Size in bytes of the AES key used in CryptState.
MAX_PACKET_SIZE
Maximum size of an encrypted Mumble packet. Note that larger packets can be produced if there is sufficient voice data in one packet but there’s no guarantee that the remote end will not just drop it.

Type Aliases§

ClientCryptState
The CryptState used on the client side.
ServerCryptState
The CryptState used on the server side.