Symbol: hexstr
usr/src/boot/libsa/uuid_to_string.c
45
static const char *hexstr = "0123456789abcdef";
usr/src/boot/libsa/uuid_to_string.c
50
walker[i] = hexstr[val & 0xf];
usr/src/cmd/awk/b.c
342
c = hexstr(&p); /* this adds a null if number is invalid */
usr/src/cmd/cmd-crypto/pktool/genkey.c
118
char *hexstr = NULL;
usr/src/cmd/cmd-crypto/pktool/genkey.c
232
hexstr = malloc(hexstrlen);
usr/src/cmd/cmd-crypto/pktool/genkey.c
233
if (hexstr == NULL) {
usr/src/cmd/cmd-crypto/pktool/genkey.c
238
tohexstr(rkey->keydata.val, rkey->keydata.len, hexstr,
usr/src/cmd/cmd-crypto/pktool/genkey.c
240
(void) printf(gettext("\tKey Value =\"%s\"\n"), hexstr);
usr/src/cmd/cmd-crypto/pktool/genkey.c
247
if (hexstr != NULL)
usr/src/cmd/cmd-crypto/pktool/genkey.c
248
free(hexstr);
usr/src/cmd/cmd-crypto/pktool/genkey.c
261
char *hexstr = NULL;
usr/src/cmd/cmd-crypto/pktool/genkey.c
338
hexstr = malloc(hexstrlen);
usr/src/cmd/cmd-crypto/pktool/genkey.c
339
if (hexstr == NULL) {
usr/src/cmd/cmd-crypto/pktool/genkey.c
343
tohexstr(rkey->keydata.val, rkey->keydata.len, hexstr,
usr/src/cmd/cmd-crypto/pktool/genkey.c
345
(void) printf(gettext("\tKey Value =\"%s\"\n"), hexstr);
usr/src/cmd/cmd-crypto/pktool/genkey.c
351
if (hexstr != NULL)
usr/src/cmd/cmd-crypto/pktool/genkey.c
352
free(hexstr);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
708
static char *hexstr = "0123456789ABCDEF";
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
728
hbuff[j++] = hexstr[rbuff[i] >> 4 & 0x0f];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
729
hbuff[j++] = hexstr[rbuff[i] & 0x0f];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ldap.c
1256
X hexstr[5];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ldap.c
1282
hexstr[k++] = hex;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ldap.c
1320
hexstr[k++] = hex;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ldap.c
1335
((bitstr) << 8) + ((i < klen)?hexstr[i]:0);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ldap.c
1363
((value) << 8) + hexstr[i];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ntp.c
220
hbuf[j++] = hexstr[ntp->mac[i] >> 4 & 0x0f];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ntp.c
221
hbuf[j++] = hexstr[ntp->mac[i] & 0x0f];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ntp.c
67
static char *hexstr = "0123456789ABCDEF";
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rpc.c
278
static char *hexstr = "0123456789ABCDEF";
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rpc.c
288
hbuff[j++] = hexstr[p[i] >> 4 & 0x0f];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_rpc.c
289
hbuff[j++] = hexstr[p[i] & 0x0f];
usr/src/lib/fm/topo/libtopo/common/hc.c
513
char hexstr[17];
usr/src/lib/fm/topo/libtopo/common/hc.c
527
(void) snprintf(hexstr, sizeof (hexstr), "%llx", val);
usr/src/lib/fm/topo/libtopo/common/hc.c
530
hexstr);
usr/src/lib/libcryptoutil/common/cryptoutil.h
197
extern void tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen);
usr/src/lib/libcryptoutil/common/cryptoutil.h
198
extern int hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes,
usr/src/lib/libcryptoutil/common/tohexstr.c
100
hexstr++;
usr/src/lib/libcryptoutil/common/tohexstr.c
41
tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen)
usr/src/lib/libcryptoutil/common/tohexstr.c
49
hexstr[2 * i] = hexlist[(bytes[i] >> 4) & 0xf];
usr/src/lib/libcryptoutil/common/tohexstr.c
50
hexstr[2 * i + 1] = hexlist[bytes[i] & 0xf];
usr/src/lib/libcryptoutil/common/tohexstr.c
52
hexstr[2 * blen] = '\0';
usr/src/lib/libcryptoutil/common/tohexstr.c
67
hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen)
usr/src/lib/libcryptoutil/common/tohexstr.c
76
if (hexstr == NULL || (hexlen % 2 == 1))
usr/src/lib/libcryptoutil/common/tohexstr.c
79
if (hexstr[0] == '0' && ((hexstr[1] == 'x') || (hexstr[1] == 'X'))) {
usr/src/lib/libcryptoutil/common/tohexstr.c
80
hexstr += 2;
usr/src/lib/libcryptoutil/common/tohexstr.c
93
ch = (unsigned char) *hexstr;
usr/src/lib/libkmf/libkmf/common/generalop.c
1015
kmf_hexstr_to_bytes(unsigned char *hexstr, unsigned char **bytes,
usr/src/lib/libkmf/libkmf/common/generalop.c
1024
if (hexstr == NULL) {
usr/src/lib/libkmf/libkmf/common/generalop.c
1028
if (hexstr[0] == '0' && ((hexstr[1] == 'x') || (hexstr[1] == 'X')))
usr/src/lib/libkmf/libkmf/common/generalop.c
1029
hexstr += 2;
usr/src/lib/libkmf/libkmf/common/generalop.c
1031
for (i = 0; i < strlen((char *)hexstr) && isxdigit(hexstr[i]); i++)
usr/src/lib/libkmf/libkmf/common/generalop.c
1038
if (i != strlen((char *)hexstr))
usr/src/lib/libkmf/libkmf/common/generalop.c
1050
ch = (unsigned char) *hexstr;
usr/src/lib/libkmf/libkmf/common/generalop.c
1051
hexstr++;