nx_tls13_client_test.nx
buildroot/runtime/nx_tls13_client_test.nx
about
nx_tls13_client_test.nx -- in-memory end-to-end handshake dispatch.
Synthesises an entire server-handshake message stream
(EncryptedExtensions + Certificate + CertificateVerify + server
Finished) and walks it through the state machine. Uses the
shipped handshake-key orchestrator (RFC 8448 ยง3 inputs) to derive
real AEAD keys + finished_keys, so the server_Finished MAC is
computed correctly and the dispatcher must accept it.
Then runs:
- tampered SF MAC -> SF_BAD_MAC verdict
- wrong message type at each state -> BAD_MSG_TYPE verdict
- client_Finished structure + emit
- record-layer encrypt/decrypt round-trip on our emitted bytes
expect_exit: 0
license_tier: ORIGINAL
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_tls13.nxnx_tls13_record.nxnx_tls13_finished.nxnx_tls13_transcript.nxnx_tls13_handshake.nxnx_tls13_client.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
| 27 | func main() -> i64 |