Lines Matching refs:SHA256_DIGEST_LENGTH
22 * length bytes, SHA256_DIGEST_LENGTH bytes for the HMAC of the whole thing.
25 + SSL_COOKIE_LENGTH + SHA256_DIGEST_LENGTH)
697 unsigned char hmac[SHA256_DIGEST_LENGTH];
715 if (rawlen < SHA256_DIGEST_LENGTH
716 || !PACKET_forward(&raw, rawlen - SHA256_DIGEST_LENGTH)) {
735 hmaclen = SHA256_DIGEST_LENGTH;
739 rawlen - SHA256_DIGEST_LENGTH) <= 0
740 || hmaclen != SHA256_DIGEST_LENGTH) {
750 if (CRYPTO_memcmp(hmac, mdin, SHA256_DIGEST_LENGTH) != 0) {
804 || PACKET_remaining(&cookie) != SHA256_DIGEST_LENGTH) {
1788 || !WPACKET_reserve_bytes(pkt, SHA256_DIGEST_LENGTH, &hmac)) {
1792 hmaclen = SHA256_DIGEST_LENGTH;
1795 if (!ossl_assert(totcookielen <= MAX_COOKIE_SIZE - SHA256_DIGEST_LENGTH)) {