Lines Matching refs:ASN1_OBJECT
26 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
27 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
28 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, obj);
37 ASN1_OBJECT *obj;
107 static int sn_cmp(const ASN1_OBJECT *const *a, const unsigned int *b) in sn_cmp()
112 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
114 static int ln_cmp(const ASN1_OBJECT *const *a, const unsigned int *b) in ln_cmp()
119 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
123 const ASN1_OBJECT *a; in added_obj_hash()
156 ASN1_OBJECT *a, *b; in added_obj_cmp()
263 static int ossl_obj_add_object(const ASN1_OBJECT *obj, int lock) in ossl_obj_add_object()
265 ASN1_OBJECT *o = NULL; in ossl_obj_add_object()
330 ASN1_OBJECT *OBJ_nid2obj(int n) in OBJ_nid2obj()
333 ASN1_OBJECT ob; in OBJ_nid2obj()
337 return (ASN1_OBJECT *)&(nid_objs[n]); in OBJ_nid2obj()
358 ASN1_OBJECT *ob = OBJ_nid2obj(n); in OBJ_nid2sn()
365 ASN1_OBJECT *ob = OBJ_nid2obj(n); in OBJ_nid2ln()
370 static int obj_cmp(const ASN1_OBJECT *const *ap, const unsigned int *bp) in obj_cmp()
373 const ASN1_OBJECT *a = *ap; in obj_cmp()
374 const ASN1_OBJECT *b = &nid_objs[*bp]; in obj_cmp()
384 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, obj);
386 static int ossl_obj_obj2nid(const ASN1_OBJECT *a, const int lock) in ossl_obj_obj2nid()
408 ad.obj = (ASN1_OBJECT *)a; /* casting away const is harmless here */ in ossl_obj_obj2nid()
423 ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name) in OBJ_txt2obj()
426 ASN1_OBJECT *op = NULL; in OBJ_txt2obj()
468 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) in OBJ_obj2txt()
626 ASN1_OBJECT *obj = OBJ_txt2obj(s, 0); in OBJ_txt2nid()
638 ASN1_OBJECT o; in OBJ_ln2nid()
639 const ASN1_OBJECT *oo = &o; in OBJ_ln2nid()
665 ASN1_OBJECT o; in OBJ_sn2nid()
666 const ASN1_OBJECT *oo = &o; in OBJ_sn2nid()
781 ASN1_OBJECT *tmpoid = NULL; in OBJ_create()
843 size_t OBJ_length(const ASN1_OBJECT *obj) in OBJ_length()
850 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj) in OBJ_get0_data()
857 int OBJ_add_object(const ASN1_OBJECT *obj) in OBJ_add_object()
862 int OBJ_obj2nid(const ASN1_OBJECT *a) in OBJ_obj2nid()