tinydtls  0.8.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
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]
 

Detailed Description

Definition at line 99 of file crypto.h.

Field Documentation

dtls_cipher_t dtls_security_parameters_t::cipher

cipher type

Definition at line 102 of file crypto.h.

dtls_compression_t dtls_security_parameters_t::compression

compression method

Definition at line 100 of file crypto.h.

uint16_t dtls_security_parameters_t::epoch

counter for cipher state changes

Definition at line 103 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 112 of file crypto.h.

uint64_t dtls_security_parameters_t::rseq

sequence number of last record sent

Definition at line 104 of file crypto.h.


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