OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:INDEX0
(Results
1 - 11
of
11
) sorted by null
/external/vboot_reference/tests/tpm_lite/
lock.c
14
#define
INDEX0
0xda70
25
TlclWriteLock(
INDEX0
);
27
printf("Locked 0x%x\n",
INDEX0
);
tpmtest_earlynvram.c
17
#define
INDEX0
0xcafe
26
TPM_CHECK(TlclRead(
INDEX0
, (uint8_t*) &x, sizeof(x)));
readonly.c
22
#define
INDEX0
0xda70
43
TlclDefineSpace(
INDEX0
, perm, 4);
44
TlclWrite(
INDEX0
, (uint8_t *) &zero, 4);
86
if (TlclRead(
INDEX0
, (uint8_t*) &index_0, sizeof(index_0)) != TPM_SUCCESS ||
97
if (TlclWrite(
INDEX0
, (uint8_t*) &index_0, sizeof(index_0) != TPM_SUCCESS)) {
100
TlclWriteLock(
INDEX0
);
101
if (TlclWrite(
INDEX0
, (uint8_t*) &index_0, sizeof(index_0)) == TPM_SUCCESS) {
tpmtest_redefine_unowned.c
29
TPM_CHECK(TlclRead(
INDEX0
, (uint8_t*) &x, sizeof(x)));
34
TPM_CHECK(TlclDefineSpace(
INDEX0
, perm, 2 * sizeof(uint32_t)));
35
TPM_CHECK(TlclDefineSpace(
INDEX0
, perm, sizeof(uint32_t)));
44
// Verifies that
index0
cannot be redefined.
45
TPM_EXPECT(TlclDefineSpace(
INDEX0
, perm, sizeof(uint32_t)),
55
// Verifies that neither
index0
nor index1 can be redefined.
56
TPM_EXPECT(TlclDefineSpace(
INDEX0
, perm, sizeof(uint32_t)),
tlcl_tests.h
13
#define
INDEX0
0xcafe
tpmtest_earlynvram2.c
24
TPM_CHECK(TlclWrite(
INDEX0
, (uint8_t*) &x, sizeof(x)));
tpmtest_globallock.c
25
TPM_CHECK(TlclRead(
INDEX0
, (uint8_t*) &x, sizeof(x)));
26
TPM_CHECK(TlclWrite(
INDEX0
, (uint8_t*) &zero, sizeof(uint32_t)));
31
// Verifies that write to
index0
fails.
33
TPM_EXPECT(TlclWrite(
INDEX0
, (uint8_t*) &x, sizeof(x)), TPM_E_AREA_LOCKED);
34
TPM_CHECK(TlclRead(
INDEX0
, (uint8_t*) &x, sizeof(x)));
tpmtest_testsetup.c
31
result = TlclRead(
INDEX0
, (uint8_t*) &x, sizeof(x));
34
TPM_CHECK(TlclDefineSpace(
INDEX0
, perm, sizeof(uint32_t)));
tpmtest_writelimit.c
35
if ((result = TlclWrite(
INDEX0
, (uint8_t*)&i, sizeof(i))) != TPM_SUCCESS) {
52
TPM_CHECK(TlclWrite(
INDEX0
, (uint8_t*)&i, sizeof(i)));
tpmtest_spaceperm.c
28
TPM_CHECK(TlclGetPermissions(
INDEX0
, &perm));
tpmtest_timing.c
56
TTPM_CHECK(TlclWrite(
INDEX0
, (uint8_t*) &x, sizeof(x)), 100);
57
TTPM_CHECK(TlclRead(
INDEX0
, (uint8_t*) &x, sizeof(x)), 100);
Completed in 110 milliseconds