Commit c4b13a96 authored by Niels Möller's avatar Niels Möller

Comment fixes.

Rev: src/nettle/sha256.c:1.4
parent 13e90551
/* sha256.h
*
* The sha256 hash function.
*
* See http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
*/
/* nettle, low-level cryptographics library
......@@ -86,7 +88,7 @@ K[64] =
64-word expanded input array W, where the first 16 are copies of the input
data, and the remaining 64 are defined by
W[ t ] = s1(W[t-2] + W[t-7] + s0(W[i-15] + W[i-16]
W[ t ] = s1(W[t-2]) + W[t-7] + s0(W[i-15]) + W[i-16]
This implementation generates these values on the fly in a circular
buffer - thanks to Colin Plumb, colin@nyx10.cs.du.edu for this
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment