Home
last modified time | relevance | path

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

/net-tools-2.7.6/tinydtls-0.8.2/
Ddtls.h378 uint8 cookie_length; /**< Length of the included cookie */ member
Ddtls.c2309 uint8 cookie[], size_t cookie_length) { in dtls_send_client_hello() argument
2332 if (cookie_length > DTLS_COOKIE_LENGTH_MAX) { in dtls_send_client_hello()
2337 if (cookie_length == 0) { in dtls_send_client_hello()
2354 dtls_int_to_uint8(p, cookie_length); in dtls_send_client_hello()
2356 if (cookie_length != 0) { in dtls_send_client_hello()
2357 memcpy(p, cookie, cookie_length); in dtls_send_client_hello()
2358 p += cookie_length; in dtls_send_client_hello()
2451 if (cookie_length != 0) in dtls_send_client_hello()
2456 buf, p - buf, cookie_length != 0); in dtls_send_client_hello()
2542 res = dtls_send_client_hello(ctx, peer, hv->cookie, hv->cookie_length); in check_server_hello_verify_request()