Searched refs:cookie (Results 1 – 6 of 6) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ssl_cookie.c | 207 const unsigned char *cookie, size_t cookie_len, in mbedtls_ssl_cookie_check() argument 227 if( ssl_cookie_hmac( &ctx->hmac_ctx, cookie, in mbedtls_ssl_cookie_check() 241 if( mbedtls_ssl_safer_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) in mbedtls_ssl_cookie_check() 250 cookie_time = ( (unsigned long) cookie[0] << 24 ) | in mbedtls_ssl_cookie_check() 251 ( (unsigned long) cookie[1] << 16 ) | in mbedtls_ssl_cookie_check() 252 ( (unsigned long) cookie[2] << 8 ) | in mbedtls_ssl_cookie_check() 253 ( (unsigned long) cookie[3] ); in mbedtls_ssl_cookie_check()
|
D | ssl_tls.c | 5369 const unsigned char *cookie, size_t cookie_len, in ssl_cookie_check_dummy() argument 5373 ((void) cookie); in ssl_cookie_check_dummy()
|
/net-tools-3.4.0/tinydtls-0.8.2/ |
D | dtls.h | 379 uint8 cookie[]; /**< up to 32 bytes making up the cookie */ member
|
D | dtls.c | 261 dtls_get_cookie(uint8 *msg, size_t msglen, uint8 **cookie) { in dtls_get_cookie() argument 278 *cookie = msg + sizeof(uint8); in dtls_get_cookie() 289 uint8 *cookie, int *clen) { in dtls_create_cookie() argument 337 memset(cookie + len, 0, *clen - len); in dtls_create_cookie() 341 memcpy(cookie, buf, *clen); in dtls_create_cookie() 1548 uint8 *cookie = NULL; in dtls_verify_peer() local 1563 len = dtls_get_cookie(data, data_length, &cookie); in dtls_verify_peer() 1569 dtls_debug_dump("compare with cookie", cookie, len); in dtls_verify_peer() 1572 if (len == DTLS_COOKIE_LENGTH && memcmp(cookie, mycookie, len) == 0) { in dtls_verify_peer() 1578 dtls_debug_dump("invalid cookie", cookie, len); in dtls_verify_peer() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/ |
D | ssl.h | 1316 const unsigned char *cookie, size_t clen,
|
/net-tools-3.4.0/mbedtls-2.4.0/ |
D | ChangeLog | 270 connection, if cookie verification is available 271 (MBEDTLS_SSL_DTLS_HELLO_VERIFY defined in config.h, and usable cookie
|