SshEncryptionEngine Struct Reference
Encryption engine. More...
#include <ssh.h>
Data Fields | |
| CipherMode | cipherMode |
| Cipher mode of operation. More... | |
| const CipherAlgo * | cipherAlgo |
| Cipher algorithm. More... | |
| CipherContext | cipherContext |
| Cipher context. More... | |
| const HashAlgo * | hashAlgo |
| Hash algorithm for MAC operations. More... | |
| HmacContext * | hmacContext |
| HMAC context. More... | |
| size_t | macSize |
| Size of the MAC tag, in bytes. More... | |
| bool_t | etm |
| Encrypt-then-MAC. More... | |
| uint8_t | iv [SSH_MAX_CIPHER_BLOCK_SIZE] |
| Initialization vector. More... | |
| uint8_t | encKey [SSH_MAX_ENC_KEY_SIZE] |
| Encryption key. More... | |
| size_t | encKeyLen |
| Length of the encryption key, in bytes. More... | |
| uint8_t | macKey [SSH_MAX_HASH_DIGEST_SIZE] |
| Integrity key. More... | |
| uint8_t | seqNum [4] |
| Sequence number. More... | |
| GcmContext | gcmContext |
| GCM context. More... | |
| uint8_t | aad [4] |
| Additional authenticated data. More... | |
Detailed Description
Field Documentation
◆ aad
◆ cipherAlgo
| const CipherAlgo* cipherAlgo |
◆ cipherContext
| CipherContext cipherContext |
◆ cipherMode
| CipherMode cipherMode |
◆ encKey
| uint8_t encKey[SSH_MAX_ENC_KEY_SIZE] |
◆ encKeyLen
◆ etm
◆ gcmContext
| GcmContext gcmContext |
◆ hashAlgo
◆ hmacContext
| HmacContext* hmacContext |
◆ iv
| uint8_t iv[SSH_MAX_CIPHER_BLOCK_SIZE] |
◆ macKey
| uint8_t macKey[SSH_MAX_HASH_DIGEST_SIZE] |
◆ macSize
◆ seqNum
The documentation for this struct was generated from the following file:
- cyclone_ssh/ssh/ssh.h
