aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-06-05 17:55:03 -0400
committerJack Lloyd <[email protected]>2018-06-05 17:55:03 -0400
commitc0cdcb3164d379851a995cd2b3d51944888d90df (patch)
treeaff2479b03bf6aab292450d1b47847ff34b22b7a /src/lib/pk_pad
parentb67c70c2e307049512a1e153e555a16314923e90 (diff)
Fix a bug in Barrett reduction
-x*n % n would reduce to n instead of zero. Also some small optimizations and cleanups.
Diffstat (limited to 'src/lib/pk_pad')
0 files changed, 0 insertions, 0 deletions