simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Aug 28 10:38:29 BST 2021
TL;DR:
e0f9c42b primegen.py: add a --probabilistic option.
5bb869dd Add references for the Diffie-Hellman fixed primes.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-08-28 10:38:29
commit e0f9c42b0fc2ccfcfa99e0024549c47d4b5de96e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e0f9c42b0fc2ccfcfa99e0024549c47d4b5de96e;hp=d8fda3b6da78c5a62c77fe5d75b9a033ef94e882
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Aug 28 10:17:16 2021 +0100
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.
test/primegen.py | 2 ++
1 file changed, 2 insertions(+)
commit 5bb869dd229c111ff6c0b3aecc70e4c162e60f9f
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=5bb869dd229c111ff6c0b3aecc70e4c162e60f9f;hp=e0f9c42b0fc2ccfcfa99e0024549c47d4b5de96e
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Aug 28 10:25:09 2021 +0100
Add references for the Diffie-Hellman fixed primes.
I ran across their defining RFCs recently and noticed that each one
provides an explicit mathematical expression for the prime (since each
one is derived from the expansion of pi, with framing FFs and a
correction term to make it actually prime).
Those expressions can be re-evaluated trivially by spigot, so it seems
reasonable to add those spigot commands in comments. This also means
the comments contain citations for these primes in actual standards,
including both the hex digits and the mathematical expressions.
crypto/diffie-hellman.c | 6 ++++++
1 file changed, 6 insertions(+)
More information about the tartarus-commits
mailing list