Skip to content

Commit

Permalink
Update excerpts
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored and cjpatton committed Nov 2, 2024
1 parent 3930994 commit f8974ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions draft-irtf-cfrg-vdaf.md
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,7 @@ def prep_init(
joint_rands = self.joint_rands(
ctx, corrected_joint_rand_seed)

# Query the measurement and proof share.
# Query the measurement and proof(s) share(s).
query_rands = self.query_rands(verify_key, ctx, nonce)
verifiers_share = []
for _ in range(self.PROOFS):
Expand Down Expand Up @@ -5090,7 +5090,7 @@ Field `packed_control_bits` is encoded with the following function:
~~~ python
packed_control_buf = [int(0)] * packed_len
for i, bit in enumerate(control_bits):
packed_control_buf[i // 8] |= bit.int() << (i % 8)
packed_control_buf[i // 8] |= bit << (i % 8)
packed_control_bits = bytes(packed_control_buf)
~~~

Expand Down Expand Up @@ -6204,7 +6204,8 @@ class QueryGadget(Gadget[F]):
wrapped = cls(valid.field,
wire_seeds,
gadget_poly,
g, g_calls)
g,
g_calls)
wrapped_gadgets.append(wrapped)
wrapped_valid = deepcopy(valid)
wrapped_valid.GADGETS = wrapped_gadgets
Expand Down

0 comments on commit f8974ce

Please sign in to comment.