Home
last modified time | relevance | path

Searched refs:pkcs7 (Results 1 – 25 of 180) sorted by relevance

12345678

/third_party/mbedtls/library/
Dpkcs7.c47 void mbedtls_pkcs7_init(mbedtls_pkcs7 *pkcs7) in mbedtls_pkcs7_init() argument
49 memset(pkcs7, 0, sizeof(*pkcs7)); in mbedtls_pkcs7_init()
98 mbedtls_pkcs7_buf *pkcs7) in pkcs7_get_content_info_type() argument
117 pkcs7->tag = MBEDTLS_ASN1_OID; in pkcs7_get_content_info_type()
118 pkcs7->len = len; in pkcs7_get_content_info_type()
119 pkcs7->p = *p; in pkcs7_get_content_info_type()
565 int mbedtls_pkcs7_parse_der(mbedtls_pkcs7 *pkcs7, const unsigned char *buf, in mbedtls_pkcs7_parse_der() argument
573 if (pkcs7 == NULL) { in mbedtls_pkcs7_parse_der()
578 pkcs7->raw.p = p = mbedtls_calloc(1, buflen); in mbedtls_pkcs7_parse_der()
579 if (pkcs7->raw.p == NULL) { in mbedtls_pkcs7_parse_der()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_pkcs7.function3 #include "mbedtls/pkcs7.h"
21 mbedtls_pkcs7 pkcs7;
23 mbedtls_pkcs7_init(&pkcs7);
24 res = mbedtls_pkcs7_parse_der(&pkcs7, pkcs7_buf, buflen);
25 mbedtls_pkcs7_free(&pkcs7);
75 mbedtls_pkcs7 pkcs7;
101 mbedtls_pkcs7_init(&pkcs7);
112 res = mbedtls_pkcs7_parse_der(&pkcs7, pkcs7_buf, buflen);
115 TEST_EQUAL(pkcs7.signed_data.no_of_signers, n_crts);
144 mbedtls_pkcs7_signed_hash_verify(&pkcs7, crts[i], hash,
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Dest.c31 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert() argument
38 const unsigned char *p = pkcs7; in pkcs7_to_cert()
48 CBS_init(&pkcs7_cbs, pkcs7, len); in pkcs7_to_cert()
125 unsigned char *pkcs7; in est_load_cacerts() local
161 pkcs7 = base64_decode(resp, resp_len, &pkcs7_len); in est_load_cacerts()
162 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts()
165 os_free(pkcs7); in est_load_cacerts()
166 pkcs7 = NULL; in est_load_cacerts()
168 if (pkcs7 == NULL) { in est_load_cacerts()
170 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dest.c31 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert() argument
38 const unsigned char *p = pkcs7; in pkcs7_to_cert()
48 CBS_init(&pkcs7_cbs, pkcs7, len); in pkcs7_to_cert()
125 unsigned char *pkcs7; in est_load_cacerts() local
161 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_load_cacerts()
162 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts()
165 os_free(pkcs7); in est_load_cacerts()
166 pkcs7 = NULL; in est_load_cacerts()
168 if (pkcs7 == NULL) { in est_load_cacerts()
170 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
[all …]
/third_party/mbedtls/programs/fuzz/
Dfuzz_pkcs7.c7 mbedtls_pkcs7 pkcs7; in LLVMFuzzerTestOneInput() local
9 mbedtls_pkcs7_init(&pkcs7); in LLVMFuzzerTestOneInput()
11 mbedtls_pkcs7_parse_der(&pkcs7, Data, Size); in LLVMFuzzerTestOneInput()
13 mbedtls_pkcs7_free(&pkcs7); in LLVMFuzzerTestOneInput()
/third_party/mbedtls/include/mbedtls/
Dpkcs7.h162 void mbedtls_pkcs7_init(mbedtls_pkcs7 *pkcs7);
180 int mbedtls_pkcs7_parse_der(mbedtls_pkcs7 *pkcs7, const unsigned char *buf,
208 int mbedtls_pkcs7_signed_data_verify(mbedtls_pkcs7 *pkcs7,
237 int mbedtls_pkcs7_signed_hash_verify(mbedtls_pkcs7 *pkcs7,
247 void mbedtls_pkcs7_free(mbedtls_pkcs7 *pkcs7);
/third_party/openssl/crypto/pkcs7/
Dpk7_asn1.c96 PKCS7 *pkcs7 = (PKCS7 *)ASN1_item_new_ex(ASN1_ITEM_rptr(PKCS7), libctx, in PKCS7_new_ex() local
99 if (pkcs7 != NULL) { in PKCS7_new_ex()
100 pkcs7->ctx.libctx = libctx; in PKCS7_new_ex()
101 pkcs7->ctx.propq = NULL; in PKCS7_new_ex()
103 pkcs7->ctx.propq = OPENSSL_strdup(propq); in PKCS7_new_ex()
104 if (pkcs7->ctx.propq == NULL) { in PKCS7_new_ex()
105 PKCS7_free(pkcs7); in PKCS7_new_ex()
106 pkcs7 = NULL; in PKCS7_new_ex()
111 return pkcs7; in PKCS7_new_ex()
/third_party/node/deps/openssl/openssl/crypto/pkcs7/
Dpk7_asn1.c96 PKCS7 *pkcs7 = (PKCS7 *)ASN1_item_new_ex(ASN1_ITEM_rptr(PKCS7), libctx, in PKCS7_new_ex() local
99 if (pkcs7 != NULL) { in PKCS7_new_ex()
100 pkcs7->ctx.libctx = libctx; in PKCS7_new_ex()
101 pkcs7->ctx.propq = NULL; in PKCS7_new_ex()
103 pkcs7->ctx.propq = OPENSSL_strdup(propq); in PKCS7_new_ex()
104 if (pkcs7->ctx.propq == NULL) { in PKCS7_new_ex()
105 PKCS7_free(pkcs7); in PKCS7_new_ex()
106 pkcs7 = NULL; in PKCS7_new_ex()
111 return pkcs7; in PKCS7_new_ex()
/third_party/rust/crates/rust-openssl/openssl/src/
Dpkcs7.rs83 let pkcs7 = in from_smime() localVariable
91 Ok((pkcs7, out)) in from_smime()
287 use crate::pkcs7::{Pkcs7, Pkcs7Flags};
306 let pkcs7 = in encrypt_decrypt_test() localVariable
309 let encrypted = pkcs7 in encrypt_decrypt_test()
339 let pkcs7 = in sign_verify_test_detached() localVariable
342 let signed = pkcs7 in sign_verify_test_detached()
383 let pkcs7 = in sign_verify_test_normal() localVariable
386 let signed = pkcs7 in sign_verify_test_normal()
420 let pkcs7 = in signers() localVariable
[all …]
Dlib.rs171 pub mod pkcs7; module
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dpkcs7.rs168 pkcs7: *mut PKCS7, in PKCS7_verify()
177 pkcs7: *mut PKCS7, in PKCS7_get0_signers()
191 pkcs7: *mut PKCS7, in PKCS7_decrypt()
198 pub fn PKCS7_free(pkcs7: *mut PKCS7); in PKCS7_free()
202 pkcs7: *mut PKCS7, in SMIME_write_PKCS7()
Dmod.rs20 pub use self::pkcs7::*;
56 mod pkcs7; module
/third_party/mbedtls/tests/data_files/
DMakefile1640 pkcs7_test_cert_1 = pkcs7-rsa-sha256-1.crt
1641 pkcs7_test_cert_2 = pkcs7-rsa-sha256-2.crt
1642 pkcs7_test_cert_3 = pkcs7-rsa-sha256-3.crt
1658 pkcs7-rsa-sha256-1.crt:
1659 …Cert 1" -sha256 -nodes -days 3653 -newkey rsa:2048 -keyout pkcs7-rsa-sha256-1.key -out pkcs7-rsa-…
1660 cat pkcs7-rsa-sha256-1.crt pkcs7-rsa-sha256-1.key > pkcs7-rsa-sha256-1.pem
1661 all_final += pkcs7-rsa-sha256-1.crt
1663 pkcs7-rsa-sha256-2.crt:
1664 …Cert 2" -sha256 -nodes -days 3653 -newkey rsa:2048 -keyout pkcs7-rsa-sha256-2.key -out pkcs7-rsa-…
1665 cat pkcs7-rsa-sha256-2.crt pkcs7-rsa-sha256-2.key > pkcs7-rsa-sha256-2.pem
[all …]
/third_party/openssl/doc/man1/
Dopenssl-pkcs7.pod.in10 openssl-pkcs7 - PKCS#7 command
14 B<openssl> B<pkcs7>
86 openssl pkcs7 -in file.pem -outform DER -out file.der
90 openssl pkcs7 -in file.pem -print_certs -out certs.pem
Dopenssl-cmds.pod.in34 pkcs7,
115 L<openssl-pkcs7(1)>,
/third_party/openssl/test/smime-eml/
DSignedInvalidMappingFromanyPolicyTest7.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Dlib.rs58 pub use self::pkcs7::*;
88 mod pkcs7; module
/third_party/node/deps/openssl/openssl/
Dbuild.info35 include/openssl/pkcs7.h \
65 GENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in
/third_party/openssl/
Dbuild.info35 include/openssl/pkcs7.h \
65 GENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in
/third_party/openssl/test/recipes/80-test_cms_data/
Dciphertext_from_1_1_1.cms3 Content-Type: application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"
/third_party/node/deps/openssl/openssl/crypto/objects/
Dobjects.txt211 pkcs 7 : pkcs7
212 pkcs7 1 : : pkcs7-data
213 !Cname pkcs7-signed
214 pkcs7 2 : : pkcs7-signedData
215 !Cname pkcs7-enveloped
216 pkcs7 3 : : pkcs7-envelopedData
217 !Cname pkcs7-signedAndEnveloped
218 pkcs7 4 : : pkcs7-signedAndEnvelopedData
219 !Cname pkcs7-digest
220 pkcs7 5 : : pkcs7-digestData
[all …]
/third_party/openssl/crypto/objects/
Dobjects.txt211 pkcs 7 : pkcs7
212 pkcs7 1 : : pkcs7-data
213 !Cname pkcs7-signed
214 pkcs7 2 : : pkcs7-signedData
215 !Cname pkcs7-enveloped
216 pkcs7 3 : : pkcs7-envelopedData
217 !Cname pkcs7-signedAndEnveloped
218 pkcs7 4 : : pkcs7-signedAndEnvelopedData
219 !Cname pkcs7-digest
220 pkcs7 5 : : pkcs7-digestData
[all …]
/third_party/openssl/doc/man3/
DPKCS7_type_is_other.pod9 #include <openssl/pkcs7.h>
DPKCS7_get_octet_string.pod9 #include <openssl/pkcs7.h>
DPEM_write_bio_PKCS7_stream.pod9 #include <openssl/pkcs7.h>

12345678