Document and add macros for additional DSA options
authorDavid Benjamin <davidben@google.com>
Fri, 25 Jan 2019 19:56:45 +0000 (13:56 -0600)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 15 Oct 2019 14:04:46 +0000 (16:04 +0200)
commit44301079c8ad3c150cd4d11e4781bc1b144ee9ed
treee48b3413eb0bf79990cfb68c8adffb4df9b59e5b
parent0388d212af3e3798724cff3b2a5036f17faf41fb
Document and add macros for additional DSA options

EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS and EVP_PKEY_CTRL_DSA_PARAMGEN_MD are only
exposed from EVP_PKEY_CTX_ctrl, which means callers must write more error-prone
code (see also issue #1319). Add the missing wrapper macros and document them.

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit a97faad76a1be22eadd6c1a39972ad5e095d9e80)

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10094)
crypto/dsa/dsa_pmeth.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
include/openssl/dsa.h
util/private.num