Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/pyminisketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def rec_split(poly, randv):
# Try consecutive randomization factors randv, until one is found that factors poly.
while True:
# Compute the trace of (randv*x) mod poly. This is a polynomial that maps half of the
# domain to 0, and the other half to 1. Which half that is is controlled by randv.
# domain to 0, and the other half to 1. Which half that is, is controlled by randv.
# By taking it modulo poly, we only add a multiple of poly. Thus the result has at least
# the shared roots of the trace polynomial and poly still, but may have others.
trace = poly_tracemod(poly, randv, gf)
Expand Down