summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ossl_typ.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ossl_typ.h')
-rw-r--r--src/lib/libcrypto/ossl_typ.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h
index 285fd0b1d9..345fb1dc4d 100644
--- a/src/lib/libcrypto/ossl_typ.h
+++ b/src/lib/libcrypto/ossl_typ.h
@@ -97,15 +97,43 @@ typedef int ASN1_NULL;
97 97
98#ifdef OPENSSL_SYS_WIN32 98#ifdef OPENSSL_SYS_WIN32
99#undef X509_NAME 99#undef X509_NAME
100#undef X509_EXTENSIONS
101#undef X509_CERT_PAIR
100#undef PKCS7_ISSUER_AND_SERIAL 102#undef PKCS7_ISSUER_AND_SERIAL
101#endif 103#endif
102 104
105#ifdef BIGNUM
106#undef BIGNUM
107#endif
108typedef struct bignum_st BIGNUM;
109typedef struct bignum_ctx BN_CTX;
110typedef struct bn_blinding_st BN_BLINDING;
111typedef struct bn_mont_ctx_st BN_MONT_CTX;
112typedef struct bn_recp_ctx_st BN_RECP_CTX;
113typedef struct bn_gencb_st BN_GENCB;
114
115typedef struct buf_mem_st BUF_MEM;
116
103typedef struct evp_cipher_st EVP_CIPHER; 117typedef struct evp_cipher_st EVP_CIPHER;
104typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; 118typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
105typedef struct env_md_st EVP_MD; 119typedef struct env_md_st EVP_MD;
106typedef struct env_md_ctx_st EVP_MD_CTX; 120typedef struct env_md_ctx_st EVP_MD_CTX;
107typedef struct evp_pkey_st EVP_PKEY; 121typedef struct evp_pkey_st EVP_PKEY;
108 122
123typedef struct dh_st DH;
124typedef struct dh_method DH_METHOD;
125
126typedef struct dsa_st DSA;
127typedef struct dsa_method DSA_METHOD;
128
129typedef struct rsa_st RSA;
130typedef struct rsa_meth_st RSA_METHOD;
131
132typedef struct rand_meth_st RAND_METHOD;
133
134typedef struct ecdh_method ECDH_METHOD;
135typedef struct ecdsa_method ECDSA_METHOD;
136
109typedef struct x509_st X509; 137typedef struct x509_st X509;
110typedef struct X509_algor_st X509_ALGOR; 138typedef struct X509_algor_st X509_ALGOR;
111typedef struct X509_crl_st X509_CRL; 139typedef struct X509_crl_st X509_CRL;
@@ -113,10 +141,39 @@ typedef struct X509_name_st X509_NAME;
113typedef struct x509_store_st X509_STORE; 141typedef struct x509_store_st X509_STORE;
114typedef struct x509_store_ctx_st X509_STORE_CTX; 142typedef struct x509_store_ctx_st X509_STORE_CTX;
115 143
144typedef struct v3_ext_ctx X509V3_CTX;
145typedef struct conf_st CONF;
146
147typedef struct store_st STORE;
148typedef struct store_method_st STORE_METHOD;
149
150typedef struct ui_st UI;
151typedef struct ui_method_st UI_METHOD;
152
153typedef struct st_ERR_FNS ERR_FNS;
154
116typedef struct engine_st ENGINE; 155typedef struct engine_st ENGINE;
117 156
157typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
158typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
159typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
160typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
161
118 /* If placed in pkcs12.h, we end up with a circular depency with pkcs7.h */ 162 /* If placed in pkcs12.h, we end up with a circular depency with pkcs7.h */
119#define DECLARE_PKCS12_STACK_OF(type) /* Nothing */ 163#define DECLARE_PKCS12_STACK_OF(type) /* Nothing */
120#define IMPLEMENT_PKCS12_STACK_OF(type) /* Nothing */ 164#define IMPLEMENT_PKCS12_STACK_OF(type) /* Nothing */
121 165
166typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
167/* Callback types for crypto.h */
168typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
169 int idx, long argl, void *argp);
170typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
171 int idx, long argl, void *argp);
172typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d,
173 int idx, long argl, void *argp);
174
175typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;
176typedef struct ocsp_response_st OCSP_RESPONSE;
177typedef struct ocsp_responder_id_st OCSP_RESPID;
178
122#endif /* def HEADER_OPENSSL_TYPES_H */ 179#endif /* def HEADER_OPENSSL_TYPES_H */