code wiki / (root) / nx_x509_trust_store_load_test.nx

nx_x509_trust_store_load_test.nx

buildroot/runtime/nx_x509_trust_store_load_test.nx

8177 B195 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic x509
docsdependenciesstructsconstsfunctions

about

nx_x509_trust_store_load_test.nx -- KAT for the bulk trust-store loader. Builds a 2-cert bundle (each cert is a minimal valid v1 DER cert with empty issuer/subject Names + Ed25519 alg-ids) and verifies the loader walks the format + parses each + adds to the store. expect_exit: 0 license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_x509.nx nx_x509_trust_store.nx nx_x509_trust_store_load.nx nx_x509_trust_store_load_test.

imports: nx_syscalls.nxnx_x509.nxnx_x509_trust_store.nxnx_x509_trust_store_load.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 trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_tag asn1_read_length asn1_read_length ↻ x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add trust_store_count build_min_v1_cert emit_ed25519_algid emit_utctime nx_x509_trust_store_load_v

structs

none

consts

none

functions

16func emit_ed25519_algid(buf: *u8, off: i64) -> i64
called by 1: build_min_v1_cert
28func emit_utctime(buf: *u8, off: i64,
called by 1: build_min_v1_cert
62func build_min_v1_cert(buf: *u8, off: i64, serial_byte: i64) -> i64
called by 1: main calls 2: emit_ed25519_algidemit_utctime
125func main() -> i64