hex
static const char hex[]="0123456789abcdef";
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
char hex[] = "0123456789ABCDEF";
ret[i * 2 + 0] = hex[data[i] >> 4];
ret[i * 2 + 1] = hex[data[i] & 0x0F];
s = prime_config.hex ? BN_bn2hex(bn) : BN_bn2dec(bn);
if (prime_config.hex) {
int hex;
.opt.flag = &prime_config.hex,
if (rand_config.hex && rand_config.base64)
if (rand_config.hex) {
if (rand_config.hex)
int hex;
.opt.flag = &rand_config.hex,
int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);
unsigned char *hex = NULL;
if ((hex = string_to_hex(hexstr, &length)) == NULL)
ret = ctx->pmeth->ctrl(ctx, cmd, length, hex);
free(hex);
char *hex;
if ((hex = BN_bn2hex(&num_bn))) {
result = result && BIO_write(bio, hex, strlen(hex)) > 0;
free(hex);
*(p++) = hex[(n >> 4) & 0x0f];
*(p++) = hex[n & 0x0f];
static const char hex[17] = "0123456789ABCDEF";
char *bnstr, *hex;
if ((hex = bnstr = BN_bn2hex(bn)) == NULL)
hex++;
if (asprintf(&ret, "%s0x%s", sign, hex) == -1)
static const char hex[] = "0123456789abcdef";
p[len++] = hex[(in[i] >> 4) & 0x0f];
p[len++] = hex[in[i] & 0x0f];
char *name, *arg, *hex;
hex = sshbuf_dtob16(option);
hex, sshbuf_len(option));
free(hex);
pkcs11_decode_hex(const char *hex, unsigned char **dest, size_t *rlen)
if ((len = strlen(hex)) % 2)
hi = h2i(hex[2 * i]);
lo = h2i(hex[(2 * i) + 1]);
const char hex[] = "0123456789abcdef";
ret[j++] = hex[(p[i] >> 4) & 0xf];
ret[j++] = hex[p[i] & 0xf];
char *retval, hex[5];
snprintf(hex, sizeof(hex), "%s%02x",
strlcat(retval, hex, rlen);
char *hex, hash[SSH_DIGEST_MAX_LENGTH];
if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) {
debug3_f("final hash: %s", hex);
freezero(hex, strlen(hex));
char *hex, rbuf[8192], hash[SSH_DIGEST_MAX_LENGTH];
if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) {
debug3_f("final hash: %s", hex);
freezero(hex, strlen(hex));
goto hex;
hex:
goto hex;
hex:
char hex[3];
hex[0] = str[i];
hex[1] = str[i + 1];
hex[2] = '\0';
buf[i / 2] = strtol(hex, NULL, 16);
hexnum[i*2] = hex[val >> 4];
hexnum[i*2+1] = hex[val & 0xf];
static char hex[16] = {
static const char hex[]="0123456789abcdef";
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
#define hex2ascii(hex) (hex2ascii_lower[hex])
#define hex2ascii_upper(hex) (hex2ascii_upper[hex])
static const char hex[] = "0123456789abcdef";
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
#define hex2ascii(hex) (hex2ascii_data[hex])
xmitcsum = hex (getDebugChar () & 0x7f) << 4;
xmitcsum += hex (getDebugChar () & 0x7f);
ch = hex(*buf++) << 4;
ch = ch + hex(*buf++);
hexValue = hex(**ptr);
hexValue = hex(**ptr);
hex2key(char *hex, size_t key_len, u_int8_t *key)
hex_buf[0] = *hex++;
hex_buf[1] = *hex++;
static char hex[] ="0123456789abcdef";
#define P_HI(x) hex[((x) & 0xf0)>>4]
#define P_LO(x) hex[((x) & 0xf)]
const char *hex;
hex = name + sizeof(NG_L2TP_HOOK_SESSION_P) - 1;
for (j = 0; j < 16 && hex[i] != hexdig[j]; j++);
if (hex[i] != '\0')
const char *hex;
hex = name + sizeof(NG_L2TP_HOOK_SESSION_P) - 1;
for (j = 0; j < 16 && hex[i] != hexdig[j]; j++);
if (hex[i] != '\0')
const char *hex;
hex = name + sizeof(NG_PPTPGRE_HOOK_SESSION_P) - 1;
for (j = 0; j < 16 && hex[i] != hexdig[j]; j++);
if (hex[i] != '\0')
#define hex2ascii(hex) (hex2ascii_data[hex])
v = ((hex(c1) << 4) | hex(c2));
static const char hex[]="0123456789abcdef";
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
static const char hex[]="0123456789abcdef";
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
static const char hex[]="0123456789abcdef";
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
hex_to_int(const char *hex, int *result)
if (strncmp(hex, "0x", 2) != 0)
for (i = 2; hex[i] != '\0'; i++) {
d = toupper(hex[i]);
hex = 1;
else if (hex)
else if (hex)
if (hex)
else if (hex)
else if (hex)
else if (hex)
int hex = 0;
bin2hex(unsigned char *bin, unsigned char *hex, int size)
*hex++ = hexdigit(*bin >> 4);
*hex++ = hexdigit(*bin++ & 0xf);
hex2bin(unsigned char *hex, unsigned char *bin, int size)
*bin = hexval(*hex++) << 4;
*bin++ |= hexval(*hex++);
buf[2*i] = hex[digest[i] >> 4];
buf[2*i+1] = hex[digest[i] & 0x0f];
static const char hex[]="0123456789abcdef";
static const char hex[] = "0123456789abcdef";
buf[i + i] = hex[s->pf_chksum[i] >> 4];
buf[i + i + 1] = hex[s->pf_chksum[i] & 0x0f];
static const char hex[]="0123456789abcdef";
buf[i+i] = hex[digest[i] >> 4];
buf[i+i+1] = hex[digest[i] & 0x0f];
unsigned char *hex, *tmp, ch;
hex = malloc(hex_len);
if (hex == NULL)
tmp = hex;
return (hex);
hex = 1;
if (hex != 0)
int hex = 0;