|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
RFC 8446 4.4.1: cumulative Transcript-Hash over handshake messages. More...
#include "crypto/symmetric/hash/hash/sha256.h"Go to the source code of this file.
Data Structures | |
| struct | quic_transcript |
| Cumulative Transcript-Hash state. More... | |
Functions | |
| void | quic_transcript_init (quic_transcript *t) |
| Start an empty transcript. | |
| void | quic_transcript_add (quic_transcript *t, const u8 *msg, usz len) |
| Fold a handshake message into the transcript. | |
| void | quic_transcript_hash (const quic_transcript *t, u8 out[QUIC_SHA256_DIGEST]) |
| Running hash at the current point; t is left unchanged. | |
RFC 8446 4.4.1: cumulative Transcript-Hash over handshake messages.
| void quic_transcript_add | ( | quic_transcript * | t, |
| const u8 * | msg, | ||
| usz | len ) |
Fold a handshake message into the transcript.
| t | transcript state |
| msg | the handshake message bytes |
| len | length of msg in bytes |
| void quic_transcript_hash | ( | const quic_transcript * | t, |
| u8 | out[QUIC_SHA256_DIGEST] ) |
Running hash at the current point; t is left unchanged.
| t | transcript state |
| out | receives the transcript hash |
| void quic_transcript_init | ( | quic_transcript * | t | ) |
Start an empty transcript.
| t | transcript state to initialize |