/freebsd/stand/libsa/ |
H A D | uuid_to_string.c | 42 static const char *hexstr = "0123456789abcdef"; in tohex() local 47 walker[i] = hexstr[val & 0xf]; in tohex()
|
/freebsd/sys/contrib/openzfs/scripts/ |
H A D | convert_wycheproof.pl | 225 my ($id, $name, $hexstr, $wantbits) = @_; 226 my $got = length($hexstr)/2;
|
/freebsd/crypto/openssl/apps/ |
H A D | fipsinstall.c | 120 char *hexstr = NULL; in print_mac() local 122 hexstr = OPENSSL_buf2hexstr(mac, (long)len); in print_mac() 123 if (hexstr == NULL) in print_mac() 125 ret = BIO_printf(bio, "%s = %s\n", label, hexstr); in print_mac() 126 OPENSSL_free(hexstr); in print_mac()
|
H A D | ts.c | 926 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len); in create_verify_ctx() 928 if (TS_VERIFY_CTX_set_imprint(ctx, hexstr, imprint_len) == NULL) { in create_verify_ctx() 923 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len); create_verify_ctx() local
|
/freebsd/crypto/openssl/crypto/ts/ |
H A D | ts_verify_ctx.c | 71 unsigned char *hexstr, long len) in TS_VERIFY_CTX_set_imprint() argument 74 ctx->imprint = hexstr; in TS_VERIFY_CTX_set_imprint()
|
/freebsd/contrib/ldns/drill/ |
H A D | work.c | 22 hexstr2bin(char *hexstr, int len, uint8_t *buf, size_t offset, size_t buf_len) in hexstr2bin() argument 35 c = hexstr[i]; in hexstr2bin()
|
/freebsd/tests/sys/opencrypto/ |
H A D | poly1305_test.c | 240 parse_hex(const struct poly1305_kat *kat, const char *hexstr, void *voutput, in parse_hex() argument 254 it = hexstr; in parse_hex()
|
/freebsd/crypto/libecc/scripts/ |
H A D | expand_libecc.py | 1336 hexstr = format(int(bint), 'x') 1338 hexstr = ("0"*int((2*size)-len(hexstr)))+hexstr 1339 hexstr = ("0"*(len(hexstr) % 2))+hexstr 1341 for i in range(0, len(hexstr) - 1, 2): 1346 out_str += "0x"+hexstr[i:i+2]+", "
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.c | 871 u_char hexstr[2 * MD5SIZE + 1]; in gen_md5() 905 hexstr[2 * j] = hex[keystr[j] >> 4]; 906 hexstr[2 * j + 1] = hex[keystr[j] & 0xf]; 908 hexstr[2 * MD5SIZE] = '\0'; 910 hexstr); 856 u_char hexstr[2 * MD5SIZE + 1]; gen_md5() local
|
/freebsd/contrib/one-true-awk/ |
H A D | b.c | 342 int hexstr(const uschar **pp, int max) /* find and eval hex string at pp, return new p */ in hexstr() function 398 c = hexstr(&p, 2); /* this adds a null if number is invalid */ in quoted() 401 c = hexstr(&p, 8); in quoted()
|
H A D | FIXES.1e | 1168 fixed silly bug in hex parsing in hexstr().
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ts.h | 421 unsigned char *hexstr, long len);
|
/freebsd/sbin/ifconfig/ |
H A D | ifieee80211.c | 5656 int hexstr; in get_string() local 5661 hexstr = (val[0] == '0' && tolower((u_char)val[1]) == 'x'); in get_string() 5662 if (hexstr) in get_string() 5671 if (hexstr) { in get_string() 5682 if (hexstr) in get_string() 5688 if (hexstr) { in get_string() 5699 if (!hexstr && len == 1 && buf[0] == '-') { in get_string()
|