Symbol: hex
bin/cpdup/md5.c
261
static const char hex[]="0123456789abcdef";
bin/cpdup/md5.c
302
buf[2*i] = hex[digest[i] >> 4];
bin/cpdup/md5.c
303
buf[2*i+1] = hex[digest[i] & 0x0f];
crypto/libressl/apps/openssl/ca.c
3024
char hex[] = "0123456789ABCDEF";
crypto/libressl/apps/openssl/ca.c
3029
ret[i * 2 + 0] = hex[data[i] >> 4];
crypto/libressl/apps/openssl/ca.c
3030
ret[i * 2 + 1] = hex[data[i] & 0x0F];
crypto/libressl/apps/openssl/prime.c
165
s = prime_config.hex ? BN_bn2hex(bn) : BN_bn2dec(bn);
crypto/libressl/apps/openssl/prime.c
173
if (prime_config.hex) {
crypto/libressl/apps/openssl/prime.c
63
int hex;
crypto/libressl/apps/openssl/prime.c
92
.opt.flag = &prime_config.hex,
crypto/libressl/apps/openssl/rand.c
133
if (rand_config.hex && rand_config.base64)
crypto/libressl/apps/openssl/rand.c
165
if (rand_config.hex) {
crypto/libressl/apps/openssl/rand.c
173
if (rand_config.hex)
crypto/libressl/apps/openssl/rand.c
67
int hex;
crypto/libressl/apps/openssl/rand.c
82
.opt.flag = &rand_config.hex,
crypto/libressl/crypto/evp/evp_locl.h
304
int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);
crypto/libressl/crypto/evp/pmeth_lib.c
415
unsigned char *hex = NULL;
crypto/libressl/crypto/evp/pmeth_lib.c
419
if ((hex = string_to_hex(hexstr, &length)) == NULL)
crypto/libressl/crypto/evp/pmeth_lib.c
426
ret = ctx->pmeth->ctrl(ctx, cmd, length, hex);
crypto/libressl/crypto/evp/pmeth_lib.c
429
free(hex);
crypto/libressl/crypto/ts/ts_lib.c
79
char *hex;
crypto/libressl/crypto/ts/ts_lib.c
83
if ((hex = BN_bn2hex(&num_bn))) {
crypto/libressl/crypto/ts/ts_lib.c
85
result = result && BIO_write(bio, hex, strlen(hex)) > 0;
crypto/libressl/crypto/ts/ts_lib.c
86
free(hex);
crypto/libressl/crypto/x509/x509_obj.c
160
*(p++) = hex[(n >> 4) & 0x0f];
crypto/libressl/crypto/x509/x509_obj.c
161
*(p++) = hex[n & 0x0f];
crypto/libressl/crypto/x509/x509_obj.c
80
static const char hex[17] = "0123456789ABCDEF";
crypto/libressl/crypto/x509/x509_utl.c
163
char *bnstr, *hex;
crypto/libressl/crypto/x509/x509_utl.c
170
if ((hex = bnstr = BN_bn2hex(bn)) == NULL)
crypto/libressl/crypto/x509/x509_utl.c
175
hex++;
crypto/libressl/crypto/x509/x509_utl.c
178
if (asprintf(&ret, "%s0x%s", sign, hex) == -1)
crypto/libressl/tls/tls_conninfo.c
32
static const char hex[] = "0123456789abcdef";
crypto/libressl/tls/tls_conninfo.c
47
p[len++] = hex[(in[i] >> 4) & 0x0f];
crypto/libressl/tls/tls_conninfo.c
48
p[len++] = hex[in[i] & 0x0f];
crypto/openssh/ssh-keygen.c
2079
char *name, *arg, *hex;
crypto/openssh/ssh-keygen.c
2111
hex = sshbuf_dtob16(option);
crypto/openssh/ssh-keygen.c
2113
hex, sshbuf_len(option));
crypto/openssh/ssh-keygen.c
2115
free(hex);
crypto/openssh/ssh-pkcs11.c
1402
pkcs11_decode_hex(const char *hex, unsigned char **dest, size_t *rlen)
crypto/openssh/ssh-pkcs11.c
1411
if ((len = strlen(hex)) % 2)
crypto/openssh/ssh-pkcs11.c
1420
hi = h2i(hex[2 * i]);
crypto/openssh/ssh-pkcs11.c
1421
lo = h2i(hex[(2 * i) + 1]);
crypto/openssh/sshbuf-misc.c
79
const char hex[] = "0123456789abcdef";
crypto/openssh/sshbuf-misc.c
86
ret[j++] = hex[(p[i] >> 4) & 0xf];
crypto/openssh/sshbuf-misc.c
87
ret[j++] = hex[p[i] & 0xf];
crypto/openssh/sshkey.c
917
char *retval, hex[5];
crypto/openssh/sshkey.c
925
snprintf(hex, sizeof(hex), "%s%02x",
crypto/openssh/sshkey.c
927
strlcat(retval, hex, rlen);
crypto/openssh/sshsig.c
403
char *hex, hash[SSH_DIGEST_MAX_LENGTH];
crypto/openssh/sshsig.c
420
if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) {
crypto/openssh/sshsig.c
421
debug3_f("final hash: %s", hex);
crypto/openssh/sshsig.c
422
freezero(hex, strlen(hex));
crypto/openssh/sshsig.c
503
char *hex, rbuf[8192], hash[SSH_DIGEST_MAX_LENGTH];
crypto/openssh/sshsig.c
545
if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) {
crypto/openssh/sshsig.c
546
debug3_f("final hash: %s", hex);
crypto/openssh/sshsig.c
547
freezero(hex, strlen(hex));
lib/libc/stdio/vfprintf.c
851
goto hex;
lib/libc/stdio/vfprintf.c
854
hex:
lib/libc/stdio/vfwprintf.c
914
goto hex;
lib/libc/stdio/vfwprintf.c
917
hex:
lib/libefivar/uefi-dplib.h
585
char hex[3];
lib/libefivar/uefi-dplib.h
595
hex[0] = str[i];
lib/libefivar/uefi-dplib.h
596
hex[1] = str[i + 1];
lib/libefivar/uefi-dplib.h
597
hex[2] = '\0';
lib/libefivar/uefi-dplib.h
598
buf[i / 2] = strtol(hex, NULL, 16);
lib/librpcsvc/xcrypt.c
159
hexnum[i*2] = hex[val >> 4];
lib/librpcsvc/xcrypt.c
160
hexnum[i*2+1] = hex[val & 0xf];
lib/librpcsvc/xcrypt.c
43
static char hex[16] = {
libexec/ftpd/site_md5.c
42
static const char hex[]="0123456789abcdef";
libexec/ftpd/site_md5.c
84
buf[2*i] = hex[digest[i] >> 4];
libexec/ftpd/site_md5.c
85
buf[2*i+1] = hex[digest[i] & 0x0f];
libexec/rtld-elf/rtld_printf.c
94
#define hex2ascii(hex) (hex2ascii_lower[hex])
libexec/rtld-elf/rtld_printf.c
95
#define hex2ascii_upper(hex) (hex2ascii_upper[hex])
sbin/md5/md5.c
136
static const char hex[] = "0123456789abcdef";
sbin/md5/md5.c
142
buf[2*i] = hex[digest[i] >> 4];
sbin/md5/md5.c
143
buf[2*i+1] = hex[digest[i] & 0x0f];
stand/lib/stand.h
336
#define hex2ascii(hex) (hex2ascii_data[hex])
sys/cpu/x86_64/misc/x86_64-gdbstub.c
211
xmitcsum = hex (getDebugChar () & 0x7f) << 4;
sys/cpu/x86_64/misc/x86_64-gdbstub.c
212
xmitcsum += hex (getDebugChar () & 0x7f);
sys/cpu/x86_64/misc/x86_64-gdbstub.c
340
ch = hex(*buf++) << 4;
sys/cpu/x86_64/misc/x86_64-gdbstub.c
341
ch = ch + hex(*buf++);
sys/cpu/x86_64/misc/x86_64-gdbstub.c
393
hexValue = hex(**ptr);
sys/cpu/x86_64/misc/x86_64-gdbstub.c
423
hexValue = hex(**ptr);
sys/dev/disk/dm/crypt/dm_target_crypt.c
393
hex2key(char *hex, size_t key_len, u_int8_t *key)
sys/dev/disk/dm/crypt/dm_target_crypt.c
400
hex_buf[0] = *hex++;
sys/dev/disk/dm/crypt/dm_target_crypt.c
401
hex_buf[1] = *hex++;
sys/net/netmap/netmap.c
327
static char hex[] ="0123456789abcdef";
sys/net/netmap/netmap.c
330
#define P_HI(x) hex[((x) & 0xf0)>>4]
sys/net/netmap/netmap.c
331
#define P_LO(x) hex[((x) & 0xf)]
sys/netgraph/l2tp/ng_l2tp.c
361
const char *hex;
sys/netgraph/l2tp/ng_l2tp.c
369
hex = name + sizeof(NG_L2TP_HOOK_SESSION_P) - 1;
sys/netgraph/l2tp/ng_l2tp.c
371
for (j = 0; j < 16 && hex[i] != hexdig[j]; j++);
sys/netgraph/l2tp/ng_l2tp.c
376
if (hex[i] != '\0')
sys/netgraph7/l2tp/ng_l2tp.c
410
const char *hex;
sys/netgraph7/l2tp/ng_l2tp.c
418
hex = name + sizeof(NG_L2TP_HOOK_SESSION_P) - 1;
sys/netgraph7/l2tp/ng_l2tp.c
420
for (j = 0; j < 16 && hex[i] != hexdig[j]; j++);
sys/netgraph7/l2tp/ng_l2tp.c
425
if (hex[i] != '\0')
sys/netgraph7/pptpgre/ng_pptpgre.c
322
const char *hex;
sys/netgraph7/pptpgre/ng_pptpgre.c
331
hex = name + sizeof(NG_PPTPGRE_HOOK_SESSION_P) - 1;
sys/netgraph7/pptpgre/ng_pptpgre.c
333
for (j = 0; j < 16 && hex[i] != hexdig[j]; j++);
sys/netgraph7/pptpgre/ng_pptpgre.c
338
if (hex[i] != '\0')
sys/sys/libkern.h
61
#define hex2ascii(hex) (hex2ascii_data[hex])
usr.bin/localedef/scanner.c
290
v = ((hex(c1) << 4) | hex(c2));
usr.bin/sort/coll.c
981
static const char hex[]="0123456789abcdef";
usr.bin/sort/coll.c
990
buf[2*i] = hex[digest[i] >> 4];
usr.bin/sort/coll.c
991
buf[2*i+1] = hex[digest[i] & 0x0f];
usr.bin/sort/sort.c
939
static const char hex[]="0123456789abcdef";
usr.bin/sort/sort.c
948
buf[2*i] = hex[digest[i] >> 4];
usr.bin/sort/sort.c
949
buf[2*i+1] = hex[digest[i] & 0x0f];
usr.sbin/ckdist/ckdist.c
223
static const char hex[]="0123456789abcdef";
usr.sbin/ckdist/ckdist.c
262
buf[2*i] = hex[digest[i] >> 4];
usr.sbin/ckdist/ckdist.c
263
buf[2*i+1] = hex[digest[i] & 0x0f];
usr.sbin/installer/libinstaller/functions.c
202
hex_to_int(const char *hex, int *result)
usr.sbin/installer/libinstaller/functions.c
207
if (strncmp(hex, "0x", 2) != 0)
usr.sbin/installer/libinstaller/functions.c
210
for (i = 2; hex[i] != '\0'; i++) {
usr.sbin/installer/libinstaller/functions.c
211
d = toupper(hex[i]);
usr.sbin/kbdcontrol/kbdcontrol.c
1173
hex = 1;
usr.sbin/kbdcontrol/kbdcontrol.c
455
else if (hex)
usr.sbin/kbdcontrol/kbdcontrol.c
467
else if (hex)
usr.sbin/kbdcontrol/kbdcontrol.c
482
if (hex)
usr.sbin/kbdcontrol/kbdcontrol.c
525
else if (hex)
usr.sbin/kbdcontrol/kbdcontrol.c
538
else if (hex)
usr.sbin/kbdcontrol/kbdcontrol.c
545
else if (hex)
usr.sbin/kbdcontrol/kbdcontrol.c
98
int hex = 0;
usr.sbin/keyserv/setkey.c
441
bin2hex(unsigned char *bin, unsigned char *hex, int size)
usr.sbin/keyserv/setkey.c
446
*hex++ = hexdigit(*bin >> 4);
usr.sbin/keyserv/setkey.c
447
*hex++ = hexdigit(*bin++ & 0xf);
usr.sbin/keyserv/setkey.c
466
hex2bin(unsigned char *hex, unsigned char *bin, int size)
usr.sbin/keyserv/setkey.c
471
*bin = hexval(*hex++) << 4;
usr.sbin/keyserv/setkey.c
472
*bin++ |= hexval(*hex++);
usr.sbin/mtree/hash.c
154
buf[2*i] = hex[digest[i] >> 4];
usr.sbin/mtree/hash.c
155
buf[2*i+1] = hex[digest[i] & 0x0f];
usr.sbin/mtree/hash.c
57
static const char hex[]="0123456789abcdef";
usr.sbin/pfctl/pfctl_parser.c
480
static const char hex[] = "0123456789abcdef";
usr.sbin/pfctl/pfctl_parser.c
519
buf[i + i] = hex[s->pf_chksum[i] >> 4];
usr.sbin/pfctl/pfctl_parser.c
520
buf[i + i + 1] = hex[s->pf_chksum[i] & 0x0f];
usr.sbin/ppp/chap_ms.c
191
static const char hex[]="0123456789abcdef";
usr.sbin/ppp/chap_ms.c
199
buf[i+i] = hex[digest[i] >> 4];
usr.sbin/ppp/chap_ms.c
200
buf[i+i+1] = hex[digest[i] & 0x0f];
usr.sbin/uefisign/uefisign.c
123
unsigned char *hex, *tmp, ch;
usr.sbin/uefisign/uefisign.c
128
hex = malloc(hex_len);
usr.sbin/uefisign/uefisign.c
129
if (hex == NULL)
usr.sbin/uefisign/uefisign.c
132
tmp = hex;
usr.sbin/uefisign/uefisign.c
138
return (hex);
usr.sbin/vidcontrol/vidcontrol.c
1181
hex = 1;
usr.sbin/vidcontrol/vidcontrol.c
322
if (hex != 0)
usr.sbin/vidcontrol/vidcontrol.c
73
int hex = 0;