Permalink
Browse files

Update sha256_components.tcc

Fix annotation for consistency
  • Loading branch information...
amiller committed Jan 4, 2018
1 parent dc78fda commit bf2146bf5818ff04da21752de7ffe110dc65289c
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 bf2146b

Please sign in to comment.