Home
last modified time | relevance | path

Searched defs:cms (Results 1 – 25 of 47) sorted by relevance

12

/third_party/openssl/crypto/cms/
Dcms_lib.c76 void CMS_ContentInfo_free(CMS_ContentInfo *cms) in CMS_ContentInfo_free()
84 const CMS_CTX *ossl_cms_get0_cmsctx(const CMS_ContentInfo *cms) in ossl_cms_get0_cmsctx()
121 const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms) in CMS_get0_type()
128 CMS_ContentInfo *cms = CMS_ContentInfo_new_ex(libctx, propq); in ossl_cms_Data_create() local
138 BIO *ossl_cms_content_bio(CMS_ContentInfo *cms) in ossl_cms_content_bio()
156 BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont) in CMS_dataInit()
212 int CMS_dataFinal(CMS_ContentInfo *cms, BIO *cmsbio) in CMS_dataFinal()
267 ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms) in CMS_get0_content()
310 static ASN1_OBJECT **cms_get0_econtent_type(CMS_ContentInfo *cms) in cms_get0_econtent_type()
342 const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms) in CMS_get0_eContentType()
[all …]
Dcms_env.c29 static int cms_get_enveloped_type(const CMS_ContentInfo *cms) in cms_get_enveloped_type()
46 CMS_EnvelopedData *ossl_cms_get0_enveloped(CMS_ContentInfo *cms) in ossl_cms_get0_enveloped()
55 CMS_AuthEnvelopedData *ossl_cms_get0_auth_enveloped(CMS_ContentInfo *cms) in ossl_cms_get0_auth_enveloped()
64 static CMS_EnvelopedData *cms_enveloped_data_init(CMS_ContentInfo *cms) in cms_enveloped_data_init()
83 cms_auth_enveloped_data_init(CMS_ContentInfo *cms) in cms_auth_enveloped_data_init()
141 CMS_EncryptedContentInfo *ossl_cms_get0_env_enc_content(const CMS_ContentInfo *cms) in ossl_cms_get0_env_enc_content()
169 void ossl_cms_RecipientInfos_set_cmsctx(CMS_ContentInfo *cms) in ossl_cms_RecipientInfos_set_cmsctx()
220 CMS_ContentInfo *cms; in CMS_EnvelopedData_create_ex() local
249 CMS_ContentInfo *cms; in CMS_AuthEnvelopedData_create_ex() local
333 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip, in CMS_add1_recipient()
[all …]
Dcms_io.c18 int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) in CMS_stream()
36 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) in d2i_CMS_bio()
52 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) in i2d_CMS_bio()
67 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in i2d_CMS_bio_stream()
73 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, in PEM_write_bio_CMS_stream()
80 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS()
100 CMS_ContentInfo **cms) in SMIME_read_CMS_ex()
Dcms_smime.c78 static int check_content(CMS_ContentInfo *cms) in check_content()
104 int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags) in CMS_data()
124 CMS_ContentInfo *cms = ossl_cms_Data_create(libctx, propq); in CMS_data_create_ex() local
141 int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out, in CMS_digest_verify()
170 CMS_ContentInfo *cms; in CMS_digest_create_ex() local
198 int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms, in CMS_EncryptedData_decrypt()
229 CMS_ContentInfo *cms; in CMS_EncryptedData_encrypt_ex() local
304 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, in CMS_verify()
509 CMS_ContentInfo *cms; in CMS_sign_ex() local
560 CMS_ContentInfo *cms = NULL; in CMS_sign_receipt() local
[all …]
Dcms_dd.c24 CMS_ContentInfo *cms; in ossl_cms_DigestedData_create() local
51 BIO *ossl_cms_DigestedData_init_bio(const CMS_ContentInfo *cms) in ossl_cms_DigestedData_init_bio()
59 int ossl_cms_DigestedData_do_final(const CMS_ContentInfo *cms, BIO *chain, in ossl_cms_DigestedData_do_final()
Dcms_cd.c28 CMS_ContentInfo *cms; in ossl_cms_CompressedData_create() local
65 BIO *ossl_cms_CompressedData_init_bio(const CMS_ContentInfo *cms) in ossl_cms_CompressedData_init_bio()
Dcms_sd.c27 static CMS_SignedData *cms_get0_signed(CMS_ContentInfo *cms) in cms_get0_signed()
36 static CMS_SignedData *cms_signed_data_init(CMS_ContentInfo *cms) in cms_signed_data_init()
57 int CMS_SignedData_init(CMS_ContentInfo *cms) in CMS_SignedData_init()
129 static int cms_set_si_contentType_attr(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_set_si_contentType_attr()
140 static int cms_copy_messageDigest(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_copy_messageDigest()
305 CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms, in CMS_add1_signer()
496 void ossl_cms_SignerInfos_set_cmsctx(CMS_ContentInfo *cms) in ossl_cms_SignerInfos_set_cmsctx()
604 int CMS_set1_signers_certs(CMS_ContentInfo *cms, STACK_OF(X509) *scerts, in CMS_set1_signers_certs()
670 static int cms_SignerInfo_content_sign(CMS_ContentInfo *cms, in cms_SignerInfo_content_sign()
761 int ossl_cms_SignedData_final(CMS_ContentInfo *cms, BIO *chain) in ossl_cms_SignedData_final()
[all …]
Dcms_enc.c225 int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph, in CMS_EncryptedData_set1_key()
251 BIO *ossl_cms_EncryptedData_init_bio(const CMS_ContentInfo *cms) in ossl_cms_EncryptedData_init_bio()
/third_party/node/deps/openssl/openssl/crypto/cms/
Dcms_lib.c76 void CMS_ContentInfo_free(CMS_ContentInfo *cms) in CMS_ContentInfo_free()
85 const CMS_CTX *ossl_cms_get0_cmsctx(const CMS_ContentInfo *cms) in ossl_cms_get0_cmsctx()
122 const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms) in CMS_get0_type()
129 CMS_ContentInfo *cms = CMS_ContentInfo_new_ex(libctx, propq); in ossl_cms_Data_create() local
139 BIO *ossl_cms_content_bio(CMS_ContentInfo *cms) in ossl_cms_content_bio()
157 BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont) in CMS_dataInit()
213 int CMS_dataFinal(CMS_ContentInfo *cms, BIO *cmsbio) in CMS_dataFinal()
268 ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms) in CMS_get0_content()
311 static ASN1_OBJECT **cms_get0_econtent_type(CMS_ContentInfo *cms) in cms_get0_econtent_type()
343 const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms) in CMS_get0_eContentType()
[all …]
Dcms_io.c18 int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) in CMS_stream()
36 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) in d2i_CMS_bio()
52 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) in i2d_CMS_bio()
67 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in i2d_CMS_bio_stream()
73 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, in PEM_write_bio_CMS_stream()
80 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS()
100 CMS_ContentInfo **cms) in SMIME_read_CMS_ex()
Dcms_env.c29 static int cms_get_enveloped_type_simple(const CMS_ContentInfo *cms) in cms_get_enveloped_type_simple()
45 static int cms_get_enveloped_type(const CMS_ContentInfo *cms) in cms_get_enveloped_type()
63 CMS_EnvelopedData *ossl_cms_get0_enveloped(CMS_ContentInfo *cms) in ossl_cms_get0_enveloped()
72 CMS_AuthEnvelopedData *ossl_cms_get0_auth_enveloped(CMS_ContentInfo *cms) in ossl_cms_get0_auth_enveloped()
81 static CMS_EnvelopedData *cms_enveloped_data_init(CMS_ContentInfo *cms) in cms_enveloped_data_init()
100 cms_auth_enveloped_data_init(CMS_ContentInfo *cms) in cms_auth_enveloped_data_init()
158 CMS_EncryptedContentInfo *ossl_cms_get0_env_enc_content(const CMS_ContentInfo *cms) in ossl_cms_get0_env_enc_content()
188 void ossl_cms_RecipientInfos_set_cmsctx(CMS_ContentInfo *cms) in ossl_cms_RecipientInfos_set_cmsctx()
239 CMS_ContentInfo *cms; in CMS_EnvelopedData_create_ex() local
268 CMS_ContentInfo *cms; in CMS_AuthEnvelopedData_create_ex() local
[all …]
Dcms_smime.c78 static int check_content(CMS_ContentInfo *cms) in check_content()
104 int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags) in CMS_data()
124 CMS_ContentInfo *cms = ossl_cms_Data_create(libctx, propq); in CMS_data_create_ex() local
141 int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out, in CMS_digest_verify()
170 CMS_ContentInfo *cms; in CMS_digest_create_ex() local
198 int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms, in CMS_EncryptedData_decrypt()
229 CMS_ContentInfo *cms; in CMS_EncryptedData_encrypt_ex() local
304 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, in CMS_verify()
509 CMS_ContentInfo *cms; in CMS_sign_ex() local
560 CMS_ContentInfo *cms = NULL; in CMS_sign_receipt() local
[all …]
Dcms_dd.c24 CMS_ContentInfo *cms; in ossl_cms_DigestedData_create() local
51 BIO *ossl_cms_DigestedData_init_bio(const CMS_ContentInfo *cms) in ossl_cms_DigestedData_init_bio()
59 int ossl_cms_DigestedData_do_final(const CMS_ContentInfo *cms, BIO *chain, in ossl_cms_DigestedData_do_final()
Dcms_cd.c28 CMS_ContentInfo *cms; in ossl_cms_CompressedData_create() local
65 BIO *ossl_cms_CompressedData_init_bio(const CMS_ContentInfo *cms) in ossl_cms_CompressedData_init_bio()
Dcms_sd.c27 static CMS_SignedData *cms_get0_signed(CMS_ContentInfo *cms) in cms_get0_signed()
36 static CMS_SignedData *cms_signed_data_init(CMS_ContentInfo *cms) in cms_signed_data_init()
57 int CMS_SignedData_init(CMS_ContentInfo *cms) in CMS_SignedData_init()
129 static int cms_set_si_contentType_attr(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_set_si_contentType_attr()
140 static int cms_copy_messageDigest(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_copy_messageDigest()
305 CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms, in CMS_add1_signer()
504 void ossl_cms_SignerInfos_set_cmsctx(CMS_ContentInfo *cms) in ossl_cms_SignerInfos_set_cmsctx()
612 int CMS_set1_signers_certs(CMS_ContentInfo *cms, STACK_OF(X509) *scerts, in CMS_set1_signers_certs()
678 static int cms_SignerInfo_content_sign(CMS_ContentInfo *cms, in cms_SignerInfo_content_sign()
769 int ossl_cms_SignedData_final(CMS_ContentInfo *cms, BIO *chain) in ossl_cms_SignedData_final()
[all …]
Dcms_enc.c226 int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph, in CMS_EncryptedData_set1_key()
252 BIO *ossl_cms_EncryptedData_init_bio(const CMS_ContentInfo *cms) in ossl_cms_EncryptedData_init_bio()
/third_party/rust/crates/rust-openssl/openssl/src/
Dcms.rs145 let cms = cvt_p(ffi::SMIME_read_CMS(bio.as_ptr(), ptr::null_mut()))?; in smime_read_cms() localVariable
192 let cms = cvt_p(ffi::CMS_sign( in sign() localVariable
220 let cms = cvt_p(ffi::CMS_encrypt( in encrypt() localVariable
392 let mut cms = CmsContentInfo::sign(Some(&cert), Some(&key), None, Some(data), opt) in cms_sign_verify_generic_helper() localVariable
445 let mut cms = CmsContentInfo::sign( in cms_sign_verify_error() localVariable
/third_party/openssl/demos/cms/
Dcms_uncomp.c18 CMS_ContentInfo *cms = NULL; in main() local
Dcms_comp.c18 CMS_ContentInfo *cms = NULL; in main() local
Dcms_enc.c20 CMS_ContentInfo *cms = NULL; in main() local
Dcms_dec.c20 CMS_ContentInfo *cms = NULL; in main() local
Dcms_ver.c20 CMS_ContentInfo *cms = NULL; in main() local
/third_party/openssl/test/
Dcmsapitest.c85 CMS_ContentInfo *cms = NULL; in test_d2i_CMS_bio_NULL() local
324 CMS_ContentInfo *cms = NULL; in test_d2i_CMS_decode() local
/third_party/node/deps/openssl/openssl/fuzz/
Dcms.c30 CMS_ContentInfo *cms; in FuzzerTestOneInput() local
/third_party/openssl/fuzz/
Dcms.c30 CMS_ContentInfo *cms; in FuzzerTestOneInput() local

12