/external/tpm2/ |
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_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_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_ChangeAuth_fp.h | 13 TPMI_RH_NV_INDEX nvIndex;
|
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_Increment_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
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_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_ReadLock_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
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_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_UndefineSpaceSpecial_fp.h | 13 TPMI_RH_NV_INDEX nvIndex;
|
NV_UndefineSpace_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
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_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_WriteLock_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
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_fp.h | 14 TPMI_RH_NV_INDEX 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_SetBits_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
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_ReadPublic_fp.h | 12 typedef struct { TPMI_RH_NV_INDEX nvIndex; } NV_ReadPublic_In;
|
NV_Write_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
NV_Read_fp.h | 14 TPMI_RH_NV_INDEX nvIndex;
|
PolicyNV.c | 20 // TPM_RC_SIZE the size of nvIndex data starting at offset is less than the size of 30 NV_INDEX nvIndex; 40 NvGetIndexInfo(in->nvIndex, &nvIndex); 51 result = NvReadAccessChecks(in->authHandle, in->nvIndex); 55 if((nvIndex.publicArea.dataSize - in->offset) < in->operandB.t.size) 61 NvGetIndexData(in->nvIndex, &nvIndex, in->offset, 182 nvName.t.size = EntityGetName(in->nvIndex, &nvName.t.name);
|