Home
last modified time | relevance | path

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

/dragonfly/crypto/libressl/crypto/pkcs7/
H A Dpk7_lib.c94 if (!p7->d.sign || !p7->d.sign->contents->d.ptr) in PKCS7_ctrl()
172 p7->type = obj; in PKCS7_set_type()
177 p7->d.sign = NULL; in PKCS7_set_type()
182 p7->type = obj; in PKCS7_set_type()
187 p7->type = obj; in PKCS7_set_type()
197 p7->type = obj; in PKCS7_set_type()
206 p7->type = obj; in PKCS7_set_type()
216 p7->type = obj; in PKCS7_set_type()
235 p7->d.other = other; in PKCS7_set0_type_other()
454 if (p7 == NULL || p7->d.ptr == NULL) in STACK_OF()
[all …]
H A Dpk7_smime.c75 PKCS7 *p7; in PKCS7_sign() local
105 return p7; in PKCS7_sign()
108 return p7; in PKCS7_sign()
111 PKCS7_free(p7); in PKCS7_sign()
273 if (!p7) { in PKCS7_verify()
437 if (!p7) { in STACK_OF()
491 PKCS7 *p7; in PKCS7_encrypt() local
517 return p7; in PKCS7_encrypt()
520 return p7; in PKCS7_encrypt()
524 PKCS7_free(p7); in PKCS7_encrypt()
[all …]
H A Dpk7_doit.c103 return p7->d.data; in PKCS7_get_octet_string()
104 if (PKCS7_type_is_other(p7) && p7->d.other && in PKCS7_get_octet_string()
264 if (p7 == NULL) { in PKCS7_dataInit()
281 if (p7->d.ptr == NULL) { in PKCS7_dataInit()
314 xa = p7->d.digest->md; in PKCS7_dataInit()
439 if (p7 == NULL) { in PKCS7_dataDecode()
698 if (p7 == NULL) { in PKCS7_dataFinal()
714 os = p7->d.data; in PKCS7_dataFinal()
749 if (PKCS7_type_is_data(p7->d.sign->contents) && p7->detached) { in PKCS7_dataFinal()
764 p7->detached) { in PKCS7_dataFinal()
[all …]
H A Dpk7_mime.c64 i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in i2d_PKCS7_bio_stream() argument
66 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)p7, in, flags, in i2d_PKCS7_bio_stream()
71 PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in PEM_write_bio_PKCS7_stream() argument
73 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *) p7, in, flags, in PEM_write_bio_PKCS7_stream()
78 SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7() argument
81 int ctype_nid = OBJ_obj2nid(p7->type); in SMIME_write_PKCS7()
83 mdalgs = p7->d.sign->md_algs; in SMIME_write_PKCS7()
90 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags, in SMIME_write_PKCS7()
/dragonfly/crypto/libressl/crypto/pkcs12/
H A Dp12_add.c98 PKCS7 *p7; in PKCS12_pack_p7data() local
100 if (!(p7 = PKCS7_new())) { in PKCS12_pack_p7data()
114 return p7; in PKCS12_pack_p7data()
117 PKCS7_free(p7); in PKCS12_pack_p7data()
123 PKCS12_unpack_p7data(PKCS7 *p7) in STACK_OF()
125 if (!PKCS7_type_is_data(p7)) { in STACK_OF()
138 PKCS7 *p7; in PKCS12_pack_p7encdata() local
142 if (!(p7 = PKCS7_new())) { in PKCS12_pack_p7encdata()
171 return p7; in PKCS12_pack_p7encdata()
174 PKCS7_free(p7); in PKCS12_pack_p7encdata()
[all …]
H A Dp12_crt.c268 PKCS7 *p7 = NULL; in PKCS12_add_safe() local
283 p7 = PKCS12_pack_p7data(bags); in PKCS12_add_safe()
285 p7 = PKCS12_pack_p7encdata(nid_safe, pass, -1, NULL, 0, in PKCS12_add_safe()
287 if (!p7) in PKCS12_add_safe()
290 if (!sk_PKCS7_push(*psafes, p7)) in PKCS12_add_safe()
301 if (p7) in PKCS12_add_safe()
302 PKCS7_free(p7); in PKCS12_add_safe()
H A Dp12_kiss.c181 PKCS7 *p7; in parse_pk12() local
186 p7 = sk_PKCS7_value(asafes, i); in parse_pk12()
187 bagnid = OBJ_obj2nid(p7->type); in parse_pk12()
189 bags = PKCS12_unpack_p7data(p7); in parse_pk12()
191 bags = PKCS12_unpack_p7encdata(p7, pass, passlen); in parse_pk12()
/dragonfly/crypto/libressl/include/openssl/
H A Dpkcs7.h238 #define PKCS7_is_detached(p7) (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7)) argument
279 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7);
280 int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7);
281 PKCS7 *PKCS7_dup(PKCS7 *p7);
282 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7);
283 int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7);
341 int PKCS7_set_type(PKCS7 *p7, int type);
350 int PKCS7_content_new(PKCS7 *p7, int nid);
356 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio);
357 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio);
[all …]
H A Dpkcs12.h188 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7);
191 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass,
H A Dts.h269 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);
/dragonfly/crypto/libressl/apps/openssl/
H A Dpkcs7.c152 PKCS7 *p7 = NULL; in pkcs7_main() local
190 p7 = d2i_PKCS7_bio(in, NULL); in pkcs7_main()
197 if (p7 == NULL) { in pkcs7_main()
212 PKCS7_print_ctx(out, p7, 0, NULL); in pkcs7_main()
218 i = OBJ_obj2nid(p7->type); in pkcs7_main()
221 certs = p7->d.sign->cert; in pkcs7_main()
222 crls = p7->d.sign->crl; in pkcs7_main()
265 i = i2d_PKCS7_bio(out, p7); in pkcs7_main()
267 i = PEM_write_bio_PKCS7(out, p7); in pkcs7_main()
281 if (p7 != NULL) in pkcs7_main()
[all …]
H A Dcrl2p7.c165 PKCS7 *p7 = NULL; in crl2pkcs7_main() local
220 if ((p7 = PKCS7_new()) == NULL) in crl2pkcs7_main()
224 p7->type = OBJ_nid2obj(NID_pkcs7_signed); in crl2pkcs7_main()
225 p7->d.sign = p7s; in crl2pkcs7_main()
265 i = i2d_PKCS7_bio(out, p7); in crl2pkcs7_main()
267 i = PEM_write_bio_PKCS7(out, p7); in crl2pkcs7_main()
285 if (p7 != NULL) in crl2pkcs7_main()
286 PKCS7_free(p7); in crl2pkcs7_main()
H A Dsmime.c716 PKCS7 *p7 = NULL; in smime_main() local
896 p7 = SMIME_read_PKCS7(in, &indata); in smime_main()
900 p7 = d2i_PKCS7_bio(in, NULL); in smime_main()
907 if (p7 == NULL) { in smime_main()
965 p7 = PKCS7_sign(NULL, NULL, other, in, in smime_main()
967 if (p7 == NULL) in smime_main()
1001 if (p7 == NULL) { in smime_main()
1034 PEM_write_bio_PKCS7(out, p7); in smime_main()
1048 if (!SMIME_write_PKCS7(out, p7, in, in smime_main()
1057 if (!i2d_PKCS7_bio_stream(out, p7, in, in smime_main()
[all …]
H A Dpkcs12.c834 PKCS7 *p7; in dump_certs_keys_p12() local
839 p7 = sk_PKCS7_value(asafes, i); in dump_certs_keys_p12()
840 bagnid = OBJ_obj2nid(p7->type); in dump_certs_keys_p12()
842 bags = PKCS12_unpack_p7data(p7); in dump_certs_keys_p12()
849 p7->d.encrypted->enc_data->algorithm); in dump_certs_keys_p12()
851 bags = PKCS12_unpack_p7encdata(p7, pass, passlen); in dump_certs_keys_p12()
/dragonfly/crypto/libressl/crypto/ts/
H A Dts_rsp_sign.c90 static int TS_TST_INFO_content_new(PKCS7 *p7);
719 PKCS7 *p7 = NULL; in TS_RESP_sign() local
734 if (!(p7 = PKCS7_new())) { in TS_RESP_sign()
738 if (!PKCS7_set_type(p7, NID_pkcs7_signed)) in TS_RESP_sign()
751 PKCS7_add_certificate(p7, cert); in TS_RESP_sign()
784 if (!TS_TST_INFO_content_new(p7)) in TS_RESP_sign()
800 if (!PKCS7_dataFinal(p7, p7bio)) { in TS_RESP_sign()
807 p7 = NULL; /* Ownership is lost. */ in TS_RESP_sign()
819 PKCS7_free(p7); in TS_RESP_sign()
907 TS_TST_INFO_content_new(PKCS7 *p7) in TS_TST_INFO_content_new() argument
[all …]
H A Dts_rsp_utils.c120 TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument
124 a->token = p7; in TS_RESP_set_tst_info()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx_all.c127 d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) in d2i_PKCS7_bio() argument
129 return ASN1_item_d2i_bio(&PKCS7_it, bp, p7); in d2i_PKCS7_bio()
133 i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) in i2d_PKCS7_bio() argument
135 return ASN1_item_i2d_bio(&PKCS7_it, bp, p7); in i2d_PKCS7_bio()
139 d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp() argument
141 return ASN1_item_d2i_fp(&PKCS7_it, fp, p7); in d2i_PKCS7_fp()
145 i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) in i2d_PKCS7_fp() argument
147 return ASN1_item_i2d_fp(&PKCS7_it, fp, p7); in i2d_PKCS7_fp()
/dragonfly/tools/regression/bin/sh/builtins/
H A Dwait8.05 exit 7 & p7=$!
6 wait "$p44" "$p7" "$p45"
H A Dwait1.017 exit 7 & p7=$!
18 wait $p7
/dragonfly/contrib/ncurses/misc/
H A Dterminfo.src380 %;%?%p7%t8;%;m,
385 %;%?%p7%t8;%;m,
7193 %p7%t;8%;m,
12769 sgr=%?%p1%p2%|%p3%|%p6%|%p7%|%t\026\001%?%p7%t%{128}%e%{0}%?
14376 %;%?%p7%t8;%;m,
14563 7;%;%?%p7%t8;%;m,
15299 # %?%p7 IF invisible
17152 %;%?%p7%t;8%;m,
17883 # p7 - Prism-7.
17959 # p7: Prism-7
[all …]
/dragonfly/share/terminfo/
H A DMakefile.entries1569 p/p7 \
/dragonfly/contrib/lvm2/dist/
H A Dconfigure7494 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7495 /* Convince the compiler that p..p7 are live; otherwise, it might
7498 || p != p5 || p != p6 || p != p7)
/dragonfly/contrib/file/magic/Magdir/
H A Dimages1752 !:ext p7/gif/tif/xpm/jpg
/dragonfly/share/termcap/
H A Dtermcap.src1967 # :ti=^_lea p1/b/^_lea p2/j/^_lea p3/n/^_lea p4/h/^_lea p5/ /^_lea p6/l/^_lea p7/y/^_lea p8/k/^_lea…
1968 # :te=^_lea p1^_lea p2^_lea p3^_lea p4^_lea pt^_lea p5^_lea p6^_lea p7^_lea p8^_lea p9/la/13^_lea p…
/dragonfly/contrib/gcc-4.7/gcc/doc/
H A Dextend.texi10689 @code{0x1.0p7}. The equivalent for Q15 values is to multiply by