code wiki / _hdl_build / nx_dr_encrypt_gate.nx

nx_dr_encrypt_gate.nx

buildroot/runtime/_hdl_build/nx_dr_encrypt_gate.nx

3394 B54 linesdepth 6pulls 12 transitivereach 0 importersview sourcekind gate/prooftopic dr
docsdependenciesstructsconstsfunctions

dependencies 5 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_sha256.nx nx_chacha20_poly1305.nx nx_gate_verdict.nx nx_dr_encrypt_gate.nx

imports: nx_gate_gn.nxnx_syscalls.nxnx_sha256.nxnx_chacha20_poly1305.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gp sys_write sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_seed_allocated sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word blk_byte sha256_final blk_set_byte ↻ sha256_compress ↻ sha256_destroy sys_munmap sys_munmap ↻ nx_chacha20_poly1305_encry sys_mmap ↻ aead_derive_otk

structs

none

consts

none

functions

11func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
12func g_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
14func main(argc: i64, argv: *i64) -> i64