Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/asn1/
H A Da_i2d_fp.c18 int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x) in ASN1_i2d_fp() argument
28 ret = ASN1_i2d_bio(i2d, b, x); in ASN1_i2d_fp()
34 int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x) in ASN1_i2d_bio() argument
40 n = i2d(x, NULL); in ASN1_i2d_bio()
49 i2d(x, &p); in ASN1_i2d_bio()
H A Da_digest.c28 int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data, in ASN1_digest() argument
34 inl = i2d(data, NULL); in ASN1_digest()
42 i2d(data, &p); in ASN1_digest()
H A Da_dup.c16 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x) in ASN1_dup() argument
26 i = i2d(x, NULL); in ASN1_dup()
34 i = i2d(x, &p); in ASN1_dup()
H A Da_verify.c27 int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *a, ASN1_BIT_STRING *signature, in ASN1_verify() argument
51 inl = i2d(data, NULL); in ASN1_verify()
61 i2d(data, &p); in ASN1_verify()
H A Da_sign.c27 int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_sign() argument
73 inl = i2d(data, NULL); in ASN1_sign()
88 i2d(data, &p); in ASN1_sign()
/freebsd/crypto/openssl/test/
H A Dx509aux.c39 i2d_X509_t i2d = trusted ? i2d_X509_AUX : i2d_X509; in test_certs() local
63 enclen = i2d(cert, NULL); in test_certs()
75 enclen = i2d(cert, &bufp); in test_certs()
110 enclen = i2d(cert, &buf); in test_certs()
129 enclen = i2d(cert, &buf); in test_certs()
H A Dasn1_encode_test.c168 i2d_fn *i2d; member
534 len = package->i2d(input, &data); in do_encode()
563 len = package->i2d(p, &data); in do_enc_dec()
H A Dendecoder_legacy_test.c432 const void *legacy_key, i2d_of_void *i2d, d2i_of_void *d2i, in test_DER() argument
457 || !TEST_size_t_gt(der_legacy_len = i2d(legacy_key, &der_legacy), 0) in test_DER()
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_lib.c301 int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, in PEM_ASN1_write() argument
314 ret = PEM_ASN1_write_bio(i2d, name, b, x, enc, kstr, klen, callback, u); in PEM_ASN1_write()
322 i2d_of_void *i2d, OSSL_i2d_of_void_ctx *i2d_ctx, void *vctx, in PEM_ASN1_write_bio_internal() argument
349 if (i2d == NULL && i2d_ctx == NULL) { in PEM_ASN1_write_bio_internal()
354 dsize = i2d != NULL ? i2d(x, NULL) : i2d_ctx(x, NULL, vctx); in PEM_ASN1_write_bio_internal()
365 i = i2d != NULL ? i2d(x, &p) : i2d_ctx(x, &p, vctx); in PEM_ASN1_write_bio_internal()
426 int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, const void *x, in PEM_ASN1_write_bio() argument
430 return PEM_ASN1_write_bio_internal(i2d, NULL, NULL, name, bp, x, enc, in PEM_ASN1_write_bio()
434 int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx, in PEM_ASN1_write_bio_ctx() argument
439 return PEM_ASN1_write_bio_internal(NULL, i2d, vctx, name, bp, x, enc, in PEM_ASN1_write_bio_ctx()
/freebsd/crypto/openssl/include/openssl/
H A Dasn1.h364 #define CHECKED_I2D_OF(type, i2d) \ argument
365 ((i2d_of_void *)(1 ? i2d : ((I2D_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
902 ((type *)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
935 int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x);
937 #define ASN1_i2d_fp_of(type, i2d, out, x) \ argument
938 (ASN1_i2d_fp(CHECKED_I2D_OF(type, i2d), \
959 int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x);
961 #define ASN1_i2d_bio_of(type, i2d, out, x) \ argument
[all …]
H A Dasn1.h.in317 #define CHECKED_I2D_OF(type, i2d) \ argument
318 ((i2d_of_void *)(1 ? i2d : ((I2D_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
735 ((type *)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
768 int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x);
770 #define ASN1_i2d_fp_of(type, i2d, out, x) \ argument
771 (ASN1_i2d_fp(CHECKED_I2D_OF(type, i2d), \
792 int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x);
794 #define ASN1_i2d_bio_of(type, i2d, out, x) \ argument
[all …]
H A Dpem.h396 int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp,
400 int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx,
423 int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp,
/freebsd/crypto/openssl/doc/man3/
H A DPEM_read.pod26 int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp,
30 int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp,
34 int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx,
134 value to the B<i2d> function that serialises the input ASN.1 object.
H A Di2d_PKCS7_bio_stream.pod26 The prefix "i2d" is arguably wrong because the function outputs BER format.
H A Di2d_CMS_bio_stream.pod26 The prefix "i2d" is arguably wrong because the function outputs BER format.
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>
193 =head3 Migrating B<i2d> functions to B<OSSL_ENCODER>
199 B<i2d> functions names can therefore be translated into two variables,
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.pod154 immediately before a "i2d" operation for the B<ASN1_VALUE>.
159 immediately after a "i2d" operation for the B<ASN1_VALUE>.
H A Dd2i_PrivateKey.pod90 after a successful operation, just like the other d2i and i2d functions;
H A DASN1_EXTERN_FUNCS.pod112 An "i2d" function responsible for converting an B<ASN1_VALUE> into DER encoding.
/freebsd/lib/libc/arm/aeabi/
H A Daeabi_vfp_double.S159 AEABI_ENTRY(i2d)
164 AEABI_END(i2d)
H A Daeabi_double.c69 float64 AEABI_FUNC(i2d, int, int32_to_float64) in AEABI_FUNC2()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_conf.c156 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d()
164 method->i2d(ext_struc, &p); in do_ext_i2d()
/freebsd/crypto/openssl/doc/internal/man7/
H A DDERlib.pod10 as an alternative to the publicly known i2d and d2i functions. It's

12