Home
last modified time | relevance | path

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

/net-tools-3.7.0/tinydtls-0.8.2/
Ddtls.h323 #define DTLS_COOKIE_LENGTH 16 macro
Ddtls.c1545 uint8 buf[DTLS_HV_LENGTH + DTLS_COOKIE_LENGTH]; in dtls_verify_peer()
1547 int len = DTLS_COOKIE_LENGTH; in dtls_verify_peer()
1560 assert(len == DTLS_COOKIE_LENGTH); in dtls_verify_peer()
1572 if (len == DTLS_COOKIE_LENGTH && memcmp(cookie, mycookie, len) == 0) { in dtls_verify_peer()
1589 dtls_int_to_uint8(p, DTLS_COOKIE_LENGTH); in dtls_verify_peer()
1594 p += DTLS_COOKIE_LENGTH; in dtls_verify_peer()