Lines Matching refs:DTLS_RANDOM_LENGTH

79 #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()
1765 memcpy(p, handshake->tmp.random.server, DTLS_RANDOM_LENGTH); in dtls_send_server_hello()
1766 p += DTLS_RANDOM_LENGTH; in dtls_send_server_hello()
1973 config->tmp.random.client, DTLS_RANDOM_LENGTH, in dtls_send_server_key_exchange_ecdh()
1974 config->tmp.random.server, DTLS_RANDOM_LENGTH, in dtls_send_server_key_exchange_ecdh()
2343 DTLS_RANDOM_LENGTH - sizeof(uint32)); in dtls_send_client_hello()
2346 memcpy(p, handshake->tmp.random.client, DTLS_RANDOM_LENGTH); in dtls_send_client_hello()
2347 p += DTLS_RANDOM_LENGTH; in dtls_send_client_hello()
2496 memcpy(handshake->tmp.random.server, data, DTLS_RANDOM_LENGTH); in check_server_hello()
2498 data += DTLS_RANDOM_LENGTH; in check_server_hello()
2499 data_length -= DTLS_RANDOM_LENGTH; in check_server_hello()
2671 config->tmp.random.client, DTLS_RANDOM_LENGTH, in check_server_key_exchange_ecdsa()
2672 config->tmp.random.server, DTLS_RANDOM_LENGTH, in check_server_key_exchange_ecdsa()