aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-08-31 00:59:11 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-08-31 01:09:55 +1000
commit2f09a2946403782c5b2418103deb4c964810ca1e (patch)
tree73eb27319eb503b82da72537c9465f63bbe4f296 /doc
parent2b86d68fd92a387dcbc3c9c62fa380c8d2a2e4aa (diff)
downloadluaossl-2f09a2946403782c5b2418103deb4c964810ca1e.tar.gz
luaossl-2f09a2946403782c5b2418103deb4c964810ca1e.tar.bz2
luaossl-2f09a2946403782c5b2418103deb4c964810ca1e.zip
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/luaossl.pdfbin300041 -> 300085 bytes
-rw-r--r--doc/luaossl.tex4
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf
index 81142cb..81112d9 100644
--- a/doc/luaossl.pdf
+++ b/doc/luaossl.pdf
Binary files 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 \\