/third_party/mbedtls/library/ |
H A D | pkcs7.c | 9 #include "mbedtls/pkcs7.h" 35 void mbedtls_pkcs7_init(mbedtls_pkcs7 *pkcs7) in mbedtls_pkcs7_init() argument 37 memset(pkcs7, 0, sizeof(*pkcs7)); in mbedtls_pkcs7_init() 86 mbedtls_pkcs7_buf *pkcs7) in pkcs7_get_content_info_type() 105 pkcs7->tag = MBEDTLS_ASN1_OID; in pkcs7_get_content_info_type() 106 pkcs7->len = len; in pkcs7_get_content_info_type() 107 pkcs7->p = *p; in pkcs7_get_content_info_type() 553 int mbedtls_pkcs7_parse_der(mbedtls_pkcs7 *pkcs7, const unsigned char *buf, in mbedtls_pkcs7_parse_der() argument 561 if (pkcs7 in mbedtls_pkcs7_parse_der() 84 pkcs7_get_content_info_type(unsigned char **p, unsigned char *end, unsigned char **seq_end, mbedtls_pkcs7_buf *pkcs7) pkcs7_get_content_info_type() argument 642 mbedtls_pkcs7_data_or_hash_verify(mbedtls_pkcs7 *pkcs7, const mbedtls_x509_crt *cert, const unsigned char *data, size_t datalen, const int is_data_hash) mbedtls_pkcs7_data_or_hash_verify() argument 722 mbedtls_pkcs7_signed_data_verify(mbedtls_pkcs7 *pkcs7, const mbedtls_x509_crt *cert, const unsigned char *data, size_t datalen) mbedtls_pkcs7_signed_data_verify() argument 733 mbedtls_pkcs7_signed_hash_verify(mbedtls_pkcs7 *pkcs7, const mbedtls_x509_crt *cert, const unsigned char *hash, size_t hashlen) mbedtls_pkcs7_signed_hash_verify() argument 747 mbedtls_pkcs7_free(mbedtls_pkcs7 *pkcs7) mbedtls_pkcs7_free() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/ |
H A D | est.c | 13 #include <openssl/pkcs7.h> 31 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 in est_load_cacerts() 680 unsigned char *pkcs7; est_simple_enroll() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/ |
H A D | est.c | 13 #include <openssl/pkcs7.h> 31 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 in est_load_cacerts() 681 unsigned char *pkcs7; est_simple_enroll() local [all...] |
/third_party/mbedtls/programs/fuzz/ |
H A D | fuzz_pkcs7.c | 2 #include "mbedtls/pkcs7.h" 7 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/ |
H A D | pkcs7.h | 2 * \file pkcs7.h 147 * \param pkcs7 mbedtls_pkcs7 structure. 149 void mbedtls_pkcs7_init(mbedtls_pkcs7 *pkcs7); 154 * \param pkcs7 The mbedtls_pkcs7 structure to be filled by the parser. 167 int mbedtls_pkcs7_parse_der(mbedtls_pkcs7 *pkcs7, const unsigned char *buf, 185 * \param pkcs7 mbedtls_pkcs7 structure containing signature. 195 int mbedtls_pkcs7_signed_data_verify(mbedtls_pkcs7 *pkcs7, 214 * \param pkcs7 PKCS #7 structure containing signature. 224 int mbedtls_pkcs7_signed_hash_verify(mbedtls_pkcs7 *pkcs7, 230 * It doesn't free \p pkcs7 itsel [all...] |
/third_party/node/deps/openssl/openssl/crypto/pkcs7/ |
H A D | pk7_asn1.c | 13 #include <openssl/pkcs7.h> 96 PKCS7 *pkcs7 = (PKCS7 *)ASN1_item_new_ex(ASN1_ITEM_rptr(PKCS7), libctx, 99 if (pkcs7 != NULL) { 100 pkcs7->ctx.libctx = libctx; 101 pkcs7->ctx.propq = NULL; 103 pkcs7->ctx.propq = OPENSSL_strdup(propq); 104 if (pkcs7->ctx.propq == NULL) { 105 PKCS7_free(pkcs7); 106 pkcs7 = NULL; 111 return pkcs7; [all...] |
H A D | bio_pk7.c | 11 #include <openssl/pkcs7.h>
|
H A D | pk7_attr.c | 16 #include <openssl/pkcs7.h>
|
/third_party/openssl/crypto/pkcs7/ |
H A D | pk7_asn1.c | 13 #include <openssl/pkcs7.h> 96 PKCS7 *pkcs7 = (PKCS7 *)ASN1_item_new_ex(ASN1_ITEM_rptr(PKCS7), libctx, 99 if (pkcs7 != NULL) { 100 pkcs7->ctx.libctx = libctx; 101 pkcs7->ctx.propq = NULL; 103 pkcs7->ctx.propq = OPENSSL_strdup(propq); 104 if (pkcs7->ctx.propq == NULL) { 105 PKCS7_free(pkcs7); 106 pkcs7 = NULL; 111 return pkcs7; [all...] |
H A D | bio_pk7.c | 11 #include <openssl/pkcs7.h>
|
H A D | pk7_attr.c | 16 #include <openssl/pkcs7.h>
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | pkcs7.rs | 83 let pkcs7 = in from_smime() 91 Ok((pkcs7, out)) in from_smime() 287 use crate::pkcs7::{Pkcs7, Pkcs7Flags}; 306 let pkcs7 = in encrypt_decrypt_test() 309 let encrypted = pkcs7 in encrypt_decrypt_test() 339 let pkcs7 = in sign_verify_test_detached() 342 let signed = pkcs7 in sign_verify_test_detached() 383 let pkcs7 = in sign_verify_test_normal() 386 let signed = pkcs7 in sign_verify_test_normal() 420 let pkcs7 in signers() [all...] |
H A D | lib.rs | 171 pub mod pkcs7; modules
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | pkcs7.rs | 168 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()
|
H A D | mod.rs | 20 pub use self::pkcs7::*; 56 mod pkcs7; modules
|
/third_party/mbedtls/tests/data_files/ |
H A D | Makefile | 1860 pkcs7_test_cert_1 = pkcs7-rsa-sha256-1.crt 1861 pkcs7_test_cert_2 = pkcs7-rsa-sha256-2.crt 1862 pkcs7_test_cert_3 = pkcs7-rsa-sha256-3.crt 1878 pkcs7-rsa-sha256-1.crt: 1879 $(OPENSSL) req -x509 -subj="/C=NL/O=PKCS7/CN=PKCS7 Cert 1" -sha256 -nodes -days 3653 -newkey rsa:2048 -keyout pkcs7-rsa-sha256-1.key -out pkcs7-rsa-sha256-1.crt 1880 cat pkcs7-rsa-sha256-1.crt pkcs7-rsa-sha256-1.key > pkcs7-rsa-sha256-1.pem 1881 all_final += pkcs7 [all...] |
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
H A D | lib.rs | 58 pub use self::pkcs7::*; 88 mod pkcs7; modules
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | asn1_item_list.c | 20 #include <openssl/pkcs7.h>
|
/third_party/openssl/crypto/asn1/ |
H A D | asn1_item_list.c | 20 #include <openssl/pkcs7.h>
|
/third_party/openssl/demos/smime/ |
H A D | smenc.c | 12 #include <openssl/pkcs7.h>
|
H A D | smsign.c | 12 #include <openssl/pkcs7.h>
|
H A D | smdec.c | 12 #include <openssl/pkcs7.h>
|
H A D | smver.c | 12 #include <openssl/pkcs7.h>
|
H A D | smsign2.c | 12 #include <openssl/pkcs7.h>
|
/third_party/node/deps/openssl/config/ |
H A D | Makefile | 41 ess fipskey lhash ocsp opensslv pkcs12 pkcs7 safestack srp ssl \
|