Searched refs:hexbuf (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/ldns/drill/ |
| H A D | work.c | 79 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-14.2/sbin/umount/ |
| H A D | umount.c | 645 char hexbuf[3]; in parsehexfsid() local 650 hexbuf[2] = '\0'; in parsehexfsid() 652 hexbuf[0] = hex[i * 2]; in parsehexfsid() 653 hexbuf[1] = hex[i * 2 + 1]; in parsehexfsid() 654 if (!isxdigit(hexbuf[0]) || !isxdigit(hexbuf[1])) in parsehexfsid() 656 ((u_char *)fsid)[i] = strtol(hexbuf, NULL, 16); in parsehexfsid()
|
| /freebsd-14.2/lib/libsecureboot/ |
| H A D | vets.c | 779 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 D | verify_file.c | 617 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-14.2/usr.bin/sed/ |
| H A D | compile.c | 371 char *endptr, hexbuf[3]; in hex2char() local 373 hexbuf[0] = in[0]; in hex2char() 374 hexbuf[1] = len > 1 ? in[1] : '\0'; in hex2char() 375 hexbuf[2] = '\0'; in hex2char() 378 ord = strtol(hexbuf, &endptr, 16); in hex2char()
|