Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/asn1/
Da_type.c65 int ASN1_TYPE_get(ASN1_TYPE *a) in ASN1_TYPE_get()
73 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) in ASN1_TYPE_set()
77 ASN1_TYPE **tmp_a = &a; in ASN1_TYPE_set()
87 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value) in ASN1_TYPE_set1()
114 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b) in ASN1_TYPE_cmp()
Dtasn_typ.c101 IMPLEMENT_ASN1_FUNCTIONS_fname(ASN1_TYPE, ASN1_ANY, ASN1_TYPE);
Dtasn_fre.c218 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; in ASN1_primitive_free()
Dtasn_new.c326 ASN1_TYPE *typ; in ASN1_primitive_new()
359 typ = OPENSSL_malloc(sizeof(ASN1_TYPE)); in ASN1_primitive_new()
Dtasn_prn.c556 ASN1_TYPE *atype = (ASN1_TYPE *)*fld; in asn1_primitive_print()
Dtasn_enc.c601 ASN1_TYPE *typ; in asn1_ex_i2c()
602 typ = (ASN1_TYPE *)*pval; in asn1_ex_i2c()
Dtasn_dec.c927 ASN1_TYPE *typ = NULL; in asn1_ex_c2i()
946 typ = (ASN1_TYPE *)*pval; in asn1_ex_c2i()
/external/boringssl/src/crypto/x509/
Dasn1_gen.c130 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf);
131 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
134 ASN1_TYPE *ASN1_generate_nconf(char *str, CONF *nconf) in ASN1_generate_nconf()
145 ASN1_TYPE *ASN1_generate_v3(char *str, X509V3_CTX *cnf) in ASN1_generate_v3()
148 ASN1_TYPE *ret; in ASN1_generate_v3()
467 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf) in asn1_multi()
469 ASN1_TYPE *ret = NULL; in asn1_multi()
470 STACK_OF(ASN1_TYPE) *sk = NULL; in asn1_multi()
487 ASN1_TYPE *typ = ASN1_generate_v3(sk_CONF_VALUE_value(sect, i)->value, cnf); in asn1_multi()
648 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype) in asn1_str2type()
[all …]
Dx509_att.c281 ASN1_TYPE *ttmp; in X509_ATTRIBUTE_set1_data()
337 ASN1_TYPE *ttmp; in X509_ATTRIBUTE_get0_data()
347 ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx) in X509_ATTRIBUTE_get0_type()
Dx_attrib.c100 ASN1_TYPE *val=NULL;
Dx509_req.c187 ASN1_TYPE *ext = NULL; in STACK_OF()
220 ASN1_TYPE *at = NULL; in X509_REQ_add_extensions_nid()
Da_strex.c255 ASN1_TYPE t; in do_dump()
/external/boringssl/src/include/openssl/
Dasn1.h504 } ASN1_TYPE; typedef
506 DECLARE_ASN1_SET_OF(ASN1_TYPE)
508 typedef STACK_OF(ASN1_TYPE) ASN1_SEQUENCE_ANY;
516 ASN1_TYPE *parameter;
737 DECLARE_ASN1_FUNCTIONS_fname(ASN1_TYPE, ASN1_ANY, ASN1_TYPE)
739 OPENSSL_EXPORT int ASN1_TYPE_get(ASN1_TYPE *a);
740 OPENSSL_EXPORT void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
741 OPENSSL_EXPORT int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
742 OPENSSL_EXPORT int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
1017 OPENSSL_EXPORT ASN1_TYPE *ASN1_generate_nconf(char *str, CONF *nconf);
[all …]
Dstack_macros.h534 ((STACK_OF(ASN1_TYPE) *)sk_new( \
536 int (*)(const ASN1_TYPE **a, const ASN1_TYPE **b), comp)))
538 #define sk_ASN1_TYPE_new_null() ((STACK_OF(ASN1_TYPE) *)sk_new_null())
541 sk_num(CHECKED_CAST(_STACK *, STACK_OF(ASN1_TYPE) *, sk))
544 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(ASN1_TYPE) *, sk));
547 ((ASN1_TYPE *)sk_value( \
548 CHECKED_CAST(_STACK *, const STACK_OF(ASN1_TYPE) *, sk), (i)))
551 ((ASN1_TYPE *)sk_set(CHECKED_CAST(_STACK *, STACK_OF(ASN1_TYPE) *, sk), (i), \
552 CHECKED_CAST(void *, ASN1_TYPE *, p)))
555 sk_free(CHECKED_CAST(_STACK *, STACK_OF(ASN1_TYPE) *, sk))
[all …]
Dx509v3.h162 ASN1_TYPE *value;
188 ASN1_TYPE *x400Address;
200 ASN1_TYPE *other; /* x400Address */
293 ASN1_TYPE *other;
551 ASN1_OBJECT *oid, ASN1_TYPE *value);
553 ASN1_OBJECT **poid, ASN1_TYPE **pvalue);
Dx509.h184 /* 0 */ STACK_OF(ASN1_TYPE) *set;
185 /* 1 */ ASN1_TYPE *single;
525 ASN1_TYPE *salt; /* Usually OCTET STRING but could be anything */
544 ASN1_TYPE *pkey; /* Should be OCTET STRING but some are broken */
1077 OPENSSL_EXPORT ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx);
/external/boringssl/src/crypto/x509v3/
Dv3_genn.c229 ASN1_OBJECT *oid, ASN1_TYPE *value) in GENERAL_NAME_set0_othername()
242 ASN1_OBJECT **poid, ASN1_TYPE **pvalue) in GENERAL_NAME_get0_otherName()
Dv3_conf.c313 ASN1_TYPE *typ; in generic_asn1()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c87 static int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len) in ASN1_TYPE_set_octetstring()
101 static int param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in param_to_asn1()
Dpkcs8.c218 size_t pass_raw_len, ASN1_TYPE *param, in pkcs12_pbe_keyivgen()
268 size_t pass_raw_len, ASN1_TYPE *param,
294 ASN1_TYPE *param, in pbe_cipher_init()
/external/boringssl/src/crypto/evp/
Dasn1.c115 STACK_OF(ASN1_TYPE) *inkey; in d2i_AutoPrivateKey()
/external/boringssl/src/crypto/ec/
Dec_asn1.c75 ASN1_TYPE *other;
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c199 ASN1_TYPE *val; in add_alt_name_othername()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp6069 return ASN1ToByteArray<ASN1_TYPE>(env, crl->sig_alg->parameter, i2d_ASN1_TYPE);
7005 return ASN1ToByteArray<ASN1_TYPE>(env, x509->sig_alg->parameter, i2d_ASN1_TYPE);