Home
last modified time | relevance | path

Searched refs:tohex (Results 1 – 14 of 14) sorted by relevance

/freebsd/stand/libsa/
H A Duuid_to_string.c40 tohex(char **buf, int len, uint32_t val) in tohex() function
91 tohex(&w, 8, u->time_low); in uuid_to_string()
93 tohex(&w, 4, u->time_mid); in uuid_to_string()
95 tohex(&w, 4, u->time_hi_and_version); in uuid_to_string()
98 tohex(&w, 2, u->clock_seq_hi_and_reserved); in uuid_to_string()
99 tohex(&w, 2, u->clock_seq_low); in uuid_to_string()
101 tohex(&w, 2, u->node[0]); in uuid_to_string()
102 tohex(&w, 2, u->node[1]); in uuid_to_string()
103 tohex(&w, 2, u->node[2]); in uuid_to_string()
104 tohex(&w, 2, u->node[3]); in uuid_to_string()
[all …]
/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_misc.c322 hex = tohex("foo", 3); in test_tohex()
328 hex = tohex("a\0b", 3); in test_tohex()
334 hex = tohex("", 0); in test_tohex()
/freebsd/crypto/openssh/regress/unittests/test_helper/
H A Dtest_helper.c441 aa1_tohex = tohex(aa1, MINIMUM(l, 256)); in assert_mem()
442 aa2_tohex = tohex(aa2, MINIMUM(l, 256)); in assert_mem()
481 aa1_tohex = tohex(aa1, MINIMUM(l, 20)); in assert_mem_filled()
/freebsd/crypto/openssh/
H A Dmisc.h94 char *tohex(const void *, size_t);
H A Dssh-pkcs11.c406 hex = tohex(keyid_attrib->pValue, keyid_attrib->ulValueLen); in pkcs11_record_key()
419 hex = tohex(k11->keyid, k11->keyid_len); in pkcs11_record_key()
1155 hex = tohex(d, len); in pkcs11_fetch_ed25519_pubkey()
1171 hex = tohex(key_attr[1].pValue, key_attr[1].ulValueLen); in pkcs11_fetch_ed25519_pubkey()
H A Dsshsig.c425 if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) { in hash_buffer()
550 if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) { in hash_file()
H A Dkrl.c1337 fp = tohex(rb->blob, rb->len); in krl_dump()
1346 fp = tohex(rb->blob, rb->len); in krl_dump()
H A Dssh_namespace.h1050 #define tohex Fssh_tohex macro
H A Dmisc.c1618 tohex(const void *vp, size_t l) in tohex() function
H A Dssh-keygen.c3109 cp = tohex(user, slen); in sk_suffix()
H A Dreadconf.c360 return tohex(conn_hash, ssh_digest_bytes(SSH_DIGEST_SHA1)); in ssh_connection_hash()
H A Dchannels.c5418 new_data = tohex(sc->x11_fake_data, data_len); in x11_request_forwarding_with_spoofing()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c237 static int tohex(int c);
3755 int digit1 = tohex(s[1]); in url_decode()
3756 int digit2 = tohex(s[2]); in url_decode()
3775 tohex(int c) in tohex() function
/freebsd/sbin/ifconfig/
H A Difieee80211.c5986 #define tohex(x) (isdigit(x) ? (x) - '0' : tolower(x) - 'a' + 10) in get_string() macro
5987 *p++ = (tohex((u_char)val[0]) << 4) | in get_string()
5988 tohex((u_char)val[1]); in get_string()
5989 #undef tohex in get_string()