Home
last modified time | relevance | path

Searched refs:hexbuf (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ldns/drill/
H A Dwork.c79 uint8_t *hexbuf = xmalloc(LDNS_MAX_PACKETLEN); in packetbuffromfile() local
90 xfree(hexbuf); in packetbuffromfile()
108 hexbuf[hexbufpos] = (uint8_t) c; in packetbuffromfile()
122 hexbuf[hexbufpos] = (uint8_t) c; in packetbuffromfile()
148 hexbuf[hexbufpos] = (uint8_t) '0'; in packetbuffromfile()
153 wirelen = hexstr2bin((char *) hexbuf, in packetbuffromfile()
159 memcpy(wire, hexbuf, (size_t) hexbufpos); in packetbuffromfile()
165 xfree(hexbuf); in packetbuffromfile()
/freebsd/sbin/umount/
H A Dumount.c633 char hexbuf[3]; in parsehexfsid() local
638 hexbuf[2] = '\0'; in parsehexfsid()
640 hexbuf[0] = hex[i * 2]; in parsehexfsid()
641 hexbuf[1] = hex[i * 2 + 1]; in parsehexfsid()
642 if (!isxdigit(hexbuf[0]) || !isxdigit(hexbuf[1])) in parsehexfsid()
644 ((u_char *)fsid)[i] = strtol(hexbuf, NULL, 16); in parsehexfsid()
/freebsd/lib/libsecureboot/
H A Dvets.c779 char *hex, hexbuf[br_sha512_SIZE * 2 + 2]; in verify_ec() local
804 hex = hexdigest(hexbuf, sizeof(hexbuf), rhbuf, br_sha256_SIZE); in verify_ec()
1031 char hexbuf[br_sha512_SIZE * 2 + 2]; in ve_check_hash() local
1041 hex = hexdigest(hexbuf, sizeof(hexbuf), hbuf, hlen); in ve_check_hash()
H A Dverify_file.c617 char hexbuf[br_sha256_SIZE * 2 + 2]; in verify_pcr_export() local
625 hex = hexdigest(hexbuf, sizeof(hexbuf), hbuf, hlen); in verify_pcr_export()
/freebsd/usr.bin/sed/
H A Dcompile.c368 char *endptr, hexbuf[3]; in hex2char() local
370 hexbuf[0] = in[0]; in hex2char()
371 hexbuf[1] = len > 1 ? in[1] : '\0'; in hex2char()
372 hexbuf[2] = '\0'; in hex2char()
375 ord = strtol(hexbuf, &endptr, 16); in hex2char()