Add FFC param/key validation
authorShane Lontis <shane.lontis@oracle.com>
Sun, 16 Feb 2020 03:03:46 +0000 (13:03 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Sun, 16 Feb 2020 03:03:46 +0000 (13:03 +1000)
commit8083fd3a183d4c881d6b15727cbc6cb7faeb3280
tree82e998aa30cc9dc610b4f262df1f7ef73b23edad
parent98ad3fe82bd3e7e7f929dd1fa4ef3915426002c0
Add FFC param/key validation

Embed libctx in dsa and dh objects and cleanup internal methods to not pass libctx (This makes it consistent with the rsa changes)

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10910)
28 files changed:
crypto/dh/dh_check.c
crypto/dh/dh_gen.c
crypto/dh/dh_group_params.c
crypto/dh/dh_key.c
crypto/dh/dh_lib.c
crypto/dh/dh_local.h
crypto/dsa/dsa_check.c [new file with mode: 0644]
crypto/dsa/dsa_gen.c
crypto/dsa/dsa_key.c
crypto/dsa/dsa_lib.c
crypto/dsa/dsa_local.h
crypto/dsa/dsa_ossl.c
crypto/dsa/dsa_sign.c
crypto/ffc/build.info
crypto/ffc/ffc_key_generate.c
crypto/ffc/ffc_key_validate.c [new file with mode: 0644]
crypto/ffc/ffc_params_generate.c
crypto/ffc/ffc_params_validate.c [new file with mode: 0644]
include/crypto/dh.h
include/crypto/dsa.h
include/internal/ffc.h
providers/implementations/exchange/dh_exch.c
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/signature/dsa.c
test/build.info
test/ffc_internal_test.c [new file with mode: 0644]
test/recipes/03-test_internal_ffc.t [new file with mode: 0644]