diff options
Diffstat (limited to 'test/helpers/predefined_dhparams.h')
-rw-r--r-- | test/helpers/predefined_dhparams.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/helpers/predefined_dhparams.h b/test/helpers/predefined_dhparams.h new file mode 100644 index 0000000000..29d33ce1eb --- /dev/null +++ b/test/helpers/predefined_dhparams.h @@ -0,0 +1,17 @@ +/* + * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the Apache License 2.0 (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +#include <openssl/evp.h> + +#ifndef OPENSSL_NO_DH +EVP_PKEY *get_dh512(OSSL_LIB_CTX *libctx); +EVP_PKEY *get_dhx512(OSSL_LIB_CTX *libctx); +EVP_PKEY *get_dh1024dsa(OSSL_LIB_CTX *libct); +EVP_PKEY *get_dh2048(OSSL_LIB_CTX *libctx); +#endif |