HomeSort by: relevance | last modified time | path
    Searched defs:hex (Results 1 - 25 of 46) sorted by relevancy

1 2

  /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];
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];
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...]
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...]
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
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];
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));
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);
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);

Completed in 32 milliseconds

1 2