Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dtlcl_tests.c273 uint8_t buf[kPcrDigestLength], buf2[kPcrDigestLength]; in PcrTest()
276 TEST_EQ(TlclPCRRead(1, buf, kPcrDigestLength), 0, "PCRRead"); in PcrTest()
280 TEST_EQ(TlclPCRRead(1, buf, kPcrDigestLength - 1), TPM_E_IOERROR, in PcrTest()
/external/vboot_reference/firmware/lib/tpm_lite/
Dtlcl.c239 if (length < kPcrDigestLength) { in TlclPCRRead()
248 Memcpy(data, pcr_read_cursor, kPcrDigestLength); in TlclPCRRead()
387 uint8_t response[kTpmResponseHeaderLength + kPcrDigestLength]; in TlclExtend()
392 Memcpy(cmd.buffer + cmd.inDigest, in_digest, kPcrDigestLength); in TlclExtend()
398 Memcpy(out_digest, response + kTpmResponseHeaderLength, kPcrDigestLength); in TlclExtend()
Dmocked_tlcl.c136 Memcpy(out_digest, in_digest, kPcrDigestLength); in TlclExtend()
/external/vboot_reference/firmware/lib/tpm_lite/include/
Dtlcl_internal.h17 #define kPcrDigestLength 20 macro
/external/vboot_reference/utility/
Dtlcl_generator.c301 int size = kTpmRequestHeaderLength + sizeof(uint32_t) + kPcrDigestLength; in BuildExtendCommand()