Skip to content

Commit

Permalink
Prio3.query_rand -> Prio3.query_rands
Browse files Browse the repository at this point in the history
  • Loading branch information
albertpl committed Oct 6, 2023
1 parent efeab27 commit 025c1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poc/vdaf_prio3.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def prep_init(Prio3, verify_key, agg_id, _agg_param,
joint_rands = Prio3.joint_rands(k_corrected_joint_rand)

# Query the measurement and proof share.
query_rands = Prio3.query_rand(verify_key, nonce)
query_rands = Prio3.query_rands(verify_key, nonce)
verifiers_share = []
for _ in range(Prio3.PROOFS):
proof_share, proofs_share = front(
Expand Down Expand Up @@ -321,7 +321,7 @@ def prove_rands(Prio3, k_prove):
)

@classmethod
def query_rand(Prio3, verify_key, nonce):
def query_rands(Prio3, verify_key, nonce):
return Prio3.Xof.expand_into_vec(
Prio3.Flp.Field,
verify_key,
Expand Down

0 comments on commit 025c1c9

Please sign in to comment.