code wiki / bin / nx_p256_comb_gen.nx

nx_p256_comb_gen.nx

buildroot/runtime/bin/nx_p256_comb_gen.nx

803 B23 linesdepth 9pulls 10 transitivereach 0 importersview sourcekind tooltopic p256
docsdependenciesstructsconstsfunctions

about

nx_p256_comb_gen.nx -- build the P-256 fixed-base comb table once and write it to NX_P256_COMB_PATH. Deterministic (multiples of G), so it is generated a single time and read thereafter by the ECDSA signer.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_p256_comb.nx nx_p256_comb_gen.nx

imports: nx_syscalls.nxnx_p256_comb.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 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 ↻ p256_comb_build nx_scratch_save nx_scratch_init sys_mmap ↻ p256_point_alloc nx_scratch nx_scratch_init ↻ nx_scratch_oom sys_write ↻ sys_exit ↻ sys_mmap ↻ u256_alloc nx_scratch ↻ p256_field_one u256_one u256_zero p256_field_zero u256_zero ↻ p256_point_load_g p256_field_one ↻ p256_point_copy u256_copy p256_comb_store p256_point_add

structs

none

consts

none

functions

7func main() -> i64