2020-10-04 22:34:31 +08:00
|
|
|
/*
|
2023-09-07 16:59:15 +08:00
|
|
|
* Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved.
|
2020-10-04 22:34:31 +08:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* When removal is simulated, we still need the type internally */
|
|
|
|
|
2021-03-30 00:26:10 +08:00
|
|
|
#ifndef OSSL_CRYPTO_TYPES_H
|
|
|
|
# define OSSL_CRYPTO_TYPES_H
|
|
|
|
# pragma once
|
|
|
|
|
|
|
|
# ifdef OPENSSL_NO_DEPRECATED_3_0
|
2020-10-04 22:34:31 +08:00
|
|
|
typedef struct rsa_st RSA;
|
|
|
|
typedef struct rsa_meth_st RSA_METHOD;
|
2021-03-30 00:26:10 +08:00
|
|
|
# ifndef OPENSSL_NO_EC
|
2020-10-15 11:41:59 +08:00
|
|
|
typedef struct ec_key_st EC_KEY;
|
|
|
|
typedef struct ec_key_method_st EC_KEY_METHOD;
|
2021-03-30 00:26:10 +08:00
|
|
|
# endif
|
2023-02-03 21:57:04 +08:00
|
|
|
# ifndef OPENSSL_NO_DSA
|
|
|
|
typedef struct dsa_st DSA;
|
|
|
|
# endif
|
2021-03-18 17:41:53 +08:00
|
|
|
# endif
|
|
|
|
|
2021-03-30 00:26:10 +08:00
|
|
|
# ifndef OPENSSL_NO_EC
|
2021-03-18 17:41:53 +08:00
|
|
|
typedef struct ecx_key_st ECX_KEY;
|
2021-03-30 00:26:10 +08:00
|
|
|
# endif
|
|
|
|
|
2020-10-04 22:34:31 +08:00
|
|
|
#endif
|