code wiki / (root) / nx_sha256_kat_test.nx

nx_sha256_kat_test.nx

buildroot/runtime/nx_sha256_kat_test.nx

753 B25 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic sha256
docsdependenciesstructsconstsfunctions

about

nx_sha256_kat_test.nx -- NIST FIPS 180-4 KAT: SHA-256("abc") Expected: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad Currently FAILING -- nx_sha256.nx produces wrong digest. See feedback-sha256-broken-blocks-tls-stack.md expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_sha256.nx nx_sha256_kat_test.nx

imports: nx_syscalls.nxnx_sha256.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 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 ↻

structs

none

consts

none

functions

11func main() -> i64