Add DSA keygen to provider
authorShane Lontis <shane.lontis@oracle.com>
Wed, 15 Apr 2020 11:02:52 +0000 (21:02 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Wed, 15 Apr 2020 11:02:52 +0000 (21:02 +1000)
commitb03ec3b5d62ee26bf8437556b9040d4141d5bdd8
tree1f27a892757c24efab70d2fb8f93110f71c0fbb3
parent09b3654096ed344edd78cf156cb3ddcdbced6f9a
Add DSA keygen to provider

Moved some shared FFC code into the FFC files.
Added extra paramgen parameters for seed, gindex.
Fixed bug in ossl_prov util to print bignums.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11303)
39 files changed:
crypto/dh/dh_ameth.c
crypto/dh/dh_group_params.c
crypto/dh/dh_key.c
crypto/dsa/build.info
crypto/dsa/dsa_ameth.c
crypto/dsa/dsa_backend.c
crypto/dsa/dsa_gen.c
crypto/dsa/dsa_key.c
crypto/dsa/dsa_lib.c
crypto/evp/p_lib.c
crypto/evp/pmeth_lib.c
crypto/ffc/ffc_backend.c
crypto/ffc/ffc_key_generate.c
crypto/ffc/ffc_params.c
crypto/ffc/ffc_params_generate.c
doc/man1/openssl-genpkey.pod.in
doc/man3/EVP_PKEY_CTX_ctrl.pod
doc/man7/provider-keymgmt.pod
include/crypto/dsa.h
include/internal/ffc.h
include/openssl/core_names.h
include/openssl/dsa.h
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/serializers/build.info
providers/implementations/serializers/serializer_common.c
providers/implementations/serializers/serializer_dsa.c
providers/implementations/serializers/serializer_ffc_params.c [new file with mode: 0644]
providers/implementations/serializers/serializer_local.h
test/dsatest.c
test/evp_pkey_provided_test.c
test/recipes/15-test_gendsa.t [new file with mode: 0644]
test/recipes/30-test_evp_pkey_provided/DSA.priv.der [new file with mode: 0644]
test/recipes/30-test_evp_pkey_provided/DSA.priv.pem [new file with mode: 0644]
test/recipes/30-test_evp_pkey_provided/DSA.priv.txt [new file with mode: 0644]
test/recipes/30-test_evp_pkey_provided/DSA.pub.der [new file with mode: 0644]
test/recipes/30-test_evp_pkey_provided/DSA.pub.pem [new file with mode: 0644]
test/recipes/30-test_evp_pkey_provided/DSA.pub.txt [new file with mode: 0644]
util/libcrypto.num