Lines Matching defs:cookie
2 * DTLS cookie callbacks implementation
156 * Generate the HMAC part of a cookie
183 * Generate cookie for DTLS ClientHello verification
272 * Check a cookie
275 const unsigned char *cookie, size_t cookie_len,
305 status = psa_mac_update(&operation, cookie, 4);
318 status = psa_mac_verify_finish(&operation, cookie + 4,
333 if (ssl_cookie_hmac(&ctx->hmac_ctx, cookie,
350 if (mbedtls_ct_memcmp(cookie + 4, ref_hmac, sizeof(ref_hmac)) != 0) {
362 cookie_time = (unsigned long) MBEDTLS_GET_UINT32_BE(cookie, 0);