/* * Copyright 2020-2022 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<string.h>#include<openssl/core_dispatch.h>#include<openssl/evp.h>#include<openssl/pem.h>#include<openssl/rsa.h>#include<openssl/x509.h>#include<openssl/core_names.h>#include<openssl/params.h>#include<openssl/param_build.h>#include<openssl/encoder.h>#include<openssl/decoder.h>#include"internal/cryptlib.h" /* ossl_assert */#include"crypto/pem.h" /* For PVK and "blob" PEM headers */#include"crypto/evp.h" /* For evp_pkey_is_provided() */#include"helpers/predefined_dhparams.h"#include"testutil.h"#ifdef STATIC_LEGACY