code wiki / (root) / nx_x509_verify_under_issuer_test.nx

nx_x509_verify_under_issuer_test.nx

buildroot/runtime/nx_x509_verify_under_issuer_test.nx

11065 B211 linesdepth 13pulls 65 transitivereach 0 importersview sourcekind gate/prooftopic x509
docsdependenciesstructsconstsfunctions

about

nx_x509_verify_under_issuer_test.nx -- KAT for the per-cert verify orchestrator. We synthesize cert + issuer-cert struct CONTENTS (not real DER) by manually setting X509Cert offset fields to point at hand-built byte buffers. This isolates the orchestrator's dispatch logic from x509_parse, which has its own coverage via leaf_check. Test vectors: ECDSA path: RFC 6979 §A.2.5 (NIST P-256 + SHA-256, msg="sample") Ed25519 path: RFC 8032 §7.1 TEST 1 (empty message) expect_exit: 0 license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_u256.nx nx_x509.nx nx_x509_sig_alg.nx nx_x509_pubkey_alg.nx nx_x509_verify_under_issuer.nx nx_x509_verify_under_issuer_te

imports: nx_syscalls.nxnx_u256.nxnx_x509.nxnx_x509_sig_alg.nxnx_x509_pubkey_alg.nxnx_x509_verify_under_issuer.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

23func main() -> i64