code wiki / (root) / _sha512_kernel_fast.nx

_sha512_kernel_fast.nx

buildroot/runtime/_sha512_kernel_fast.nx

820 B25 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic sha512
docsdependenciesstructsconstsfunctions

about

_sha512_kernel_fast.nx -- SHA-512 nonlinear-function rotation pattern using FAST nx_bits_rotr64 (rorq intrinsic). Sigma0(x) = rotr(x,28) ^ rotr(x,34) ^ rotr(x,39) Sigma1(x) = rotr(x,14) ^ rotr(x,18) ^ rotr(x,41) Each iteration computes Sigma0(x) + Sigma1(x) = 6 rotates + 4 xor + 1 add.

dependencies 2 imports · 0 importers

syscalls.nx nx_bits.nx _sha512_kernel_fast.nx

imports: syscalls.nxnx_bits.nx

imported by: nobody (leaf or entry point)

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

main nx_bits_rotr64

structs

none

consts

none

functions

12func main() -> i64
calls 1: nx_bits_rotr64