Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/asn1/
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 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
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()
146 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i()
178 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, in long_print()
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 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 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()
127 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i()
Dtasn_utl.c76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_choice_selector()
83 const ASN1_ITEM *it) { in asn1_set_choice_selector()
92 const ASN1_ITEM *it) { 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()
155 const ASN1_ITEM *it) { in asn1_enc_save()
177 const ASN1_ITEM *it) { in asn1_enc_restore()
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);
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()
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()
229 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear()
267 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in ASN1_template_new()
324 int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_new()
379 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_primitive_clear()
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()
202 void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_free()
Dtasn_enc.c66 const ASN1_ITEM *it,
69 int skcontlen, const ASN1_ITEM *item,
75 const ASN1_ITEM *it, int flags);
82 const ASN1_ITEM *it) in ASN1_item_ndef_i2d()
87 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d()
102 const ASN1_ITEM *it, int flags) in asn1_item_flags_i2d()
129 const ASN1_ITEM *it, int tag, int aclass) in ASN1_item_ex_i2d()
439 int skcontlen, const ASN1_ITEM *item, in asn1_set_seq_out()
509 const ASN1_ITEM *it, int tag, int aclass) in asn1_i2d_ex_primitive()
570 const ASN1_ITEM *it) in asn1_ex_i2c()
Dasn_pack.c65 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
95 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
Da_i2d_fp.c112 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x) in ASN1_item_i2d_fp()
128 int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x) in ASN1_item_i2d_bio()
Dtasn_prn.c160 const ASN1_ITEM *it,
168 const ASN1_ITEM *it, int indent,
177 const ASN1_ITEM *it, const ASN1_PCTX *pctx) in ASN1_item_print()
191 const ASN1_ITEM *it, in asn1_item_print_ctx()
535 const ASN1_ITEM *it, int indent, in asn1_primitive_print()
Dbio_ndef.c90 const ASN1_ITEM *it;
106 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it) in BIO_new_NDEF()
Da_d2i_fp.c107 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x) in ASN1_item_d2i_bio()
125 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) in ASN1_item_d2i_fp()
Da_dup.c87 void *ASN1_item_dup(const ASN1_ITEM *it, void *x) in ASN1_item_dup()
Dtasn_dec.c93 const ASN1_ITEM *it,
130 const unsigned char **in, long len, const ASN1_ITEM *it) in ASN1_item_d2i()
156 const ASN1_ITEM *it, in ASN1_item_ex_d2i()
767 const ASN1_ITEM *it, in asn1_d2i_ex_primitive()
924 int utype, char *free_cont, const ASN1_ITEM *it) in asn1_ex_c2i()
/external/boringssl/src/include/openssl/
Dasn1t.h82 const ASN1_ITEM itname##_it = {
295 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname…
296 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblnam…
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);
616 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM
617 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
618 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons…
[all …]
Dasn1.h381 typedef const ASN1_ITEM ASN1_ITEM_EXP;
392 extern OPENSSL_EXPORT const ASN1_ITEM name##_it;
906 OPENSSL_EXPORT void *ASN1_item_dup(const ASN1_ITEM *it, void *x);
923 OPENSSL_EXPORT void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
936 OPENSSL_EXPORT int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x);
950 OPENSSL_EXPORT void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x);
963 OPENSSL_EXPORT int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x);
983 OPENSSL_EXPORT void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
991 OPENSSL_EXPORT ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);
1007 OPENSSL_EXPORT ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
[all …]
/external/boringssl/src/crypto/x509/
Dx_name.c77 const ASN1_ITEM *it,
81 const ASN1_ITEM *it, int tag, int aclass);
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);
138 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in IMPLEMENT_EXTERN_ASN1()
163 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free()
189 const unsigned char **in, long len, const ASN1_ITEM *it, in x509_name_ex_d2i()
246 static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out, const ASN1_ITEM *it, int tag, in… in x509_name_ex_i2d()
Da_sign.c68 int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign()
83 int ASN1_item_sign_ctx(const ASN1_ITEM *it, in ASN1_item_sign_ctx()
Dx_req.c81 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rinf_cb()
Da_digest.c85 int ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn, in ASN1_item_digest()
Da_verify.c74 int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, in ASN1_item_verify()
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()
/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()
92 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 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()
/external/boringssl/src/crypto/pkcs8/
Dp8_pkey.c64 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in pkey_cb()

12