dtls13_record_decrypt.h
error_t dtls13ReadRecord(TlsContext *context)
Receive a DTLS 1.3 record.
Definition: dtls13_record_decrypt.c:52
error_t dtls13DecryptAeadRecord(TlsContext *context, TlsEncryptionEngine *decryptionEngine, const uint8_t *nonce, size_t nonceLen, const uint8_t *aad, size_t aadLen, uint8_t *data, size_t dataLen, uint8_t *tag)
Record decryption (AEAD cipher)
Definition: dtls13_record_decrypt.c:520
error_t dtls13ReadPlaintextRecord(TlsContext *context, uint8_t *record)
Receive a DTLSPlaintext record.
Definition: dtls13_record_decrypt.c:95
error_t dtls13DecryptSequenceNumber(TlsEncryptionEngine *decryptionEngine, uint8_t *record)
Decrypt sequence number.
Definition: dtls13_record_decrypt.c:629
error_t dtls13ReadCiphertextRecord(TlsContext *context, uint8_t *record)
Receive a DTLSCiphertext record.
Definition: dtls13_record_decrypt.c:190
error_t dtls13DecryptRecord(TlsContext *context, TlsEncryptionEngine *decryptionEngine, const uint8_t *nonce, size_t nonceLen, const uint8_t *aad, size_t aadLen, uint8_t *data, size_t *dataLen, uint8_t *type)
Decrypt an incoming DTLS 1.3 record.
Definition: dtls13_record_decrypt.c:402
error_t dtls13VerifyMac(TlsContext *context, TlsEncryptionEngine *decryptionEngine, const uint8_t *nonce, size_t nonceLen, const uint8_t *aad, size_t aadLen, const uint8_t *data, size_t dataLen, uint8_t *mac)
Check message authentication code.
Definition: dtls13_record_decrypt.c:584
TLS (Transport Layer Security)
void dtls13ReconstructSequenceNumber(TlsEncryptionEngine *decryptionEngine, const uint8_t *record, DtlsSequenceNumber *seqNum)
Sequence number reconstruction.
Definition: dtls13_record_decrypt.c:739
