Home | History | Annotate | Download | only in futility

Lines Matching defs:pcr

18 	"This simulates a TPM PCR extension, to determine the expected output\n"
21 "appropriate length. The PCR is extended with each digest in turn\n"
25 " -i Initialize the PCR with the first DIGEST argument\n"
103 uint8_t pcr[SHA256_DIGEST_SIZE];
149 memset(pcr, 0, sizeof(pcr));
152 parse_digest_or_die(pcr, digest_size, argv[optind]);
156 printf("PCR: ");
157 print_digest(pcr, digest_size);
161 memcpy(accum, pcr, sizeof(pcr));
173 memcpy(pcr, digest, digest_size);
176 printf("PCR: ");
177 print_digest(pcr, digest_size);
184 DECLARE_FUTIL_COMMAND(pcr, do_pcr,
186 "Simulate a TPM PCR extension operation",