Home
last modified time | relevance | path

Searched refs:DTLS_RANDOM_LENGTH (Results 1 – 2 of 2) sorted by relevance

/net-tools-latest/tinydtls-0.8.2/
Dcrypto.h60 #define DTLS_RANDOM_LENGTH 32 macro
118 uint8 client[DTLS_RANDOM_LENGTH]; /**< client random gmt and bytes */
119 uint8 server[DTLS_RANDOM_LENGTH]; /**< server random gmt and bytes */
Ddtls.c79 #define DTLS_SH_LENGTH (2 + DTLS_RANDOM_LENGTH + 1 + 2 + 1)
665 dtls_debug_dump("client_random", handshake->tmp.random.client, DTLS_RANDOM_LENGTH); in calculate_key_block()
666 dtls_debug_dump("server_random", handshake->tmp.random.server, DTLS_RANDOM_LENGTH); in calculate_key_block()
671 handshake->tmp.random.client, DTLS_RANDOM_LENGTH, in calculate_key_block()
672 handshake->tmp.random.server, DTLS_RANDOM_LENGTH, in calculate_key_block()
685 handshake->tmp.random.server, DTLS_RANDOM_LENGTH, in calculate_key_block()
686 handshake->tmp.random.client, DTLS_RANDOM_LENGTH, in calculate_key_block()
916 memcpy(config->tmp.random.client, data, DTLS_RANDOM_LENGTH); in dtls_update_parameters()
917 data += DTLS_RANDOM_LENGTH; in dtls_update_parameters()
918 data_length -= DTLS_RANDOM_LENGTH; in dtls_update_parameters()
[all …]