mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-08 08:58:00 +00:00
primegen.py: add a --probabilistic option.
Not sure how I hadn't needed that before! Obviously, if I have a test program that can exercise all the prime generation systems, it should include _all_ of them.
This commit is contained in:
parent
d8fda3b6da
commit
e0f9c42b0f
@ -18,6 +18,8 @@ def main():
|
||||
dest='policy', const='provable_fast')
|
||||
parser.add_argument("--complex", action='store_const',
|
||||
dest='policy', const='provable_maurer_complex')
|
||||
parser.add_argument("--probabilistic", action='store_const',
|
||||
dest='policy', const='probabilistic')
|
||||
parser.add_argument("-q", "--quiet", action='store_true')
|
||||
parser.add_argument("-b", "--binary", action='store_const',
|
||||
dest='fmt', const='{:b}')
|
||||
|
Loading…
Reference in New Issue
Block a user