Home
last modified time | relevance | path

Searched refs:oid (Results 1 – 3 of 3) sorted by relevance

/lib/
Doid_registry.c29 enum OID oid; in look_up_OID() local
61 oid = oid_search_table[j].oid; in look_up_OID()
62 len = oid_index[oid + 1] - oid_index[oid]; in look_up_OID()
76 unsigned char a = oid_data[oid_index[oid] + --len]; in look_up_OID()
87 return oid; in look_up_OID()
106 int parse_OID(const void *data, size_t datasize, enum OID *oid) in parse_OID() argument
114 *oid = look_up_OID(data + 2, datasize - 2); in parse_OID()
186 int sprint_OID(enum OID oid, char *buffer, size_t bufsize) in sprint_OID() argument
190 BUG_ON(oid >= OID__NR); in sprint_OID()
192 ret = sprint_oid(oid_data + oid_index[oid], in sprint_OID()
[all …]
Dasn1_encoder.c89 static int asn1_encode_oid_digit(unsigned char **_data, int *data_len, u32 oid) in asn1_encode_oid_digit() argument
99 if (oid == 0) { in asn1_encode_oid_digit()
105 while (oid >> start == 0) in asn1_encode_oid_digit()
111 byte = oid >> start; in asn1_encode_oid_digit()
112 oid = oid - (byte << start); in asn1_encode_oid_digit()
120 *data++ = oid; in asn1_encode_oid_digit()
142 u32 oid[], int oid_len) in asn1_encode_oid() argument
163 *d++ = oid[0] * 40 + oid[1]; in asn1_encode_oid()
168 ret = asn1_encode_oid_digit(&d, &data_len, oid[i]); in asn1_encode_oid()
Dbuild_OID_registry56 my $oid = $oids[$i];
58 my @components = split(/[.]/, $oid);