code wiki / (root) / nx_tls13_client_session_emit_finished_test.nx

nx_tls13_client_session_emit_finished_test.nx

buildroot/runtime/nx_tls13_client_session_emit_finished_test.nx

4155 B88 linesdepth 12pulls 43 transitivereach 0 importersview sourcekind gate/prooftopic tls13
docsdependenciesstructsconstsfunctions

about

nx_tls13_client_session_emit_finished_test.nx -- KAT for step 3c.4: emit + encrypt client Finished. Full happy-path of the underlying tls13_client_emit_finished + nx_tls13_record_encrypt round-trip is proven by the shipped nx_tls13_loopback_test. This KAT verifies the WRAPPER's contract surface: - state guards (must be at WAIT_CLIENT_FIN) - buf-overflow guard (need at least 58 bytes) - client_seq increments on every call - state advances to WAIT_APP_KEYS on success, preserved on state-guard failure - sealed verdict gate expect_exit: 0 license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_tls13.nx nx_tls13_client_session.nx nx_tls13_client_session_emit_finis nx_tls13_client_session_emit_f

imports: nx_syscalls.nxnx_tls13.nxnx_tls13_client_session.nxnx_tls13_client_session_emit_finished.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nx_tls13_client_session_ne sys_mmap ↻ x25519_keypair_public sys_mmap ↻ x25519_base_point x25519 nx_scratch_save nx_scratch_init sys_mmap ↻ nx_scratch nx_scratch_init ↻ nx_scratch_oom sys_write sys_exit sys_mmap ↻ fe_alloc nx_scratch ↻ fe_from_bytes fe_one fe_zero fe_zero ↻ fe_copy x25519_ladder_step fe_cswap nx_scratch_save ↻ fe_alloc ↻ fe_add fe_sq fe_mul fe_sub fe_mul ↻ fe_mul_a24 nx_scratch_save ↻ fe_alloc ↻ fe_mul ↻ nx_scratch_restore nx_scratch_restore ↻ fe_cswap ↻

structs

none

consts

none

functions

23func main() -> i64