_IpsecSadEntry Struct Reference
Security Association Database (SAD) entry. More...
#include <ipsec.h>
Data Fields | |
IpsecSaState | state |
SAD entry state. More... | |
IpsecDirection | direction |
Direction. More... | |
IpsecMode | mode |
IPsec mode (tunnel or transport) More... | |
IpsecProtocol | protocol |
Security protocol (AH or ESP) More... | |
IpsecSelector | selector |
Traffic selector. More... | |
IpsecDfPolicy | dfPolicy |
DF flag policy. More... | |
uint32_t | spi |
Security parameter index. More... | |
CipherMode | cipherMode |
Cipher mode of operation. More... | |
const CipherAlgo * | cipherAlgo |
Cipher algorithm. More... | |
CipherContext | cipherContext |
Cipher context. More... | |
uint8_t | encKey [IPSEC_MAX_ENC_KEY_LEN] |
Encryption key. More... | |
size_t | encKeyLen |
Length of the encryption key, in bytes. More... | |
size_t | saltLen |
Length of the salt, in bytes. More... | |
uint8_t | iv [16] |
Initialization vector. More... | |
size_t | ivLen |
Length of the initialization vector, in bytes. More... | |
const HashAlgo * | authHashAlgo |
Hash algorithm for HMAC-based integrity calculations. More... | |
const CipherAlgo * | authCipherAlgo |
Cipher algorithm for CMAC-based integrity calculations. More... | |
uint8_t | authKey [IPSEC_MAX_AUTH_KEY_LEN] |
Integrity protection key. More... | |
size_t | authKeyLen |
Length of the integrity protection key, in bytes. More... | |
size_t | icvLen |
Length of the ICV tag, in bytes. More... | |
bool_t | esn |
Extended sequence numbers. More... | |
uint64_t | seqNum |
Sequence number counter. More... | |
systime_t | lifetimeStart |
Timestamp. More... | |
bool_t | antiReplayEnabled |
Anti-replay mechanism enabled. More... | |
uint32_t | antiReplayWindow [(IPSEC_ANTI_REPLAY_WINDOW_SIZE+31)/32] |
Anti-replay window. More... | |
IpAddr | tunnelDestIpAddr |
Tunnel header IP destination address. More... | |
Detailed Description
Field Documentation
◆ antiReplayEnabled
◆ antiReplayWindow
uint32_t antiReplayWindow[(IPSEC_ANTI_REPLAY_WINDOW_SIZE+31)/32] |
◆ authCipherAlgo
const CipherAlgo* authCipherAlgo |
◆ authHashAlgo
const HashAlgo* authHashAlgo |
◆ authKey
uint8_t authKey[IPSEC_MAX_AUTH_KEY_LEN] |
◆ authKeyLen
size_t authKeyLen |
◆ cipherAlgo
const CipherAlgo* cipherAlgo |
◆ cipherContext
CipherContext cipherContext |
◆ cipherMode
CipherMode cipherMode |
◆ dfPolicy
IpsecDfPolicy dfPolicy |
◆ direction
IpsecDirection direction |
◆ encKey
uint8_t encKey[IPSEC_MAX_ENC_KEY_LEN] |
◆ encKeyLen
◆ esn
◆ icvLen
◆ iv
◆ ivLen
◆ lifetimeStart
◆ mode
◆ protocol
IpsecProtocol protocol |
◆ saltLen
◆ selector
IpsecSelector selector |
◆ seqNum
◆ spi
◆ state
IpsecSaState state |
◆ tunnelDestIpAddr
IpAddr tunnelDestIpAddr |
The documentation for this struct was generated from the following file:
- cyclone_ipsec/ipsec/ipsec.h