esp_packet_encrypt.h
error_t espComputeChecksum(IpsecContext *context, IpsecSadEntry *sa, const EspHeader *espHeader, const uint8_t *payload, size_t length, uint8_t *icv)
Compute ICV checksum.
Definition: esp_packet_encrypt.c:356
error_t espEncryptPacket(IpsecContext *context, IpsecSadEntry *sa, const EspHeader *espHeader, uint8_t *payload, size_t *payloadLen, uint8_t nextHeader)
Encrypt an outgoing ESP packet.
Definition: esp_packet_encrypt.c:58
ESP (IP Encapsulating Security Payload)
size_t espAddTrailer(IpsecSadEntry *sa, uint8_t *data, size_t length, uint8_t nextHeader)
Append ESP trailer.
Definition: esp_packet_encrypt.c:459
IPsec (IP security)