[][src]Module orion::hazardous::constants

Constant values and types.

Constants

BLAKE2B_BLOCKSIZE

The blocksize for the hash function BLAKE2b.

BLAKE2B_KEYSIZE

The key size for the hash function BLAKE2b when used in keyed mode.

BLAKE2B_OUTSIZE

The output size for the hash function BLAKE2b.

CHACHA_BLOCKSIZE

The blocksize which ChaCha20 operates on.

CHACHA_KEYSIZE

The key size for ChaCha20.

HCHACHA_NONCESIZE

The nonce size for HChaCha20.

HCHACHA_OUTSIZE

The size of the subkey that HChaCha20 returns.

IETF_CHACHA_NONCESIZE

The nonce size for IETF ChaCha20.

POLY1305_BLOCKSIZE

The blocksize which Poly1305 operates on.

POLY1305_OUTSIZE

The output size for Poly1305.

POLY1305_KEYSIZE

The key size for Poly1305.

SHA512_BLOCKSIZE

The blocksize for the hash function SHA512.

SHA512_OUTSIZE

The output size for the hash function SHA512.

XCHACHA_NONCESIZE

The nonce size for XChaCha20.

Type Definitions

BlocksizeArray

Type for an array of length SHA512_BLOCKSIZE.

ChaChaState

Type for a ChaCha state represented as an array of 16 32-bit unsigned integers.

HLenArray

Type for an array of length SHA512_OUTSIZE.

Poly1305Tag

Type for a Poly1305 tag.