Lines Matching defs:data
22 * look_up_OID - Find an OID registration for the specified data
23 * @data: Binary representation of the OID
26 enum OID look_up_OID(const void *data, size_t datasize)
28 const unsigned char *octets = data;
34 /* Hash the OID data */
98 * @data: Binary representation of the header + OID
106 int parse_OID(const void *data, size_t datasize, enum OID *oid)
108 const unsigned char *v = data;
114 *oid = look_up_OID(data + 2, datasize - 2);
121 * @data: The encoded OID to print
127 * bytes is returned. -EBADMSG is returned if the data could not be intepreted
130 int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize)
132 const unsigned char *v = data, *end = v + datasize;