Lines Matching refs:ASN1_OBJECT

24 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
25 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
26 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, obj);
35 ASN1_OBJECT *obj;
41 static int sn_cmp(const ASN1_OBJECT *const *a, const unsigned int *b)
46 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
48 static int ln_cmp(const ASN1_OBJECT *const *a, const unsigned int *b)
53 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
57 const ASN1_OBJECT *a;
90 ASN1_OBJECT *a, *b;
174 int OBJ_add_object(const ASN1_OBJECT *obj)
176 ASN1_OBJECT *o;
220 ASN1_OBJECT *OBJ_nid2obj(int n)
223 ASN1_OBJECT ob;
230 return (ASN1_OBJECT *)&(nid_objs[n]);
253 ASN1_OBJECT ob;
283 ASN1_OBJECT ob;
310 static int obj_cmp(const ASN1_OBJECT *const *ap, const unsigned int *bp)
313 const ASN1_OBJECT *a = *ap;
314 const ASN1_OBJECT *b = &nid_objs[*bp];
324 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, obj);
326 int OBJ_obj2nid(const ASN1_OBJECT *a)
344 ad.obj = (ASN1_OBJECT *)a; /* XXX: ugly but harmless */
356 * Convert an object name into an ASN1_OBJECT if "noname" is not set then
362 ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name)
365 ASN1_OBJECT *op;
412 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name)
567 ASN1_OBJECT *obj;
577 ASN1_OBJECT o;
578 const ASN1_OBJECT *oo = &o;
601 ASN1_OBJECT o;
602 const ASN1_OBJECT *oo = &o;
713 ASN1_OBJECT *tmpoid = NULL;
723 /* Convert numerical OID string to an ASN1_OBJECT structure */
751 size_t OBJ_length(const ASN1_OBJECT *obj)
758 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj)