summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/cms.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/cms.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/cms.h146
1 files changed, 146 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/cms.h b/src/lib/libcrypto/hidden/openssl/cms.h
new file mode 100644
index 0000000000..c777e857d8
--- /dev/null
+++ b/src/lib/libcrypto/hidden/openssl/cms.h
@@ -0,0 +1,146 @@
1/* $OpenBSD: cms.h,v 1.1 2023/07/08 08:26:26 beck Exp $ */
2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef _LIBCRYPTO_CMS_H
19#define _LIBCRYPTO_CMS_H
20
21#ifndef _MSC_VER
22#include_next <openssl/cms.h>
23#else
24#include "../include/openssl/cms.h"
25#endif
26#include "crypto_namespace.h"
27
28LCRYPTO_USED(CMS_ContentInfo_new);
29LCRYPTO_USED(CMS_ContentInfo_free);
30LCRYPTO_USED(d2i_CMS_ContentInfo);
31LCRYPTO_USED(i2d_CMS_ContentInfo);
32LCRYPTO_USED(CMS_ReceiptRequest_new);
33LCRYPTO_USED(CMS_ReceiptRequest_free);
34LCRYPTO_USED(d2i_CMS_ReceiptRequest);
35LCRYPTO_USED(i2d_CMS_ReceiptRequest);
36LCRYPTO_USED(CMS_ContentInfo_print_ctx);
37LCRYPTO_USED(CMS_get0_type);
38LCRYPTO_USED(CMS_dataInit);
39LCRYPTO_USED(CMS_dataFinal);
40LCRYPTO_USED(CMS_is_detached);
41LCRYPTO_USED(CMS_set_detached);
42LCRYPTO_USED(CMS_stream);
43LCRYPTO_USED(d2i_CMS_bio);
44LCRYPTO_USED(i2d_CMS_bio);
45LCRYPTO_USED(BIO_new_CMS);
46LCRYPTO_USED(i2d_CMS_bio_stream);
47LCRYPTO_USED(PEM_write_bio_CMS_stream);
48LCRYPTO_USED(SMIME_read_CMS);
49LCRYPTO_USED(SMIME_write_CMS);
50LCRYPTO_USED(CMS_final);
51LCRYPTO_USED(CMS_sign);
52LCRYPTO_USED(CMS_sign_receipt);
53LCRYPTO_USED(CMS_data);
54LCRYPTO_USED(CMS_data_create);
55LCRYPTO_USED(CMS_digest_verify);
56LCRYPTO_USED(CMS_digest_create);
57LCRYPTO_USED(CMS_EncryptedData_decrypt);
58LCRYPTO_USED(CMS_EncryptedData_encrypt);
59LCRYPTO_USED(CMS_EncryptedData_set1_key);
60LCRYPTO_USED(CMS_verify);
61LCRYPTO_USED(CMS_verify_receipt);
62LCRYPTO_USED(CMS_get0_signers);
63LCRYPTO_USED(CMS_encrypt);
64LCRYPTO_USED(CMS_decrypt);
65LCRYPTO_USED(CMS_decrypt_set1_pkey);
66LCRYPTO_USED(CMS_decrypt_set1_key);
67LCRYPTO_USED(CMS_decrypt_set1_password);
68LCRYPTO_USED(CMS_get0_RecipientInfos);
69LCRYPTO_USED(CMS_RecipientInfo_type);
70LCRYPTO_USED(CMS_RecipientInfo_get0_pkey_ctx);
71LCRYPTO_USED(CMS_EnvelopedData_create);
72LCRYPTO_USED(CMS_add1_recipient_cert);
73LCRYPTO_USED(CMS_RecipientInfo_set0_pkey);
74LCRYPTO_USED(CMS_RecipientInfo_ktri_cert_cmp);
75LCRYPTO_USED(CMS_RecipientInfo_ktri_get0_algs);
76LCRYPTO_USED(CMS_RecipientInfo_ktri_get0_signer_id);
77LCRYPTO_USED(CMS_add0_recipient_key);
78LCRYPTO_USED(CMS_RecipientInfo_kekri_get0_id);
79LCRYPTO_USED(CMS_RecipientInfo_set0_key);
80LCRYPTO_USED(CMS_RecipientInfo_kekri_id_cmp);
81LCRYPTO_USED(CMS_RecipientInfo_set0_password);
82LCRYPTO_USED(CMS_add0_recipient_password);
83LCRYPTO_USED(CMS_RecipientInfo_decrypt);
84LCRYPTO_USED(CMS_RecipientInfo_encrypt);
85LCRYPTO_USED(CMS_uncompress);
86LCRYPTO_USED(CMS_compress);
87LCRYPTO_USED(CMS_set1_eContentType);
88LCRYPTO_USED(CMS_get0_eContentType);
89LCRYPTO_USED(CMS_add0_CertificateChoices);
90LCRYPTO_USED(CMS_add0_cert);
91LCRYPTO_USED(CMS_add1_cert);
92LCRYPTO_USED(CMS_get1_certs);
93LCRYPTO_USED(CMS_add0_RevocationInfoChoice);
94LCRYPTO_USED(CMS_add0_crl);
95LCRYPTO_USED(CMS_add1_crl);
96LCRYPTO_USED(CMS_get1_crls);
97LCRYPTO_USED(CMS_SignedData_init);
98LCRYPTO_USED(CMS_add1_signer);
99LCRYPTO_USED(CMS_SignerInfo_get0_pkey_ctx);
100LCRYPTO_USED(CMS_SignerInfo_get0_md_ctx);
101LCRYPTO_USED(CMS_get0_SignerInfos);
102LCRYPTO_USED(CMS_SignerInfo_set1_signer_cert);
103LCRYPTO_USED(CMS_SignerInfo_get0_signer_id);
104LCRYPTO_USED(CMS_SignerInfo_cert_cmp);
105LCRYPTO_USED(CMS_set1_signers_certs);
106LCRYPTO_USED(CMS_SignerInfo_get0_algs);
107LCRYPTO_USED(CMS_SignerInfo_get0_signature);
108LCRYPTO_USED(CMS_SignerInfo_sign);
109LCRYPTO_USED(CMS_SignerInfo_verify);
110LCRYPTO_USED(CMS_SignerInfo_verify_content);
111LCRYPTO_USED(CMS_add_smimecap);
112LCRYPTO_USED(CMS_add_simple_smimecap);
113LCRYPTO_USED(CMS_add_standard_smimecap);
114LCRYPTO_USED(CMS_signed_get_attr_count);
115LCRYPTO_USED(CMS_signed_get_attr_by_NID);
116LCRYPTO_USED(CMS_signed_get_attr_by_OBJ);
117LCRYPTO_USED(CMS_signed_get_attr);
118LCRYPTO_USED(CMS_signed_delete_attr);
119LCRYPTO_USED(CMS_signed_add1_attr);
120LCRYPTO_USED(CMS_signed_add1_attr_by_OBJ);
121LCRYPTO_USED(CMS_signed_add1_attr_by_NID);
122LCRYPTO_USED(CMS_signed_add1_attr_by_txt);
123LCRYPTO_USED(CMS_signed_get0_data_by_OBJ);
124LCRYPTO_USED(CMS_unsigned_get_attr_count);
125LCRYPTO_USED(CMS_unsigned_get_attr_by_NID);
126LCRYPTO_USED(CMS_unsigned_get_attr_by_OBJ);
127LCRYPTO_USED(CMS_unsigned_get_attr);
128LCRYPTO_USED(CMS_unsigned_delete_attr);
129LCRYPTO_USED(CMS_unsigned_add1_attr);
130LCRYPTO_USED(CMS_unsigned_add1_attr_by_OBJ);
131LCRYPTO_USED(CMS_unsigned_add1_attr_by_NID);
132LCRYPTO_USED(CMS_unsigned_add1_attr_by_txt);
133LCRYPTO_USED(CMS_unsigned_get0_data_by_OBJ);
134LCRYPTO_USED(CMS_RecipientInfo_kari_get0_alg);
135LCRYPTO_USED(CMS_RecipientInfo_kari_get0_reks);
136LCRYPTO_USED(CMS_RecipientInfo_kari_get0_orig_id);
137LCRYPTO_USED(CMS_RecipientInfo_kari_orig_id_cmp);
138LCRYPTO_USED(CMS_RecipientEncryptedKey_get0_id);
139LCRYPTO_USED(CMS_RecipientEncryptedKey_cert_cmp);
140LCRYPTO_USED(CMS_RecipientInfo_kari_set0_pkey);
141LCRYPTO_USED(CMS_RecipientInfo_kari_get0_ctx);
142LCRYPTO_USED(CMS_RecipientInfo_kari_decrypt);
143LCRYPTO_USED(CMS_SharedInfo_encode);
144LCRYPTO_USED(ERR_load_CMS_strings);
145
146#endif /* _LIBCRYPTO_CMS_H */