HomeSort by relevance Sort by last modified time
    Searched refs:nvIndex (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/tpm2/
NV_ChangeAuth.c 15 // the Index referenced by 'nvIndex
23 NV_INDEX nvIndex;
32 NvGetIndexInfo(in->nvIndex, &nvIndex);
39 if(in->newAuth.t.size > CryptGetHashDigestSize(nvIndex.publicArea.nameAlg))
44 nvIndex.authValue = in->newAuth;
46 NvWriteIndexInfo(in->nvIndex, &nvIndex);
NV_WriteLock.c 17 // nvIndex
19 // not allowed to write to the Index referenced by nvIndex
27 NV_INDEX nvIndex;
33 result = NvWriteAccessChecks(in->authHandle, in->nvIndex);
44 NvGetIndexInfo(in->nvIndex, &nvIndex);
48 if( nvIndex.publicArea.attributes.TPMA_NV_WRITEDEFINE == CLEAR
49 && nvIndex.publicArea.attributes.TPMA_NV_WRITE_STCLEAR == CLEAR)
64 nvIndex.publicArea.attributes.TPMA_NV_WRITELOCKED = SET;
67 NvWriteIndexInfo(in->nvIndex, &nvIndex)
    [all...]
NV_ReadPublic.c 16 NV_INDEX nvIndex;
21 NvGetIndexInfo(in->nvIndex, &nvIndex);
24 out->nvPublic.t.nvPublic = nvIndex.publicArea;
27 out->nvName.t.size = NvGetName(in->nvIndex, &out->nvName.t.name);
NV_UndefineSpaceSpecial.c 15 // nvIndex
23 NV_INDEX nvIndex;
35 NvGetIndexInfo(in->nvIndex, &nvIndex);
38 if(CLEAR == nvIndex.publicArea.attributes.TPMA_NV_POLICY_DELETE)
44 NvDeleteEntity(in->nvIndex);
NV_SetBits.c 16 // nvIndex
18 // not allowed to write to the Index referenced by nvIndex
19 // TPM_RC_NV_LOCKED the Index referenced by nvIndex is locked for writing
27 NV_INDEX nvIndex;
36 result = NvWriteAccessChecks(in->authHandle, in->nvIndex);
41 NvGetIndexInfo(in->nvIndex, &nvIndex);
44 if(nvIndex.publicArea.attributes.TPMA_NV_BITS != SET)
48 if(nvIndex.publicArea.attributes.TPMA_NV_WRITTEN == CLEAR)
52 NvGetIntIndexData(in->nvIndex, &nvIndex, &oldValue)
    [all...]
NV_Write.c 15 // TPM_RC_ATTRIBUTES Index referenced by nvIndex has either TPMA_NV_BITS,
18 // not allowed to write to the Index referenced by nvIndex
19 // TPM_RC_NV_LOCKED Index referenced by nvIndex is write locked
21 // Index referenced by nvIndex; otherwise, the write extends beyond the
29 NV_INDEX nvIndex;
35 NvGetIndexInfo(in->nvIndex, &nvIndex);
39 result = NvWriteAccessChecks(in->authHandle, in->nvIndex);
45 if( nvIndex.publicArea.attributes.TPMA_NV_COUNTER == SET
46 || nvIndex.publicArea.attributes.TPMA_NV_BITS == SE
    [all...]
NV_UndefineSpace.c 15 // nvIndex so this command may not be used to delete this Index (see
25 NV_INDEX nvIndex;
36 NvGetIndexInfo(in->nvIndex, &nvIndex);
39 if(SET == nvIndex.publicArea.attributes.TPMA_NV_POLICY_DELETE)
45 && nvIndex.publicArea.attributes.TPMA_NV_PLATFORMCREATE == SET)
51 NvDeleteEntity(in->nvIndex);
NV_ReadLock.c 16 // nvIndex may not be write locked
18 // not allowed to read from the Index referenced by nvIndex
26 NV_INDEX nvIndex;
39 result = NvReadAccessChecks(in->authHandle, in->nvIndex);
53 NvGetIndexInfo(in->nvIndex, &nvIndex);
56 if(nvIndex.publicArea.attributes.TPMA_NV_READ_STCLEAR == CLEAR)
62 nvIndex.publicArea.attributes.TPMA_NV_READLOCKED = SET;
64 NvWriteIndexInfo(in->nvIndex, &nvIndex);
    [all...]
NV_Increment.c 25 NV_INDEX nvIndex;
32 result = NvWriteAccessChecks(in->authHandle, in->nvIndex);
37 NvGetIndexInfo(in->nvIndex, &nvIndex);
40 if(nvIndex.publicArea.attributes.TPMA_NV_COUNTER != SET)
46 if(nvIndex.publicArea.attributes.TPMA_NV_WRITTEN == CLEAR)
50 NvGetIntIndexData(in->nvIndex, &nvIndex, &countValue);
58 if( nvIndex.publicArea.attributes.TPMA_NV_ORDERLY == SET
73 return NvWriteIndexData(in->nvIndex, &nvIndex, 0, 8, &countValue)
    [all...]
NV_Read.c 16 // not allowed to read from the Index referenced by nvIndex
17 // TPM_RC_NV_LOCKED the Index referenced by nvIndex is read locked
19 // Index referenced by nvIndex
20 // TPM_RC_NV_UNINITIALIZED the Index referenced by nvIndex has not been initialized (written)
28 NV_INDEX nvIndex;
34 NvGetIndexInfo(in->nvIndex, &nvIndex);
39 result = NvReadAccessChecks(in->authHandle, in->nvIndex);
44 if((in->size + in->offset) > nvIndex.publicArea.dataSize)
52 NvGetIndexData(in->nvIndex, &nvIndex, in->offset, in->size, out->data.t.buffer)
    [all...]
NV_spt.c 32 NV_INDEX nvIndex;
34 NvGetIndexInfo(nvHandle, &nvIndex);
39 // if(nvIndex.publicArea.attributes.TPMA_NV_READLOCKED == SET)
48 if(! nvIndex.publicArea.attributes.TPMA_NV_OWNERREAD)
54 if(!nvIndex.publicArea.attributes.TPMA_NV_PPREAD)
64 if(nvIndex.publicArea.attributes.TPMA_NV_WRITTEN == CLEAR)
90 NV_INDEX nvIndex;
92 NvGetIndexInfo(nvHandle, &nvIndex);
97 // if(nvIndex.publicArea.attributes.TPMA_NV_WRITELOCKED == SET)
106 if(! nvIndex.publicArea.attributes.TPMA_NV_OWNERWRITE
    [all...]
NV_Extend.c 16 // by nvIndex
18 // not allowed to write to the Index referenced by nvIndex
19 // TPM_RC_NV_LOCKED the Index referenced by nvIndex is locked for writing
27 NV_INDEX nvIndex;
37 result = NvWriteAccessChecks(in->authHandle, in->nvIndex);
42 NvGetIndexInfo(in->nvIndex, &nvIndex);
45 if(nvIndex.publicArea.attributes.TPMA_NV_EXTEND != SET)
50 if( nvIndex.publicArea.attributes.TPMA_NV_ORDERLY == CLEAR
51 || nvIndex.publicArea.attributes.TPMA_NV_WRITTEN == CLEAR
    [all...]
NV_Certify.c 17 // not allowed to read from the Index referenced by nvIndex
19 // TPM_RC_NV_LOCKED Index referenced by nvIndex is locked for reading
21 // referenced by nvIndex
22 // TPM_RC_NV_UNINITIALIZED Index referenced by nvIndex has not been written
32 NV_INDEX nvIndex;
51 NvGetIndexInfo(in->nvIndex, &nvIndex);
55 result = NvReadAccessChecks(in->authHandle, in->nvIndex);
61 if((in->size + in->offset) > nvIndex.publicArea.dataSize)
86 NvGetName(in->nvIndex, &certifyInfo.attested.nv.indexName.t.name)
    [all...]
NV_fp.h 35 NV_INDEX *nvIndex, // IN: RAM image of index header
41 NV_INDEX *nvIndex // OUT: NV index structure
44 NV_INDEX *nvIndex, // IN: RAM image of NV Index header
80 NV_INDEX *nvIndex, // IN: RAM copy of NV Index
86 NV_INDEX *nvIndex // IN: NV Index info to be written
NV.c 902 NV_INDEX nvIndex;
909 _plat__NvMemoryRead(indexAddr, sizeof(NV_INDEX), &nvIndex);
910 attributes = nvIndex.publicArea.attributes;
936 memcpy(&publicAreaAttributesValue, &nvIndex.publicArea.attributes,
940 nvIndex.publicArea.attributes = attributes;
941 _plat__NvMemoryWrite(indexAddr, sizeof(NV_INDEX), &nvIndex);
958 nvIndex.publicArea.attributes.TPMA_NV_ORDERLY = CLEAR;
959 NvGetIntIndexData(nvHandle, &nvIndex, &counter)
    [all...]
NV_ChangeAuth_fp.h 13 TPMI_RH_NV_INDEX nvIndex;
NV_Extend_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
NV_Increment_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
NV_ReadLock_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
NV_SetBits_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
NV_UndefineSpaceSpecial_fp.h 13 TPMI_RH_NV_INDEX nvIndex;
NV_UndefineSpace_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
NV_WriteLock_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
NV_Write_fp.h 14 TPMI_RH_NV_INDEX nvIndex;
  /external/vboot_reference/utility/include/
tpmextras.h 22 uint32_t nvIndex;

Completed in 132 milliseconds

1 2 3