[−][src]Module tink_aead::subtle
Provides subtle implementations of the tink_core::Aead
primitive.
Structs
AesCtr |
|
AesGcm |
|
AesGcmSiv |
|
ChaCha20Poly1305 |
|
EncryptThenAuthenticate |
|
XChaCha20Poly1305 |
|
Constants
AES_BLOCK_SIZE_IN_BYTES | |
AES_CTR_MIN_IV_SIZE | The minimum IV size that this implementation supports. |
AES_GCM_IV_SIZE | The only IV size that this implementation supports. |
AES_GCM_SIV_NONCE_SIZE | The only IV size that this implementation supports. |
AES_GCM_SIV_TAG_SIZE | The only tag size that this implementation supports. |
AES_GCM_TAG_SIZE | The only tag size that this implementation supports. |
CHA_CHA20_KEY_SIZE | Size of a ChaCh20 key in bytes. |
CHA_CHA20_NONCE_SIZE | Size of a ChaCh20 nonce in bytes. |
X_CHA_CHA20_KEY_SIZE | Size of an XChaCh20 key in bytes. |
X_CHA_CHA20_NONCE_SIZE | Size of an XChaCh20 nonce in bytes. |
Traits
IndCpaCipher | |
IndCpaCipherBoxClone | Trait bound to indicate that primitive trait objects should support cloning themselves as trait objects. |
Functions
validate_aes_key_size | Check if the given key size is a valid AES key size. |