/src/lib/libc/md/ |
mdXhl.c | 50 static const char hex[]="0123456789abcdef"; local in function:WA 62 buf[i+i] = hex[(u_int32_t)digest[i] >> 4]; 63 buf[i+i+1] = hex[digest[i] & 0x0f];
|
/src/sys/arch/emips/stand/common/ |
printf.c | 36 const char *hex = "0123456789abcdef"; local in function:printf 73 *s++ = hex[u & 0xfu];
|
/src/sys/external/isc/libsodium/dist/test/default/ |
kdf.c | 11 char hex[crypto_kdf_BYTES_MAX * 2 + 1]; local in function:tv_kdf 26 sodium_bin2hex(hex, sizeof hex, subkey, crypto_kdf_BYTES_MAX); 27 printf("%s\n", hex); 35 sodium_bin2hex(hex, sizeof hex, subkey, (size_t) i); 36 printf("%s\n", hex);
|
scalarmult.c | 23 static char hex[crypto_scalarmult_BYTES * 2 + 1]; variable in typeref:typename:char[] 38 sodium_bin2hex(hex, sizeof hex, alicepk, crypto_scalarmult_BYTES); 39 printf("%s\n", hex); 42 sodium_bin2hex(hex, sizeof hex, bobpk, crypto_scalarmult_BYTES); 43 printf("%s\n", hex); 47 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); 48 printf("%s\n", hex); [all...] |
stream.c | 19 static char hex[2 * 192 + 1]; variable in typeref:typename:char[] 29 sodium_bin2hex(hex, sizeof hex, h, sizeof h); 30 printf("%s\n", hex); 40 sodium_bin2hex(hex, sizeof hex, h, sizeof h); 41 printf("%s\n", hex); 46 sodium_bin2hex(hex, sizeof hex, output, 64); 47 printf("%s\n", hex); [all...] |
codecs.c | 15 const char *hex; local in function:main 24 hex = "Cafe : 6942"; 25 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, 29 printf("dt1: %ld\n", (long) (hex_end - hex)); 31 hex = "Cafe : 6942"; 32 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, NULL); 36 hex = "deadbeef"; 37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) [all...] |
kx.c | 19 char hex[65]; local in function:tv_kx 30 sodium_bin2hex(hex, sizeof hex, client_pk, crypto_kx_PUBLICKEYBYTES); 31 printf("client_pk: [%s]\n", hex); 32 sodium_bin2hex(hex, sizeof hex, client_sk, crypto_kx_SECRETKEYBYTES); 33 printf("client_sk: [%s]\n", hex); 92 sodium_bin2hex(hex, sizeof hex, server_rx, crypto_kx_SESSIONKEYBYTES); 93 printf("server_rx: [%s]\n", hex); [all...] |
aead_aes256gcm.c | 3091 char *hex; local in function:tv 3148 hex = (char *) sodium_malloc((size_t) ciphertext_len * 2 + 1); 3149 sodium_bin2hex(hex, (size_t) ciphertext_len * 2 + 1, 3151 printf("Computed: [%s]\n", hex); 3152 sodium_free(hex); 3162 hex = (char *) sodium_malloc((size_t) found_ciphertext_len * 2 + 1); 3163 sodium_bin2hex(hex, (size_t) found_ciphertext_len * 2 + 1, 3165 printf("Computed: [%s]\n", hex); 3166 sodium_free(hex);
|
xchacha20.c | 105 char *hex; local in function:tv_stream_xchacha20 170 hex = (char *) sodium_malloc(192 * 2 + 1); 171 sodium_bin2hex(hex, 192 * 2 + 1, out, 192); 172 printf("%s\n", hex); 178 sodium_free(hex); 302 char hex[65]; local in function:tv_box_xchacha20poly1305 399 sodium_bin2hex(hex, sizeof hex, pk, crypto_box_curve25519xchacha20poly1305_PUBLICKEYBYTES); 400 assert(strcmp(hex, "4701d08488451f545a409fb58ae3e58581ca40ac3f7f114698cd71deac73ca01") == 0); 401 sodium_bin2hex(hex, sizeof hex, sk, crypto_box_curve25519xchacha20poly1305_SECRETKEYBYTES) [all...] |
/src/lib/libm/arch/m68060/ |
Makefile | 10 all: fplsp.hex fplsp_wrap.S 15 fplsp.hex: ${FPLSP_SA} ${ASM2GAS} makeoffs.awk 16 ${HOST_SH} ${ASM2GAS} ${FPLSP_SA} | awk -f makeoffs.awk > fplsp.hex 23 -rm ${ARCH_SRCS} ${ARCH_ADDS} fplsp.hex Makefile.list
|
/src/lib/libc/hash/ |
hashhl.c | 68 static const char hex[]="0123456789abcdef"; local in function:WA 80 buf[i+i] = hex[(u_int32_t)digest[i] >> 4]; 81 buf[i+i+1] = hex[digest[i] & 0x0f];
|
/src/lib/libedit/ |
parse.c | 182 const wchar_t hex[] = L"0123456789ABCDEF"; local in function:parse__escape 189 h = wcschr(hex, *p++); 193 c = (c << 4) | ((int)(h - hex));
|
/src/sys/arch/luna68k/dev/ |
if_le.c | 241 unsigned int u, l, hex; local in function:myetheraddr 247 hex = (u < '9') ? l : l + 9; 254 ether[i] = ((u < '9') ? l : l + 9) | (hex << 4);
|
/src/sys/arch/luna68k/stand/boot/ |
if_le.c | 260 unsigned int u, l, hex; local in function:myetheraddr 266 hex = (u < '9') ? l : l + 9; 273 ether[i] = ((u < '9') ? l : l + 9) | (hex << 4);
|
/src/tests/usr.bin/xlint/lint1/ |
lang_level_c99.c | 142 double hex = 0x1.0p34; local in function:hexadecimal_floating_point_constants 143 pf("%s %a\n", "hex", hex);
|
/src/sys/dev/acpi/wmi/ |
wmi_acpi.c | 325 char hex[3]; local in function:acpi_wmi_guid_get 337 (void)memcpy(hex, ptr, 2); 338 hex[2] = '\0'; 340 if (HEXCHAR(hex[0]) == 0 || HEXCHAR(hex[1]) == 0) 343 bin[i] = strtoul(hex, NULL, 16) & 0xFF;
|
/src/dist/pf/sbin/pfctl/ |
pfctl_parser.c | 528 static const char hex[] = "0123456789abcdef"; local in function:print_status 567 buf[i + i] = hex[s->pf_chksum[i] >> 4]; 568 buf[i + i + 1] = hex[s->pf_chksum[i] & 0x0f];
|
/src/sys/dev/pcmcia/ |
bt3c.c | 557 hex(const uint8_t *p, int n) function in typeref:typename:int32_t 642 len = hex(line + 2, 2); 649 sum += hex(p, 2); 666 addr = hex(line + 8, 4); 673 data = hex(p, 4);
|
/src/sys/dev/acpi/ |
apei.c | 611 char hex[9*sizeof(PE->CapabilityStructure)/4]; local in function:apei_cper_pcie_error_report 615 * Display a hex dump of each 32-bit register in the 620 snprintf(hex + 9*i, sizeof(hex) - 9*i, "%08"PRIx32" ", 623 hex[sizeof(hex) - 1] = '\0'; 625 ctx, hex); 656 char hex[9*sizeof(PE->AERInfo)/4]; local in function:apei_cper_pcie_error_report 660 * Display a hex dump of each 32-bit register in the 666 snprintf(hex + 9*i, sizeof(hex) - 9*i, "%08"PRIx32" " [all...] |
/src/sys/arch/sparc64/dev/ |
ffb.c | 1382 int m, d, p, f, hex = 0, curdiff; local in function:ffb_get_pclk 1391 hex = 0x4000 + (d << 7) + m; 1394 hex = 0x4800 + (d << 7) + m; 1397 hex = 0x5000 + (d << 7) + m; 1400 hex = 0x6000 + (d << 7) + m; 1406 *pll = hex; 1412 *pll = hex;
|
/src/usr.bin/kdump/ |
kdump.c | 1165 const char hex[] = "0123456789abcdef"; local in function:hexdump_buf 1234 bp[(l ^ bswap) * bsize] = hex[c >> 4]; 1235 bp[(l ^ bswap) * bsize + 1] = hex[c & 0xf];
|
/src/sbin/newfs_udf/ |
udf_core.c | 153 int hex = 0; local in function:parse_udfversion 159 /* expect hex format */ 160 hex = 1; 171 if (!hex) { 204 errx(1, "unknown %s version %s; specify as hex or float", id_type, s);
|
/src/sys/net/ |
if_wg.c | 299 char *hex = gethexdump(buf, size); local in function:wg_dump_buf 301 log(LOG_DEBUG, "%s: %s\n", func, hex); 302 puthexdump(hex, buf, size); 313 char *hex = gethexdump(hash, size); local in function:wg_dump_hash 315 log(LOG_DEBUG, "%s: %s: %s\n", func, name, hex); 316 puthexdump(hex, hash, size); 4680 char *hex = gethexdump(pubkey, pubkey_len); local in function:wg_handle_prop_peer 4682 pubkey, pubkey_len, hex); 4683 puthexdump(hex, pubkey, pubkey_len); 4879 char *hex = gethexdump(privkey, privkey_len) local in function:wg_ioctl_set_private_key [all...] |