Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/
H A Dtpm_nvdefine.c177 char hash_ascii[65], hash_bin[32], save; in parseNVPermsFile() local
182 n = fscanf(f, "%c %u %s\n", &rw, &pcr, hash_ascii); in parseNVPermsFile()
201 for (n = 0; n < strlen(hash_ascii); n += 2) { in parseNVPermsFile()
202 save = hash_ascii[n + 2]; in parseNVPermsFile()
203 hash_ascii[n + 2] = '\0'; in parseNVPermsFile()
204 hash_bin[n/2] = strtoul(&hash_ascii[n], NULL, 16); in parseNVPermsFile()
205 hash_ascii[n + 2] = save; in parseNVPermsFile()