Searched refs:hexbuf (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/ldns/drill/
H A Dwork.c79 uint8_t *hexbuf = xmalloc(LDNS_MAX_PACKETLEN); local
90 xfree(hexbuf);
108 hexbuf[hexbufpos] = (uint8_t) c;
122 hexbuf[hexbufpos] = (uint8_t) c;
135 verbose("%s\n", hexbuf);
148 hexbuf[hexbufpos] = (uint8_t) '0';
153 wirelen = hexstr2bin((char *) hexbuf,
159 memcpy(wire, hexbuf, (size_t) hexbufpos);
165 xfree(hexbuf);
/freebsd-13-stable/crypto/openssl/crypto/
H A Do_str.c149 unsigned char *hexbuf, *q; local
156 if ((hexbuf = OPENSSL_malloc(s >> 1)) == NULL) {
160 for (p = (const unsigned char *)str, q = hexbuf; *p; ) {
168 OPENSSL_free(hexbuf);
174 OPENSSL_free(hexbuf);
182 *len = q - hexbuf;
183 return hexbuf;
/freebsd-13-stable/sbin/umount/
H A Dumount.c623 char hexbuf[3]; local
628 hexbuf[2] = '\0';
630 hexbuf[0] = hex[i * 2];
631 hexbuf[1] = hex[i * 2 + 1];
632 if (!isxdigit(hexbuf[0]) || !isxdigit(hexbuf[1]))
634 ((u_char *)fsid)[i] = strtol(hexbuf, NULL, 16);
/freebsd-13-stable/lib/libsecureboot/
H A Dvets.c652 char *hex, hexbuf[br_sha512_SIZE * 2 + 2]; local
677 hex = hexdigest(hexbuf, sizeof(hexbuf), rhbuf, br_sha256_SIZE);
904 char hexbuf[br_sha512_SIZE * 2 + 2]; local
914 hex = hexdigest(hexbuf, sizeof(hexbuf), hbuf, hlen);
H A Dverify_file.c519 char hexbuf[br_sha256_SIZE * 2 + 2]; local
527 hex = hexdigest(hexbuf, sizeof(hexbuf), hbuf, hlen);
/freebsd-13-stable/usr.bin/sed/
H A Dcompile.c373 char *endptr, hexbuf[3]; local
375 hexbuf[0] = in[0];
376 hexbuf[1] = len > 1 ? in[1] : '\0';
377 hexbuf[2] = '\0';
380 ord = strtol(hexbuf, &endptr, 16);

Completed in 172 milliseconds