Home
last modified time | relevance | path

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

1234

/freebsd/crypto/openssl/crypto/asn1/
H A Dx_bignum.c24 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
25 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
26 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
29 const ASN1_ITEM *it);
31 int utype, char *free_cont, const ASN1_ITEM *it);
33 int utype, char *free_cont, const ASN1_ITEM *it);
34 static int bn_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it,
64 … static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start()
73 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_secure_new()
82 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free()
[all …]
H A Dasn1_local.h24 const ASN1_ITEM *it;
52 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it);
54 const ASN1_ITEM *it);
56 const ASN1_ITEM *it);
66 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
68 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it);
69 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
71 const ASN1_ITEM *it);
73 const ASN1_ITEM *it);
75 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed);
[all …]
H A Dx_long.c21 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
22 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
25 const ASN1_ITEM *it);
27 int utype, char *free_cont, const ASN1_ITEM *it);
28 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it,
48 … static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start()
54 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free()
85 const ASN1_ITEM *it) in long_i2c()
128 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i()
188 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, in long_print()
H A Dx_int64.c29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_new()
36 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_free()
42 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_clear()
48 const ASN1_ITEM *it) in uint64_i2c()
72 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i()
112 static int uint64_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, in uint64_print()
122 static int uint32_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_new()
129 static void uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_free()
135 static void uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_clear()
141 const ASN1_ITEM *it) in uint32_i2c()
[all …]
H A Dtasn_new.c18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
21 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
23 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
27 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
29 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new()
37 ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, in ASN1_item_new_ex()
48 int ossl_asn1_item_ex_new_intern(ASN1_VALUE **pval, const ASN1_ITEM *it, in ossl_asn1_item_ex_new_intern()
54 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new()
59 int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed, in asn1_item_embed_new()
172 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear()
[all …]
H A Dtasn_utl.c29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_get_choice_selector()
37 const ASN1_ITEM *it) in ossl_asn1_get_choice_selector_const()
49 const ASN1_ITEM *it) in ossl_asn1_set_choice_selector()
68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in ossl_asn1_do_lock()
116 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr()
129 const ASN1_ITEM *it) in asn1_get_const_enc_ptr()
141 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_enc_init()
152 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_enc_free()
165 const ASN1_ITEM *it) in ossl_asn1_enc_save()
185 const ASN1_ITEM *it) in ossl_asn1_enc_restore()
H A Dasn1_item_list.c28 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name) in ASN1_ITEM_lookup()
33 const ASN1_ITEM *it = ASN1_ITEM_ptr(asn1_item_list[i]); in ASN1_ITEM_lookup()
41 const ASN1_ITEM *ASN1_ITEM_get(size_t i) in ASN1_ITEM_get()
H A Dtasn_enc.c20 const ASN1_ITEM *it, int tag, int aclass);
23 int skcontlen, const ASN1_ITEM *item,
28 const ASN1_ITEM *it, int flags);
30 const ASN1_ITEM *it);
38 const ASN1_ITEM *it) in ASN1_item_ndef_i2d()
43 int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d()
56 const ASN1_ITEM *it, int flags) in asn1_item_flags_i2d()
82 const ASN1_ITEM *it, int tag, int aclass) in ASN1_item_ex_i2d()
400 int skcontlen, const ASN1_ITEM *item, in asn1_set_seq_out()
462 const ASN1_ITEM *it, int tag, int aclass) in asn1_i2d_ex_primitive()
[all …]
H A Dasn_pack.c16 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
52 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
63 void *ASN1_item_unpack_ex(const ASN1_STRING *oct, const ASN1_ITEM *it, in ASN1_item_unpack_ex()
H A Dtasn_fre.c18 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free()
23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free()
28 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in ossl_asn1_item_embed_free()
150 void ossl_asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in ossl_asn1_primitive_free()
H A Da_i2d_fp.c69 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x) in ASN1_item_i2d_fp()
85 int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x) in ASN1_item_i2d_bio()
111 BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val) in ASN1_item_i2d_mem_bio()
H A Da_d2i_fp.c58 void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *x, in ASN1_item_d2i_bio_ex()
79 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x) in ASN1_item_d2i_bio()
85 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, in ASN1_item_d2i_fp_ex()
101 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) in ASN1_item_d2i_fp()
/freebsd/crypto/openssl/doc/man3/
H A DASN1_ITEM_lookup.pod11 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
12 const ASN1_ITEM *ASN1_ITEM_get(size_t i);
16 ASN1_ITEM_lookup() returns the B<ASN1_ITEM> named I<name>.
18 ASN1_ITEM_get() returns the B<ASN1_ITEM> with index I<i>. This function
23 ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure
H A DASN1_item_d2i_bio.pod15 long len, const ASN1_ITEM *it,
18 long len, const ASN1_ITEM *it);
20 void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *x,
22 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x);
24 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x,
26 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
28 BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
30 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct);
32 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it);
34 void *ASN1_item_unpack_ex(const ASN1_STRING *oct, const ASN1_ITEM *it,
H A DASN1_EXTERN_FUNCS.pod15 const ASN1_ITEM *it, int tag, int aclass, char opt,
18 const ASN1_ITEM *it, int tag, int aclass, char opt,
22 const ASN1_ITEM *it, int tag, int aclass);
23 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
24 typedef int ASN1_ex_new_ex_func(ASN1_VALUE **pval, const ASN1_ITEM *it,
26 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 pointer to the B<ASN1_ITEM> template object created via the
81 pointer to the B<ASN1_ITEM> template object created via the
88 to the B<ASN1_ITEM> template object created via the IMPLEMENT_EXTERN_ASN1()
100 it will be zero. The I<it> parameter is a pointer to the B<ASN1_ITEM> template
H A DPKCS12_item_decrypt_d2i.pod13 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
16 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it,
22 const ASN1_ITEM *it,
26 const ASN1_ITEM *it,
H A DASN1_item_new.pod12 ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx,
14 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
19 B<ASN1_ITEM> template given in the I<it> parameter. If any algorithm fetches are
/freebsd/crypto/openssl/include/openssl/
H A Dasn1.h.in337 * The following macros and typedefs allow an ASN1_ITEM
339 * the ASN1_ITEM pointers need to be globally accessible
342 * ASN1_ITEM structure itself will be globally exported.
344 * an ASN1_ITEM pointer.
347 * should be used instead of hard coding an ASN1_ITEM
364 * const ASN1_ITEM *it = ASN1_ITEM_ptr(somevar.iptr);
366 * Finally an ASN1_ITEM pointer can be extracted from an
368 * would be used when a function takes an ASN1_ITEM * argument.
374 * functions returning ASN1_ITEM pointers.
377 /* ASN1_ITEM pointer exported type */
[all …]
H A Dasn1.h425 typedef const ASN1_ITEM *ASN1_ITEM_EXP(void);
436 attr const ASN1_ITEM *name##_it(void);
617 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
618 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
906 void *ASN1_item_dup(const ASN1_ITEM *it, const void *x);
907 int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1,
912 int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg,
932 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x,
934 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
942 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x);
[all …]
H A Dasn1t.h96 const ASN1_ITEM *itname##_it(void) \
98 static const ASN1_ITEM local_it = {
452 static const ASN1_ITEM *name##_adb(void) \
463 return (const ASN1_ITEM *)&internal_adb; \
619 const ASN1_ITEM *it, int tag, int aclass, char opt,
623 const ASN1_ITEM *it, int tag, int aclass, char opt,
627 const ASN1_ITEM *it, int tag, int aclass);
628 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
629 typedef int ASN1_ex_new_ex_func(ASN1_VALUE **pval, const ASN1_ITEM *it,
631 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
[all …]
H A Dasn1t.h.in44 * ASN1_ITEM structure and determine how it is interpreted.
94 /* Macros for start and end of ASN1_ITEM definition */
97 const ASN1_ITEM *itname##_it(void) \
99 static const ASN1_ITEM local_it = {
145 * This will produce an ASN1_ITEM called stname_it
279 * This will produce an ASN1_ITEM called chname_it
343 /* This helps with the template wrapper form of ASN1_ITEM */
453 static const ASN1_ITEM *name##_adb(void) \
464 return (const ASN1_ITEM *)&internal_adb; \
484 ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx_name.c28 const ASN1_ITEM *it,
32 const ASN1_ITEM *it, int tag, int aclass);
33 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
34 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
90 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in IMPLEMENT_EXTERN_ASN1()
116 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free()
143 const ASN1_ITEM *it, int tag, int aclass, in x509_name_ex_d2i()
215 const ASN1_ITEM *it, int tag, int aclass) in x509_name_ex_i2d()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_decr.c138 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i_ex()
174 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i()
188 const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt_ex()
223 const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_asn1.c28 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rsa_cb()
76 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
97 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
/freebsd/crypto/openssl/apps/include/
H A Dhttp_server.h68 int http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq,
86 const ASN1_ITEM *it, const ASN1_VALUE *resp);

1234