Searched refs:DTLS_COOKIE_LENGTH (Results 1 – 2 of 2) sorted by relevance
323 #define DTLS_COOKIE_LENGTH 16 macro
1545 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()