Searched defs:hexstr (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c38 * hexstr
41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) argument
49 hexstr[2 * i] = hexlist[(bytes[i] >> 4) & 0xf];
50 hexstr[2 * i + 1] = hexlist[bytes[i] & 0xf];
52 hexstr[2 * blen] = '\0';
67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) argument
76 if (hexstr == NULL || (hexlen % 2 == 1))
79 if (hexstr[0] == '0' && ((hexstr[1] == 'x') || (hexstr[
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1058 kmf_hexstr_to_bytes(unsigned char *hexstr, unsigned char **bytes, argument
1067 if (hexstr == NULL) {
1071 if (hexstr[0] == '0' && ((hexstr[1] == 'x') || (hexstr[1] == 'X')))
1072 hexstr += 2;
1074 for (i = 0; i < strlen((char *)hexstr) && isxdigit(hexstr[i]); i++)
1081 if (i != strlen((char *)hexstr))
1093 ch = (unsigned char) *hexstr;
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c538 char hexstr[17]; local
553 (void) snprintf(hexstr, sizeof (hexstr), "%llx", val);
556 hexstr);

Completed in 64 milliseconds