/* * Copyright 2019-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 *//* * RSA low level APIs are deprecated for public use, but still ok for * internal use. */#include"internal/deprecated.h"#include"e_os.h" /* strcasecmp */#include<string.h>#include<openssl/crypto.h>#include<openssl/core_dispatch.h>#include<openssl/core_names.h>#include<openssl/err.h>#include<openssl/rsa.h>#include<openssl/params.h>#include<openssl/evp.h>#include"internal/cryptlib.h"#include"internal/nelem.h"#include"internal/sizes.h"#include"crypto/rsa.h"#include"prov/providercommon.h"#include"prov/providercommonerr.h"#include"prov/implementations.h"#include"prov/provider_ctx.h"#include"prov/der_rsa.h"#include"prov/securitycheck.h"#define RSA_DEFAULT_DIGEST_NAME OSSL_DIGEST_NAME_SHA1staticOSSL_FUNC_signature_newctx_fnrsa_newctx;staticOSSL_FUNC_signature_sign_init_fnrsa_sign_init;staticOSSL_FUNC_signature_verify_init_fnrsa_verify_init;staticOSSL_FUNC_signature_verify_recover_init_fnrsa_verify_recover_init;staticOSSL_FUNC_signature_sign_fnrsa_sign;staticOSSL_FUNC_signature_verify_fnrsa_verify;staticOSSL_FUNC_signature_verify_recover_fnrsa_verify_recover;staticOSSL_FUNC_signature_digest_sign_init_fnrsa_digest_sign_init;staticOSSL_FUNC_signature_digest_sign_update_fnrsa_digest_signverify_update;staticOSSL_FUNC_signature_digest_sign_final_fnrsa_digest_sign_final;staticOSSL_FUNC_signature_digest_verify_init_fnrsa_diges