Lines Matching refs:SHA256_DIGEST_LENGTH
25 + SSL_COOKIE_LENGTH + SHA256_DIGEST_LENGTH)
741 unsigned char hmac[SHA256_DIGEST_LENGTH]; in tls_parse_ctos_cookie()
760 if (rawlen < SHA256_DIGEST_LENGTH in tls_parse_ctos_cookie()
761 || !PACKET_forward(&raw, rawlen - SHA256_DIGEST_LENGTH)) { in tls_parse_ctos_cookie()
782 hmaclen = SHA256_DIGEST_LENGTH; in tls_parse_ctos_cookie()
785 rawlen - SHA256_DIGEST_LENGTH) <= 0 in tls_parse_ctos_cookie()
786 || hmaclen != SHA256_DIGEST_LENGTH) { in tls_parse_ctos_cookie()
797 if (CRYPTO_memcmp(hmac, mdin, SHA256_DIGEST_LENGTH) != 0) { in tls_parse_ctos_cookie()
857 || PACKET_remaining(&cookie) != SHA256_DIGEST_LENGTH) { in tls_parse_ctos_cookie()
1843 || !WPACKET_reserve_bytes(pkt, SHA256_DIGEST_LENGTH, &hmac)) { in tls_construct_stoc_cookie()
1848 hmaclen = SHA256_DIGEST_LENGTH; in tls_construct_stoc_cookie()
1851 if (!ossl_assert(totcookielen <= MAX_COOKIE_SIZE - SHA256_DIGEST_LENGTH)) { in tls_construct_stoc_cookie()