code wiki / _hdl_build / nx_pwfile.nx

nx_pwfile.nx

buildroot/runtime/_hdl_build/nx_pwfile.nx

1187 B23 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_pwfile.nx -- generic: write sha256(password) hex (64 chars, mode 0600) to <outpath>. Used to set CMS role credentials (admin_pw.sha256 = lawyer/staff, client_pw.sha256 = client). Only the hash is stored (vault doctrine). Usage: nx_pwfile.sov.elf <outpath> <password>. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_sha256.nx nx_syscalls.nx nx_pwfile.nx

imports: nx_sha256.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_write sys_exit sys_mmap sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ 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 ↻ pf_len sys_openat_wr sys_close

structs

none

consts

none

functions

6func pf_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main
7func main(argc: i64, argv: *i64) -> i64