Home
last modified time | relevance | path

Searched refs:ASN1_VALUE (Results 1 – 24 of 24) sorted by relevance

/external/boringssl/src/include/openssl/
Dasn1t.h600 typedef ASN1_VALUE * ASN1_new_func(void);
601 typedef void ASN1_free_func(ASN1_VALUE *a);
602 typedef ASN1_VALUE * ASN1_d2i_func(ASN1_VALUE **a, const unsigned char ** in, long length);
603 typedef int ASN1_i2d_func(ASN1_VALUE * a, unsigned char **in);
605 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
608 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a…
609 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
610 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
612 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval,
616 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM…
[all …]
Dasn1.h281 typedef struct ASN1_VALUE_st ASN1_VALUE; typedef
501 ASN1_VALUE * asn1_value;
1007 OPENSSL_EXPORT ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
1008 OPENSSL_EXPORT void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
1009 OPENSSL_EXPORT ASN1_VALUE * ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, long len, con…
1010 OPENSSL_EXPORT int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1011 OPENSSL_EXPORT int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1039 OPENSSL_EXPORT int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent, const ASN1_ITEM *it, con…
1055 OPENSSL_EXPORT BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
1057 OPENSSL_EXPORT int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, const ASN1_IT…
[all …]
Dstack_macros.h613 ((STACK_OF(ASN1_VALUE) *)sk_new(CHECKED_CAST( \
614 stack_cmp_func, int (*)(const ASN1_VALUE **a, const ASN1_VALUE **b), \
617 #define sk_ASN1_VALUE_new_null() ((STACK_OF(ASN1_VALUE) *)sk_new_null())
620 sk_num(CHECKED_CAST(_STACK *, STACK_OF(ASN1_VALUE) *, sk))
623 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(ASN1_VALUE) *, sk));
626 ((ASN1_VALUE *)sk_value( \
627 CHECKED_CAST(_STACK *, const STACK_OF(ASN1_VALUE) *, sk), (i)))
630 ((ASN1_VALUE *)sk_set(CHECKED_CAST(_STACK *, STACK_OF(ASN1_VALUE) *, sk), \
631 (i), CHECKED_CAST(void *, ASN1_VALUE *, p)))
634 sk_free(CHECKED_CAST(_STACK *, STACK_OF(ASN1_VALUE) *, sk))
[all …]
/external/boringssl/src/crypto/asn1/
Dtasn_new.c67 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
69 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
70 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
71 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new()
75 ASN1_VALUE *ret = NULL; in ASN1_item_new()
83 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new()
88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_item_ex_combine_new()
96 ASN1_VALUE **pseqval; in asn1_item_ex_combine_new()
229 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear()
[all …]
Dtasn_utl.c76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_choice_selector()
82 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, in asn1_set_choice_selector()
91 static CRYPTO_refcount_t *asn1_get_references(ASN1_VALUE **pval, in asn1_get_references()
104 void asn1_refcount_set_one(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_set_one()
111 int asn1_refcount_dec_and_test_zero(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_dec_and_test_zero()
119 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_enc_ptr()
131 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_enc_init()
141 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_enc_free()
154 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, in asn1_enc_save()
176 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, in asn1_enc_restore()
[all …]
Dx_bignum.c71 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
74 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
75 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont…
95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start()
97 *pval = (ASN1_VALUE *)BN_new(); in ASN1_ITEM_start()
102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free()
110 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in bn_i2c()
126 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in bn_c2i()
Dx_long.c72 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
76 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co…
77 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX…
97 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start()
103 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free()
108 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in long_i2c()
145 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in long_c2i()
178 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, in long_print()
Dtasn_fre.c63 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine);
67 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free()
72 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free()
77 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) in asn1_item_combine_free()
118 ASN1_VALUE **pchval; in asn1_item_combine_free()
163 ASN1_VALUE **pseqval; in asn1_item_combine_free()
181 void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ASN1_template_free()
186 STACK_OF(ASN1_VALUE) *sk = (STACK_OF(ASN1_VALUE) *)*pval; in ASN1_template_free()
189 ASN1_VALUE *vtmp; in ASN1_template_free()
202 void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_free()
Dtasn_enc.c65 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
68 static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out,
71 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
74 static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out,
81 int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, in ASN1_item_ndef_i2d()
87 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d()
101 static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out, in asn1_item_flags_i2d()
128 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, in ASN1_item_ex_i2d()
164 ASN1_VALUE **pchval; in ASN1_item_ex_i2d()
223 ASN1_VALUE **pseqval; in ASN1_item_ex_i2d()
[all …]
Dtasn_dec.c83 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
87 static int asn1_template_noexp_d2i(ASN1_VALUE **val,
91 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
129 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, in ASN1_item_d2i()
133 ASN1_VALUE *ptmpval = NULL; in ASN1_item_d2i()
142 int ASN1_template_d2i(ASN1_VALUE **pval, in ASN1_template_d2i()
155 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, in ASN1_item_ex_d2i()
172 ASN1_VALUE **pchptr, *ptmpval; in ASN1_item_ex_d2i()
417 ASN1_VALUE **pseqval; in ASN1_item_ex_d2i()
428 ASN1_VALUE **pseqval; in ASN1_item_ex_d2i()
[all …]
Dtasn_prn.c159 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
164 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
167 static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
176 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent, in ASN1_item_print()
190 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, in asn1_item_print_ctx()
197 ASN1_VALUE **tmpfld; in asn1_item_print_ctx()
342 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, in asn1_template_print_ctx()
360 ASN1_VALUE *skitem; in asn1_template_print_ctx()
361 STACK_OF(ASN1_VALUE) *stack; in asn1_template_print_ctx()
380 stack = (STACK_OF(ASN1_VALUE) *)*fld; in asn1_template_print_ctx()
[all …]
Dbio_ndef.c89 ASN1_VALUE *val;
106 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it) in BIO_new_NDEF()
Da_type.c78 ASN1_primitive_free((ASN1_VALUE **)tmp_a, NULL); in ASN1_TYPE_set()
/external/boringssl/src/crypto/x509/
Dx_name.c75 static int x509_name_ex_d2i(ASN1_VALUE **val,
80 static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out,
82 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
83 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
92 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval,
138 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in IMPLEMENT_EXTERN_ASN1()
149 *val = (ASN1_VALUE *)ret; in IMPLEMENT_EXTERN_ASN1()
163 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free()
188 static int x509_name_ex_d2i(ASN1_VALUE **val, in x509_name_ex_d2i()
194 ASN1_VALUE *a; } intname = {NULL}; in x509_name_ex_d2i()
[all …]
Dx_req.c81 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rinf_cb()
Dx_crl.c118 static int crl_inf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in crl_inf_cb()
233 static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in crl_cb()
Dx_x509.c91 static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in x509_cb()
Dx509_req.c228 ASN1_item_i2d((ASN1_VALUE *)exts, in X509_REQ_add_extensions_nid()
Dx_pubkey.c71 static int pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in pubkey_cb()
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c67 static int dsa_sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dsa_sig_cb()
81 *pval = (ASN1_VALUE *)sig; in dsa_sig_cb()
92 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dsa_cb()
96 *pval = (ASN1_VALUE *)DSA_new(); in dsa_cb()
/external/boringssl/src/crypto/dh/
Ddh_asn1.c64 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dh_cb()
67 *pval = (ASN1_VALUE *)DH_new(); in dh_cb()
/external/boringssl/src/crypto/pkcs8/
Dp8_pkey.c64 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in pkey_cb()
/external/boringssl/src/crypto/x509v3/
Dv3_crld.c375 static int dpn_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in IMPLEMENT_ASN1_SET_OF()
/external/webrtc/webrtc/base/
Dopenssladapter.cc789 ASN1_item_free(reinterpret_cast<ASN1_VALUE*>(ext_str), in VerifyServerName()