☰
In unsafe_hacspec_examples::aes_gcm::aes
In unsafe_hacspec_examples::aes_gcm::aes
Structs
Block
Bytes144
Bytes176
Bytes208
Bytes240
Key128
Key256
Nonce
RCon
RoundKey
SBox
Word
Enums
AesVariant
Functions
aes128_decrypt
aes128_encrypt
aes128_encrypt_block
aes256_decrypt
aes256_encrypt
aes256_encrypt_block
?
Function
unsafe_hacspec_examples
::
aes_gcm
::
aes
::
aes256_encrypt
source
·
[
−
]
pub fn aes256_encrypt(
key:
Key256
,
nonce:
Nonce
,
counter:
U32
,
msg: &
ByteSeq
) ->
ByteSeq