nx_tls13_transcript_test.nx
buildroot/runtime/nx_tls13_transcript_test.nx
about
nx_tls13_transcript_test.nx -- KAT + internal consistency for the
TLS 1.3 transcript hash.
Verification:
A. Empty transcript snapshot == SHA-256("") well-known constant
(e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855).
B. 3-message transcript snapshot == sha256_digest of the
concatenated bytes (round-trip vs the underlying primitive).
C. Snapshot is non-destructive: snapshot, update with more data,
snapshot again -- the two snapshots differ.
D. HRR replace produces a transcript whose snapshot equals
SHA-256(synthetic_record), where synthetic_record =
0xfe || 0x00 0x00 0x20 || SHA-256(CH1).
expect_exit: 0
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_sha256.nxnx_tls13_transcript.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 26 | func main() -> i64 |