Documentation ¶
Overview ¶
Package aegis implements the AEGIS AEAD algorithm.
[aegis]: https://www.ietf.org/archive/id/draft-denis-aegis-aead-00.html
Index ¶
Constants ¶
View Source
const ( // KeySize128L is the size in bytes of an AEGIS-128L key. KeySize128L = 16 // NonceSize128L is the size in bytes of an AEGIS-128L nonce. NonceSize128L = 16 // TagSize128L is the size in bytes of an AEGIS-128L // authentication tag. TagSize128L = 16 // BlockSize128L is the size in bytes of an AEGIS-128L block. BlockSize128L = 32 // MaxPlaintextSize128L is the size in bytes of the largest // allowed AESGIS-128L plaintext. MaxPlaintextSize128L = 1 << 61 // MaxAdditionalDataSize128L is the size in bytes of the // largest allowed AEGIS-128L additional data. MaxAdditionalDataSize128L = 1 << 61 // KeySize256 is the size in bytes of an AEGIS-256 key. KeySize256 = 32 // NonceSize256 is the size in bytes of an AEGIS-256 nonce. NonceSize256 = 32 // TagSize256 is the size in bytes of an AEGIS-256 // authentication tag. TagSize256 = 16 // BlockSize256 is the size in bytes of an AEGIS-256 block. BlockSize256 = 16 // MaxPlaintextSize256 is the size in bytes of the largest // allowed AESGIS-256 plaintext. MaxPlaintextSize256 = 1 << 61 // MaxAdditionalDataSize256 is the size in bytes of the // largest allowed AEGIS-256 additional data. MaxAdditionalDataSize256 = 1 << 61 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.