HomeSort by relevance Sort by last modified time
    Searched refs:INDEX1 (Results 1 - 6 of 6) sorted by null

  /external/vboot_reference/tests/tpm_lite/
tpmtest_globallock.c 27 TPM_CHECK(TlclRead(INDEX1, (uint8_t*) &x, sizeof(x)));
28 TPM_CHECK(TlclWrite(INDEX1, (uint8_t*) &zero, sizeof(uint32_t)));
37 // Verifies that write to index1 is still possible.
39 TPM_CHECK(TlclWrite(INDEX1, (uint8_t*) &x, sizeof(x)));
40 TPM_CHECK(TlclRead(INDEX1, (uint8_t*) &x, sizeof(x)));
46 // Verifies that write to index1 fails.
48 TPM_EXPECT(TlclWrite(INDEX1, (uint8_t*) &x, sizeof(x)), TPM_E_BAD_PRESENCE);
49 TPM_CHECK(TlclRead(INDEX1, (uint8_t*) &x, sizeof(x)));
tpmtest_redefine_unowned.c 30 TPM_CHECK(TlclRead(INDEX1, (uint8_t*) &x, sizeof(x)));
38 TPM_CHECK(TlclDefineSpace(INDEX1, perm, 2 * sizeof(uint32_t)));
39 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)));
48 // Checks that index1 can.
49 TPM_CHECK(TlclDefineSpace(INDEX1, perm, 2 * sizeof(uint32_t)));
50 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)));
55 // Verifies that neither index0 nor index1 can be redefined.
58 TPM_EXPECT(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)),
readonly.c 23 #define INDEX1 0xda71
45 TlclDefineSpace(INDEX1, perm, 4);
46 TlclWrite(INDEX1, (uint8_t *) &zero, 4);
87 TlclRead(INDEX1, (uint8_t*) &index_1, sizeof(index_1)) != TPM_SUCCESS ||
tlcl_tests.h 14 #define INDEX1 0xcaff
tpmtest_testsetup.c 37 result = TlclRead(INDEX1, (uint8_t*) &x, sizeof(x));
40 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)));
tpmtest_spaceperm.c 31 TPM_CHECK(TlclGetPermissions(INDEX1, &perm));

Completed in 53 milliseconds