Module sp1_core::syscall::precompiles::sha256

source ·

Structs§

  • Implements the SHA compress operation which loops over 0 = [0, 63] and modifies A-H in each iteration. The inputs to the syscall are a pointer to the 64 word array W and a pointer to the 8 word array H.
  • Implements the SHA extension operation which loops over i = [16, 63] and modifies w[i] in each iteration. The only input to the syscall is the 4byte-aligned pointer to the w array.

Constants§

Functions§