code wiki / _hdl_build / nx_quic_keys_test.nx

nx_quic_keys_test.nx

buildroot/runtime/_hdl_build/nx_quic_keys_test.nx

3132 B51 linesdepth 8pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic quic
docsdependenciesstructsconstsfunctions

about

nx_quic_keys_gate.nx -- RUNG 5a gate: QUIC Initial key schedule byte-exact vs RFC 9001 Appendix A.1 (DCID 0x8394c8f03e515708 -> initial/client/server secrets, key, iv, hp). Native, sovereign, on our own HKDF-SHA256. GREEN = our key schedule is RFC-9001-correct to the byte. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_quic_keys.nx nx_g_pn_lite_lib.nx nx_g_check_lib.nx nx_g_puts_lib.nx nx_quic_keys_test.nx

imports: nx_quic_keys.nxnx_g_pn_lite_lib.nxnx_g_check_lib.nxnx_g_puts_lib.nx

imported by: nobody (leaf or entry point)

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

main g_puts sys_write set_hex hexnib quic_initial_extract quic_initial_salt hkdf_extract sys_mmap hmac_sha256 sys_mmap ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_final blk_set_byte ↻ sha256_compress ↻ sha256_init ↻ sha256_update ↻ sha256_final ↻ g_check g_puts ↻ eq quic_initial_secrets quic_initial_salt ↻ hkdf_extract ↻ hkdf_expand_label hkdf_expand sys_mmap ↻ hmac_sha256 ↻ quic_derive_keys hkdf_expand_label ↻ g_pn sys_mmap ↻

structs

none

consts

none

functions

9func hexnib(c: i64) -> i64
called by 1: set_hex
14func set_hex(out: *u8, hex: *u8, nbytes: i64) -> i64
called by 1: main calls 1: hexnib
19func eq(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if a[i]!=b[i] { return 0 } i=i+1 } return 1 }
called by 1: main
21func main() -> i64