Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/pem/
H A Dpem_info.c66 d2i_of_void *d2i = 0; in STACK_OF() local
105 d2i = (D2I_OF(void))d2i_X509_AUX; in STACK_OF()
107 d2i = (D2I_OF(void))d2i_X509; in STACK_OF()
113 d2i = (D2I_OF(void))d2i_X509_CRL; in STACK_OF()
140 d2i = (D2I_OF(void))d2i_AutoPrivateKey; in STACK_OF()
149 d2i = NULL; in STACK_OF()
153 if (d2i != NULL) { in STACK_OF()
169 } else if (d2i(pp, &p, len) == NULL) { in STACK_OF()
H A Dpem_oth.c20 void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, in PEM_ASN1_read_bio() argument
31 ret = d2i(x, &p, len); in PEM_ASN1_read_bio()
H A Dpem_lib.c109 void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x, in PEM_ASN1_read() argument
120 ret = PEM_ASN1_read_bio(d2i, name, b, x, cb, u); in PEM_ASN1_read()
/freebsd/crypto/openssl/crypto/asn1/
H A Da_d2i_fp.c22 void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x) in ASN1_d2i_fp() argument
32 ret = ASN1_d2i_bio(xnew, d2i, b, x); in ASN1_d2i_fp()
38 void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x) in ASN1_d2i_bio() argument
50 ret = d2i(x, &p, len); in ASN1_d2i_bio()
H A Da_dup.c16 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x) in ASN1_dup() argument
36 ret = d2i(NULL, &p2, i); in ASN1_dup()
/freebsd/crypto/openssl/test/
H A Dx509aux.c38 d2i_X509_t d2i = trusted ? d2i_X509_AUX : d2i_X509; in test_certs() local
54 cert = d2i(NULL, &p, len); in test_certs()
94 reuse = d2i(NULL, &p, enclen); in test_certs()
H A Dendecoder_legacy_test.c432 const void *legacy_key, i2d_of_void *i2d, d2i_of_void *d2i, in test_DER() argument
462 if (d2i != NULL) { in test_DER()
475 decoded_legacy_key = d2i(NULL, &pder_legacy, in test_DER()
H A Dasn1_encode_test.c170 d2i_fn *d2i; member
499 enctst = package->d2i(NULL, &bytes, nbytes); in do_decode()
/freebsd/crypto/openssl/include/openssl/
H A Dasn1.h362 #define CHECKED_D2I_OF(type, d2i) \ argument
363 ((d2i_of_void *)(1 ? d2i : ((D2I_OF(type))0)))
899 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x);
901 #define ASN1_dup_of(type, i2d, d2i, x) \ argument
903 CHECKED_D2I_OF(type, d2i), \
924 void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x);
926 #define ASN1_d2i_fp_of(type, xnew, d2i, in, x) \ argument
928 CHECKED_D2I_OF(type, d2i), \
948 void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x);
950 #define ASN1_d2i_bio_of(type, xnew, d2i, in, x) \ argument
[all …]
H A Dasn1.h.in315 #define CHECKED_D2I_OF(type, d2i) \ argument
316 ((d2i_of_void *)(1 ? d2i : ((D2I_OF(type))0)))
732 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x);
734 #define ASN1_dup_of(type, i2d, d2i, x) \ argument
736 CHECKED_D2I_OF(type, d2i), \
757 void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x);
759 #define ASN1_d2i_fp_of(type, xnew, d2i, in, x) \ argument
761 CHECKED_D2I_OF(type, d2i), \
781 void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x);
783 #define ASN1_d2i_bio_of(type, xnew, d2i, in, x) \ argument
[all …]
H A Dpem.h394 void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,
421 void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x,
H A Dasn1t.h.in65 * The EXTERN type uses a new style d2i/i2d.
67 * because it avoids things like the d2i IMPLICIT
H A Dx509v3.h.in73 X509V3_EXT_D2I d2i; member
/freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_typefun.c20 long length, d2i_of_void *d2i,
/freebsd/crypto/openssl/doc/man3/
H A Do2i_SCT_LIST.pod20 The SCT_LIST and SCT functions are very similar to the i2d and d2i family of
H A DASN1_item_sign.pod129 /* new, free, d2i & i2d functions for MySignInfoObject */
139 /* new, free, d2i & i2d functions for MyObject */
H A DASN1_aux_cb.pod144 immediately before a "d2i" operation for the B<ASN1_VALUE>.
149 immediately after a "d2i" operation for the B<ASN1_VALUE>.
H A Dd2i_RSAPrivateKey.pod5 Any deprecated keypair/params d2i or i2d functions are collected on this page.
116 instead of the B<d2i> functions and L<OSSL_ENCODER(3)> instead of the B<i2d>
H A Dd2i_PrivateKey.pod90 after a successful operation, just like the other d2i and i2d functions;
H A DPEM_read.pod63 the B<d2i> function appropriate to the type B<name>; see L<d2i_X509(3)>
H A DASN1_EXTERN_FUNCS.pod93 A "d2i" function responsible for converting DER data with the tag I<tag> and
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_prn.c90 ext_str = method->d2i(NULL, &p, extlen); in X509V3_EXT_print()
H A Dv3_lib.c148 return method->d2i(NULL, &p, extlen); in X509V3_EXT_d2i()
/freebsd/crypto/openssl/doc/internal/man7/
H A DDERlib.pod10 as an alternative to the publicly known i2d and d2i functions. It's
/freebsd/crypto/openssl/doc/man7/
H A Dossl-guide-migration.pod1044 =head4 Deprecated i2d and d2i functions for low-level key types
1046 Any i2d and d2i functions such as d2i_DHparams() that take a low-level key type
1345 See L</Deprecated i2d and d2i functions for low-level key types>

12