code wiki / tls13

topic: tls13

108 modules sharing the tls13 name family (derived from the tree's prefix discipline).

The sovereign TLS 1.3 stack — the reason no third-party web server or OpenSSL exists anywhere in this tree. Handshake, record fragmentation (RFC 8446 16 KiB records), forward secrecy, and certificate validation against the Mozilla trust store (nx_x509_trust_store, nx_trust_store_load_from_certdata) are all first-byte-up NishiLang. Every public site, the management API, and every HTTPS-speaking organ in this wiki terminates TLS through this family.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_tls13.nxTLS 1.3 (RFC 8446) record-layer constants + framing.2156
nx_tls13_aead1302_gate.nxproves the 0x1302 (AES-256-GCM-SHA384) AEAD dispatch is REAL.632
nx_tls13_aead_record_tcp_test.nxsend + recv ONE AEAD-protected1508
nx_tls13_alpn_test.nxsmoke for the ALPN (RFC 7301) extension681
nx_tls13_app_send_fd.nxchunked TLS 1.3 application-data send to an fd.832
nx_tls13_app_send_fd_gate.nxENGINEER gate for the chunked TLS app-data1334
nx_tls13_auth.nxTLS 1.3 auth-related handshake message parsers.2746
nx_tls13_auth_test.nxKAT for EncryptedExtensions + Certificate2381
nx_tls13_cert_cache_gate.nxproves the additive cert-validation CACHE in nx_tls13_client_validate_certificate:965
nx_tls13_ch_adversarial_test.nxPhase A2 of S-class hardening.1453
nx_tls13_ch_compat_test.nxB2-HTTPBIN-CH gate row (browser arc).3999
nx_tls13_chrome_hello.nxemit a ClientHello whose JA3 fingerprint MATCHES a real Chrome (~v120), so1074
nx_tls13_chrome_hello_gate.nxSOVEREIGN referee: emit our Chrome-JA3 ClientHello, extract its JA3 fingerprint1238
nx_tls13_chrome_session.nxR2f-A LIVE wiring: a TLS-1.3 client session that sends the Chrome-JA3 ClientHello1312
nx_tls13_client.nxTLS 1.3 client state machine (Gap L sub-2).2644
nx_tls13_client_dispatch_with_validation.nxTLS 1.3 client1244
nx_tls13_client_dispatch_with_validation_test.nxKAT for the1211
nx_tls13_client_h2run.nxTUTOR-BOOTSTRAP SCAFFOLD (Claude, authored under1745
nx_tls13_client_session.nxTLS 1.3 client session state +2734
nx_tls13_client_session_derive_app.nxstep 3c.5 of the1333
nx_tls13_client_session_derive_app_test.nxKAT for step 3c.5:901
nx_tls13_client_session_emit_finished.nxstep 3c.4 of the1583
nx_tls13_client_session_emit_finished_test.nxKAT for881
nx_tls13_client_session_recv_hs.nxstep 3c.3 of the2664
nx_tls13_client_session_recv_hs_test.nxKAT for step 3c.3:1332
nx_tls13_client_session_recv_sh.nxstep 3c.2 of the2703
nx_tls13_client_session_recv_sh_test.nxKAT for step 3c.2:2172
nx_tls13_client_session_run.nxstep 3c.6b of the3086
nx_tls13_client_session_run_test.nxKAT for the top-level741
nx_tls13_client_session_test.nxKAT for the TLS 1.3 client931
nx_tls13_client_test.nxin-memory end-to-end handshake dispatch.2311
nx_tls13_client_validate_certificate.nxthe FORMAL bridge1664
nx_tls13_client_validate_certificate_test.nxKAT for the852
nx_tls13_client_verify_cv.nxCLOSE THE TLS 1.3 CLIENT AUTH BYPASS.1828
nx_tls13_clientauth_ecdsa.nxTLS 1.3 server-side CLIENT authentication, ECDSA-P256 path (RFC 8446 §4.4.3).1437
nx_tls13_ed25519_test_daemon.nxV-HOST-2+1-4b runtime roundtrip daemon.1281
nx_tls13_emit_certificate_request.nxTLS 1.3 CertificateRequest (RFC 8446 §4.3.2) emit + parse.1937
nx_tls13_ext.nxTLS 1.3 extension emitters + ServerHello parsers.48514
nx_tls13_ext_test.nxbyte-exact KAT for TLS 1.3 extension1671
nx_tls13_finished.nxTLS 1.3 Finished MAC (RFC 8446 §4.4.4).1163
nx_tls13_finished_test.nxinternal KAT for Finished MAC.1091
nx_tls13_full_tcp_test.nxfull TLS 1.3 handshake over real TCP47929
nx_tls13_handshake.nxTLS 1.3 handshake orchestrator (Gap L sub-1).2123
nx_tls13_handshake_io.nxfull TLS 1.3 handshake over real TCP.2025
nx_tls13_handshake_tcp_test.nxfull TLS 1.3 client+server3664
nx_tls13_handshake_test.nxRFC 8448 §3 end-to-end orchestrator KAT.1571
nx_tls13_hello.nxTLS 1.3 ClientHello + ServerHello (RFC 84465037
nx_tls13_hello_test.nxstructural + iterator KAT for the2041
nx_tls13_hrr.nxHelloRetryRequest detection (RFC 8446 §4.1.4).1082
nx_tls13_hrr_test.nxKAT for HelloRetryRequest detection.751
nx_tls13_io.nxTLS 1.3 record I/O over TCP (Linux x86_64).1905
nx_tls13_kdf.nxTLS 1.3 HKDF-Expand-Label + Derive-Secret1724
nx_tls13_kdf_test.nxRFC 8446 §7.1 + RFC 8448 §3 KAT for the1191
nx_tls13_loopback_test.nxSOVEREIGN end-to-end handshake proof.3191
nx_tls13_mtls_finished.nxR7: the mTLS-aware client Finished handler (the dual-snapshot key schedule).1969
nx_tls13_mtls_loopback_test.nxSOVEREIGN end-to-end MUTUAL-AUTH proof: the capstone of the no-cookie carrier.1667
nx_tls13_mtls_recv_cert.nxR7: receive the client's Certificate record, EMPTY-cert aware.1377
nx_tls13_p256_loopback_test.nxserver side of rung1272
nx_tls13_read_record_from_fd.nxread ONE TLS record from a1284
nx_tls13_read_record_from_fd_loopback_test.nxREAL happy-1254
nx_tls13_read_record_from_fd_test.nxKAT for the TLS record491
nx_tls13_record.nxTLS 1.3 record-layer protection (RFC 8446 §5.2).3809
nx_tls13_record_test.nxinternal-consistency KAT for the1921
nx_tls13_recv_hs_diff_test.nxB1 differential: identical setup to1372
nx_tls13_recv_hs_probe_test.nxB1 instrument (pm_plan arc=BROWSER2723
nx_tls13_schedule.nxTLS 1.3 key schedule cascade (RFC 8446 §7.1).2368
nx_tls13_schedule_test.nxRFC 8448 §3 cascade KAT for TLS 1.31471
nx_tls13_server.nxTLS 1.3 server-side handshake (sovereign loopback).2685
nx_tls13_server_clientauth.nxTLS 1.3 server-side CLIENT authentication: verify a presented1747
nx_tls13_server_full_handshake_test.nxend-to-end integration2252
nx_tls13_server_recv_client_cert.nxR7 rung 7b: the server receives the client's Certificate record.1715
nx_tls13_server_recv_client_cv.nxR7 rung 7c: receive + verify the client's CertificateVerify.2129
nx_tls13_server_session.nxTLS 1.3 SERVER session state + state2713
nx_tls13_server_session_app_data.nxapplication-data layer for1502
nx_tls13_server_session_app_data_test.nxround-trip the app2032
nx_tls13_server_session_derive_hs.nx4th stone of the TLS 1.31441
nx_tls13_server_session_derive_hs_test.nxverify the server's881
nx_tls13_server_session_derive_traffic.nx5th TLS server stone.1131
nx_tls13_server_session_derive_traffic_test.nxverify traffic1093
nx_tls13_server_session_emit_certificate.nxstone 6.5 (final2782
nx_tls13_server_session_emit_certificate_test.nxSmoke for emit_certificate: wraps caller-supplied DER bytes as1171
nx_tls13_server_session_emit_certreq.nxR7 rung 7a: emit CertificateRequest as a real encrypted server1474
nx_tls13_server_session_emit_cv.nxstone 7.5 of TLS server arc.3474
nx_tls13_server_session_emit_cv_test.nxverify CertificateVerify1131
nx_tls13_server_session_emit_ee.nx6th TLS server stone.1091
nx_tls13_server_session_emit_ee_alpn.nxTUTOR-BOOTSTRAP SCAFFOLD (Claude,1381
nx_tls13_server_session_emit_ee_test.nxverify emit_ee921
nx_tls13_server_session_emit_hrr.nxserver-side HelloRetryRequest1613
nx_tls13_server_session_emit_sf.nx7th TLS server stone.1611
nx_tls13_server_session_emit_sf_test.nxverify server Finished931
nx_tls13_server_session_emit_sh.nxserver-side ServerHello2636
nx_tls13_server_session_emit_sh_test.nxverify server emits a1301
nx_tls13_server_session_recv_cf.nx8th (final) TLS server stone.2232
nx_tls13_server_session_recv_cf_test.nxclose the loopback-class1882
nx_tls13_server_session_recv_ch.nxserver-side ClientHello2955
nx_tls13_server_session_recv_ch_test.nxverify the server-side961
nx_tls13_server_session_run.nxtop-level TLS 1.3 server-side3536
nx_tls13_server_session_run_h2.nxTUTOR-BOOTSTRAP SCAFFOLD (Claude, authored2955
nx_tls13_server_session_run_mtls.nxR7: the live-terminator mTLS handshake run loop (Ed25519 server2075
nx_tls13_server_session_test.nxverify server session skeleton1021
nx_tls13_sh_probe_test.nxServerHello DIAGNOSTIC PROBE.2524
nx_tls13_sig_algs_audit.nxV-HOST-2+1-3 Path B: ClientHello1933
nx_tls13_transcript.nxTLS 1.3 transcript hash (RFC 8446 §4.4.1).2186
nx_tls13_transcript384_gate.nxproves the dual-hash transcript (R9, 2026-08-05).952
nx_tls13_transcript_snapkat_tamper_test.nxNEGATIVE CONTROL for the856
nx_tls13_transcript_snapkat_test.nxDURABLE anti-regression KAT for973
nx_tls13_transcript_test.nxKAT + internal consistency for the1521
tls13.nxTLS 1.3 (RFC 8446) record-layer constants + framing. 1887