/external/boringssl/src/crypto/obj/ |
D | obj.c | 75 DEFINE_LHASH_OF(ASN1_OBJECT) 79 static LHASH_OF(ASN1_OBJECT) *global_added_by_data = NULL; 80 static LHASH_OF(ASN1_OBJECT) *global_added_by_nid = NULL; 81 static LHASH_OF(ASN1_OBJECT) *global_added_by_short_name = NULL; 82 static LHASH_OF(ASN1_OBJECT) *global_added_by_long_name = NULL; 98 ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o) { in OBJ_dup() 99 ASN1_OBJECT *r; in OBJ_dup() 109 return (ASN1_OBJECT *)o; in OBJ_dup() 163 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) { in OBJ_cmp() 173 const uint8_t *OBJ_get0_data(const ASN1_OBJECT *obj) { in OBJ_get0_data() [all …]
|
/external/boringssl/src/include/openssl/ |
D | obj.h | 88 OPENSSL_EXPORT ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *obj); 92 OPENSSL_EXPORT int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); 95 OPENSSL_EXPORT const uint8_t *OBJ_get0_data(const ASN1_OBJECT *obj); 98 OPENSSL_EXPORT size_t OBJ_length(const ASN1_OBJECT *obj); 105 OPENSSL_EXPORT int OBJ_obj2nid(const ASN1_OBJECT *obj); 129 OPENSSL_EXPORT const ASN1_OBJECT *OBJ_nid2obj(int nid); 150 OPENSSL_EXPORT ASN1_OBJECT *OBJ_txt2obj(const char *s, int dont_search_names); 160 OPENSSL_EXPORT int OBJ_obj2txt(char *out, int out_len, const ASN1_OBJECT *obj,
|
D | x509.h | 141 ASN1_OBJECT *object; 165 ASN1_OBJECT *object; 178 ASN1_OBJECT *object; 232 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ 233 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */ 686 OPENSSL_EXPORT int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype, void *pval); 687 OPENSSL_EXPORT void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, 781 OPENSSL_EXPORT int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj); 782 OPENSSL_EXPORT int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj); 859 OPENSSL_EXPORT int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, [all …]
|
D | asn1.h | 179 DEFINE_STACK_OF(ASN1_OBJECT) 442 ASN1_OBJECT * object; 475 ASN1_OBJECT *algorithm; 627 OPENSSL_EXPORT ASN1_OBJECT * ASN1_OBJECT_new(void ); 628 OPENSSL_EXPORT void ASN1_OBJECT_free(ASN1_OBJECT *a); 629 OPENSSL_EXPORT int i2d_ASN1_OBJECT(ASN1_OBJECT *a,unsigned char **pp); 630 OPENSSL_EXPORT ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a,const unsigned char **pp, 632 OPENSSL_EXPORT ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,const unsigned char **pp, 635 DECLARE_ASN1_ITEM(ASN1_OBJECT) 637 DECLARE_ASN1_SET_OF(ASN1_OBJECT) [all …]
|
D | x509v3.h | 171 ASN1_OBJECT *type_id; 203 ASN1_OBJECT *registeredID; 209 ASN1_OBJECT *rid; /* registeredID */ 222 ASN1_OBJECT *method; 231 typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE; 301 ASN1_OBJECT *pqualid; 313 ASN1_OBJECT *policyid; 323 ASN1_OBJECT *issuerDomainPolicy; 324 ASN1_OBJECT *subjectDomainPolicy; 352 ASN1_OBJECT *policyLanguage; [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | a_object.c | 69 int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp) in i2d_ASN1_OBJECT() 101 int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a) in i2t_ASN1_OBJECT() 106 int i2a_ASN1_OBJECT(BIO *bp, ASN1_OBJECT *a) in i2a_ASN1_OBJECT() 128 ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in d2i_ASN1_OBJECT() 135 ASN1_OBJECT *ret = NULL; in d2i_ASN1_OBJECT() 156 ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in c2i_ASN1_OBJECT() 159 ASN1_OBJECT *ret = NULL; in c2i_ASN1_OBJECT() 230 ASN1_OBJECT *ASN1_OBJECT_new(void) in ASN1_OBJECT_new() 232 ASN1_OBJECT *ret; in ASN1_OBJECT_new() 234 ret = (ASN1_OBJECT *)OPENSSL_malloc(sizeof(ASN1_OBJECT)); in ASN1_OBJECT_new() [all …]
|
/external/boringssl/src/crypto/x509v3/ |
D | pcy_int.h | 76 ASN1_OBJECT *valid_policy; 78 STACK_OF(ASN1_OBJECT) *expected_policy_set; 188 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *id, 193 const ASN1_OBJECT *id); 204 const ASN1_OBJECT *id); 207 const ASN1_OBJECT *id); 215 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid);
|
D | pcy_node.c | 77 const ASN1_OBJECT *id) in tree_find_sk() 83 n.valid_policy = (ASN1_OBJECT *)id; in tree_find_sk() 96 const ASN1_OBJECT *id) in level_find_node() 169 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid) in policy_node_match() 172 ASN1_OBJECT *policy_oid; in policy_node_match()
|
D | v3_extku.c | 97 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, EXTENDED_KEY_USAGE, ASN1_OBJECT) in ASN1_ITEM_TEMPLATE() 108 ASN1_OBJECT *obj; in ASN1_ITEM_TEMPLATE() 124 ASN1_OBJECT *objtmp; in v2i_EXTENDED_KEY_USAGE()
|
D | v3_genn.c | 67 ASN1_SIMPLE(OTHERNAME, type_id, ASN1_OBJECT), 92 ASN1_IMP(GENERAL_NAME, d.registeredID, ASN1_OBJECT, GEN_RID) 223 ASN1_OBJECT *oid, ASN1_TYPE *value) in GENERAL_NAME_set0_othername() 237 ASN1_OBJECT **poid, ASN1_TYPE **pvalue) in GENERAL_NAME_get0_otherName()
|
D | v3_pmaps.c | 84 ASN1_SIMPLE(POLICY_MAPPING, issuerDomainPolicy, ASN1_OBJECT), 85 ASN1_SIMPLE(POLICY_MAPPING, subjectDomainPolicy, ASN1_OBJECT) 118 ASN1_OBJECT *obj1, *obj2; in v2i_POLICY_MAPPINGS()
|
D | pcy_tree.c | 90 STACK_OF(ASN1_OBJECT) *pset = node->data->expected_policy_set; in expected_print() 91 ASN1_OBJECT *oid; in expected_print() 374 const ASN1_OBJECT *id, in tree_add_unmatched() 416 STACK_OF(ASN1_OBJECT) *expset = node->data->expected_policy_set; in tree_link_unmatched() 421 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(expset, i); in tree_link_unmatched() 612 STACK_OF(ASN1_OBJECT) *policy_oids, in tree_calculate_user_set() 617 ASN1_OBJECT *oid; in tree_calculate_user_set() 739 STACK_OF(ASN1_OBJECT) *policy_oids, unsigned int flags) in X509_policy_check()
|
D | v3_cpols.c | 107 ASN1_SIMPLE(POLICYINFO, policyid, ASN1_OBJECT), 121 ASN1_SIMPLE(POLICYQUALINFO, pqualid, ASN1_OBJECT), 147 ASN1_OBJECT *pobj; 227 ASN1_OBJECT *pobj; in policy_section() 243 qual->pqualid = (ASN1_OBJECT *)OBJ_nid2obj(NID_id_qt_cps); in policy_section() 311 qual->pqualid = (ASN1_OBJECT *)OBJ_nid2obj(NID_id_qt_unotice); in notice_section()
|
D | pcy_data.c | 88 const ASN1_OBJECT *cid, int crit) in policy_data_new() 91 ASN1_OBJECT *id; in policy_data_new()
|
/external/boringssl/src/crypto/x509/ |
D | x509name.c | 71 const ASN1_OBJECT *obj; in X509_NAME_get_text_by_NID() 79 int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ() 106 const ASN1_OBJECT *obj; in X509_NAME_get_index_by_NID() 115 int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ() 179 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ() 286 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_txt() 304 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); in X509_NAME_ENTRY_create_by_NID() 313 const ASN1_OBJECT *obj, in X509_NAME_ENTRY_create_by_OBJ() 340 int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj) in X509_NAME_ENTRY_set_object() 376 ASN1_OBJECT *X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne) in X509_NAME_ENTRY_get_object()
|
D | x_x509a.c | 74 ASN1_SEQUENCE_OF_OPT(X509_CERT_AUX, trust, ASN1_OBJECT), 75 ASN1_IMP_SEQUENCE_OF_OPT(X509_CERT_AUX, reject, ASN1_OBJECT, 0), 144 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_trust_object() 146 ASN1_OBJECT *objtmp = OBJ_dup(obj); in X509_add1_trust_object() 164 int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_reject_object() 166 ASN1_OBJECT *objtmp = OBJ_dup(obj); in X509_add1_reject_object()
|
D | x509_att.c | 73 const ASN1_OBJECT *obj; in X509at_get_attr_by_NID() 82 const ASN1_OBJECT *obj, int lastpos) in X509at_get_attr_by_OBJ() 154 **x, const ASN1_OBJECT *obj, in STACK_OF() 201 ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() 220 const ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_NID() 231 const ASN1_OBJECT *obj, in X509_ATTRIBUTE_create_by_OBJ() 264 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_txt() 278 int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) in X509_ATTRIBUTE_set1_object() 350 ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr) in X509_ATTRIBUTE_get0_object()
|
D | x509_v3.c | 75 const ASN1_OBJECT *obj; in X509v3_get_ext_by_NID() 84 const ASN1_OBJECT *obj, int lastpos) in X509v3_get_ext_by_OBJ() 186 const ASN1_OBJECT *obj; in X509_EXTENSION_create_by_NID() 199 const ASN1_OBJECT *obj, int crit, in X509_EXTENSION_create_by_OBJ() 228 int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj) in X509_EXTENSION_set_object() 257 ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex) in X509_EXTENSION_get_object()
|
D | x_algor.c | 66 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT), 80 int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype, 94 alg->algorithm = (ASN1_OBJECT *)aobj; 108 void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, const void **ppval, in X509_ALGOR_get0()
|
D | x_attrib.c | 78 ASN1_SIMPLE(X509_ATTRIBUTE, object, ASN1_OBJECT), 94 ret->object = (ASN1_OBJECT *)OBJ_nid2obj(nid);
|
D | x509_ext.c | 75 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ() 121 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() 169 int X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x, ASN1_OBJECT *obj, in X509_REVOKED_get_ext_by_OBJ()
|
D | x509.c | 68 int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj, int version, in OPENSSL_DECLARE_ERROR_REASON() 107 int PKCS8_pkey_get0(ASN1_OBJECT **ppkalg, const uint8_t **pk, int *ppklen, in PKCS8_pkey_get0()
|
D | x509_req.c | 239 attr->object = (ASN1_OBJECT *)OBJ_nid2obj(nid); in X509_REQ_add_extensions_nid() 271 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, in X509_REQ_get_attr_by_OBJ() 295 const ASN1_OBJECT *obj, int type, in X509_REQ_add1_attr_by_OBJ()
|
/external/wpa_supplicant_8/hs20/client/ |
D | est.c | 211 ASN1_OBJECT *type; 212 STACK_OF(ASN1_OBJECT) *values; 218 ASN1_OBJECT *oid; 233 ASN1_SIMPLE(Attribute, type, ASN1_OBJECT), 234 ASN1_SET_OF(Attribute, values, ASN1_OBJECT) 238 ASN1_SIMPLE(AttrOrOID, d.oid, ASN1_OBJECT), 249 static void add_csrattrs_oid(struct hs20_osu_client *ctx, ASN1_OBJECT *oid, in add_csrattrs_oid() 273 STACK_OF(ASN1_OBJECT) *values, in add_csrattrs_ext_req() 281 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(values, i); in add_csrattrs_ext_req() 323 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(attr->values, i); in add_csrattrs_attr()
|
/external/kmod/libkmod/ |
D | libkmod-signature.c | 141 static int obj_to_hash_algo(const ASN1_OBJECT *o) in obj_to_hash_algo() 174 ASN1_OBJECT *o; in x509_name_to_str() 210 const ASN1_OBJECT *o; in fill_pkcs7()
|