Permalink
Browse files

Merge pull request #97 from amiller/patch-1

Update sha256_components.tcc
  • Loading branch information...
madars committed Jan 4, 2018
2 parents dc78fda + bf2146b commit 70309b52be9b10463e11b21ecf44414a1f42c817
Showing with 1 addition and 1 deletion.
  1. +1 −1 libsnark/gadgetlib1/gadgets/hashes/sha256/sha256_components.tcc
@@ -88,7 +88,7 @@ sha256_message_schedule_gadget<FieldT>::sha256_message_schedule_gadget(protoboar
compute_sigma1[i].reset(new small_sigma_gadget<FieldT>(pb, W_bits[i-2], sigma1[i], 17, 19, 10, FMT(this->annotation_prefix, " compute_sigma1_%zu", i)));
/* unreduced_W = sigma0(W_{i-15}) + sigma1(W_{i-2}) + W_{i-7} + W_{i-16} before modulo 2^32 */
unreduced_W[i].allocate(pb, FMT(this->annotation_prefix, "unreduced_W_%zu", i));
unreduced_W[i].allocate(pb, FMT(this->annotation_prefix, " unreduced_W_%zu", i));
/* allocate the bit representation of packed_W[i] */
W_bits[i].allocate(pb, 32, FMT(this->annotation_prefix, " W_bits_%zu", i));

0 comments on commit 70309b5

Please sign in to comment.