From 2f09a2946403782c5b2418103deb4c964810ca1e Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 31 Aug 2017 00:59:11 +1000 Subject: Use 'generator' parameter for picking generator for DH keys (rather than 'exp'). Change default value to 2. 2 is the default generator for openssl; the number is a mostly arbitrary choice, and smaller values are faster. --- doc/luaossl.pdf | Bin 300041 -> 300085 bytes doc/luaossl.tex | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf index 81142cb..81112d9 100644 Binary files a/doc/luaossl.pdf and b/doc/luaossl.pdf differ diff --git a/doc/luaossl.tex b/doc/luaossl.tex index 7bb85df..5ac7761 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex @@ -284,7 +284,9 @@ field & type:default & description\\\hline .bits & number:1024 & private key size \\ -.exp & number:65537 & RSA or Diffie-Hellman exponent \\ +.exp & number:65537 & RSA exponent \\ + +.generator & number:2 & Diffie-Hellman generator \\ .dhparam & string & PEM encoded string with precomputed DH parameters \\ -- cgit v1.2.3-59-g8ed1b