code wiki / _hdl_build / _pv_wp_test.nx

_pv_wp_test.nx source

↩ module page · 11 lines · 345 B

1// AUTHORED BY THE NISHI BUILDER (PERMIL_VERDICT test) -- KATs computed from the table at emit time 2import "_pv_wp.nx" 3import "nx_syscalls.nx" 4func main() -> i64 { 5 if _pv_wp_verdict(14) == 2 { 6 if _pv_wp_verdict(0) == 0 { 7 if _pv_wp_verdict(7) == 1 { 8 if _pv_wp_verdict(14) == 2 { sys_exit(0) } } } } 9 sys_exit(1) 10 return 1 11}