]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/crypto/types.h
PROV: Add type specific PKCS#8 decoding to the DER->key decoders
[thirdparty/openssl.git] / include / crypto / types.h
1 /*
2 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10 /* When removal is simulated, we still need the type internally */
11
12 #ifdef OPENSSL_NO_DEPRECATED_3_0
13 typedef struct rsa_st RSA;
14 typedef struct rsa_meth_st RSA_METHOD;
15 # ifndef OPENSSL_NO_EC
16 typedef struct ec_key_st EC_KEY;
17 typedef struct ec_key_method_st EC_KEY_METHOD;
18 # endif
19 #endif
20
21 #ifndef OPENSSL_NO_EC
22 typedef struct ecx_key_st ECX_KEY;
23 #endif