code wiki / (root) / nx_asn1_emit_test.nx

nx_asn1_emit_test.nx

buildroot/runtime/nx_asn1_emit_test.nx

5785 B172 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic asn1
docsdependenciesstructsconstsfunctions

about

nx_asn1_emit_test.nx -- smoke for ASN.1 DER encoder helpers. Exercises length-encoding (every size class), TLV emission, common types (INTEGER, NULL, OCTET STRING, BIT STRING, UTF8String), SEQUENCE + SET headers, OID emission, context-specific tags. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_asn1_emit.nx nx_asn1_emit_test.nx

imports: nx_syscalls_x86_64.nxnx_asn1_emit.nx

imported by: nobody (leaf or entry point)

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

main nxae_verdict_is_valid nxae_put_length nxae_put nxae_length_size nxae_put_int_u8 nxae_put ↻ nxae_put_null nxae_put ↻ nxae_put_octet_string nxae_put_tlv nxae_put ↻ nxae_put_length ↻ nxae_put_bytes nxae_put_bit_string nxae_put ↻ nxae_put_length ↻ nxae_put_bytes ↻ nxae_put_utf8 nxae_put_tlv ↻ nxae_put_sequence_header nxae_put ↻ nxae_put_length ↻ nxae_put_set_header nxae_put ↻ nxae_put_length ↻ nxae_put_oid nxae_put_tlv ↻ nxae_put_context_explicit nxae_put_tlv ↻ nxae_put_bytes ↻

structs

none

consts

none

functions

14func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
23func main() -> i64