code wiki / (root) / sha256.nx

sha256.nx source

↩ module page · 10 lines · 402 B

1// sha256.nx -- alias stub. 2// 3// nx_sha256.nx is the canonical SHA-256 (FIPS 180-4) implementation 4// (same sha256_init / sha256_update / sha256_final / sha256_digest 5// API). This file used to define duplicates which produced linker 6// duplicate-symbol errors when the daemon transitively imported 7// both variants. Per the syscalls.nx -> nx_syscalls.nx alias-stub 8// pattern. 9 10import "nx_sha256.nx"