Idris2Doc : Network.TLS.AEAD

Network.TLS.AEAD

(source)

Definitions

interfaceAEAD : Type->Type
Parameters: a
Methods:
fixed_iv_length : Nat
  IV generated during key exchange
enc_key_length : Nat
mac_length : Nat
mac_key_length : Nat
record_iv_length : Nat
  Part of IV that is sent along with the ciphertext, should always be 0 in TLS 1.3
encrypt : Vectenc_key_lengthBits8->Vectfixed_iv_lengthBits8->Vectmac_key_lengthBits8->Nat->ListBits8->ListBits8-> (Vectrecord_iv_lengthBits8, (ListBits8, Vectmac_lengthBits8))
decrypt : Vectenc_key_lengthBits8->Vectfixed_iv_lengthBits8->Vectrecord_iv_lengthBits8->Vectmac_key_lengthBits8->Nat->ListBits8-> (ListBits8->ListBits8) ->ListBits8-> (ListBits8, Bool)

Implementations:
AEADTLS13_AES_128_GCM
AEADTLS12_AES_128_GCM
AEADTLS13_AES_256_GCM
AEADTLS12_AES_256_GCM
AEADTLS1213_ChaCha20_Poly1305
fixed_iv_length : AEADa=>Nat
  IV generated during key exchange

Visibility: public export
enc_key_length : AEADa=>Nat
Visibility: public export
mac_length : AEADa=>Nat
Visibility: public export
mac_key_length : AEADa=>Nat
Visibility: public export
record_iv_length : AEADa=>Nat
  Part of IV that is sent along with the ciphertext, should always be 0 in TLS 1.3

Visibility: public export
encrypt : {auto__con : AEADa} ->Vectenc_key_lengthBits8->Vectfixed_iv_lengthBits8->Vectmac_key_lengthBits8->Nat->ListBits8->ListBits8-> (Vectrecord_iv_lengthBits8, (ListBits8, Vectmac_lengthBits8))
Visibility: public export
decrypt : {auto__con : AEADa} ->Vectenc_key_lengthBits8->Vectfixed_iv_lengthBits8->Vectrecord_iv_lengthBits8->Vectmac_key_lengthBits8->Nat->ListBits8-> (ListBits8->ListBits8) ->ListBits8-> (ListBits8, Bool)
Visibility: public export
dataTLS13_AES_128_GCM : Type
Totality: total
Visibility: public export
Hint: 
AEADTLS13_AES_128_GCM
dataTLS12_AES_128_GCM : Type
Totality: total
Visibility: public export
Hint: 
AEADTLS12_AES_128_GCM
dataTLS13_AES_256_GCM : Type
Totality: total
Visibility: public export
Hint: 
AEADTLS13_AES_256_GCM
dataTLS12_AES_256_GCM : Type
Totality: total
Visibility: public export
Hint: 
AEADTLS12_AES_256_GCM
dataTLS1213_ChaCha20_Poly1305 : Type
Totality: total
Visibility: public export
Hint: 
AEADTLS1213_ChaCha20_Poly1305