tinydtls  0.8.6
Data Fields
dtls_security_parameters_t Struct Reference

#include <crypto.h>

Data Fields

dtls_compression_t compression
 
dtls_cipher_t cipher
 
uint16_t epoch
 
uint64_t rseq
 
uint8 key_block [MAX_KEYBLOCK_LENGTH]
 
seqnum_t cseq
 

Detailed Description

Definition at line 94 of file crypto.h.

Field Documentation

dtls_cipher_t dtls_security_parameters_t::cipher

cipher type

Definition at line 97 of file crypto.h.

dtls_compression_t dtls_security_parameters_t::compression

compression method

Definition at line 95 of file crypto.h.

seqnum_t dtls_security_parameters_t::cseq

sequence number of last record received

Definition at line 109 of file crypto.h.

uint16_t dtls_security_parameters_t::epoch

counter for cipher state changes

Definition at line 98 of file crypto.h.

uint8 dtls_security_parameters_t::key_block[MAX_KEYBLOCK_LENGTH]

The key block generated from PRF applied to client and server random bytes. The actual size is given by the selected cipher and can be calculated using dtls_kb_size(). Use dtls_kb_ macros to access the components of the key block.

Definition at line 107 of file crypto.h.

uint64_t dtls_security_parameters_t::rseq

sequence number of last record sent

Definition at line 99 of file crypto.h.


The documentation for this struct was generated from the following file: