Lines Matching refs:NV
549 NV Counters .......................................................................................…
990 {NV}
993 to indicate that the command may result in an update of NV memory and be subject to rate
994 throttling by the TPM. If the command code does not have this notation, then a write to NV
996 NOTE Any command that uses authorization may cause a write to NV if there is an authorization
997 failure. A TPM may use the occasion of command execution to update the NV
1005 TPM when the command completes. This may be combined with the {NV} modifier but not with the
1011 {NV F}
1020 context likely will be required. This may be combined with the {NV} modifier but not with the {F}
1026 {NV E}
1073 If the handle references an NV Index, then the allowed authorizations are determined by the
1074 settings of the attributes of the NV Index as described in Part 2, "TPMA_NV (NV Index Attributes)."
1255 3) If the handle references an NV Index, then
1262 the hierarchy associated with the existing NV Index is not disabled (TPM_RC_HANDLE).
1271 NV
1398 c) If the object or NV Index is subject to DA protection, and the authorization is with an HMAC or
1402 An object is subject to DA protection if its noDA attribute is CLEAR. An NV Index is subject to
1429 2) If the entity being authorized is an NV Index, then the associated authorization session is a po…
1434 commands that operate on objects and NV Indices.
1453 2) If the entity being authorized is an NV Index;
1457 (a) the TPMA_NV_POLICYWRITE attribute of the NV Index is SET if the command modifies
1458 the NV Index data (TPM_RC_AUTH_UNAVAILABLE);
1459 (b) the TPMA_NV_POLICYREAD attribute of the NV Index is SET if the command reads the
1460 NV Index data (TPM_RC_AUTH_UNAVAILABLE);
1465 (a) the TPMA_NV_AUTHWRITE attribute of the NV Index is SET if the command modifies
1466 the NV Index data (TPM_RC_AUTH_UNAVAILABLE);
1467 (b) the TPMA_NV_AUTHREAD attribute of the NV Index is SET if the command reads the
1468 NV Index data (TPM_RC_AUTH_UNAVAILABLE).
1825 This response code indicates that the TPM is rate-limiting writes to the NV
1827 that explicity writes to NV or commands that incidentally use NV such as a
1834 NV memory is currently not available and the command is not allowed to proceed
1835 until it is. This would occur in a system where the NV memory used by the TPM
2142 // Initialize NV environment
2388 TPM_CC_Startup {NV}
2513 // The command needs NV update. Check if NV is available.
2636 // Read persistent data from NV
2664 // in NV index
2698 For a shutdownType of any type, the volatile portion of Clock is saved to NV memory and the orderly
2699 shutdown indication is SET. NV with the TPMA_NV_ORDERY attribute will be updated.
2739 Some values may be either derived from other values or saved to NV memory.
2780 TPM_CC_Shutdown {NV}
2901 // The command needs NV update. Check if NV is available.
2917 // Save RAM backed NV index data
3073 TPM_CC_SelfTest {NV}
3243 TPM_CC_IncrementalSelfTest {NV}
6482 This command may not be used to change the authorization value for an NV Index or a Primary Object.
6485 If an NV Index is to have a new authorization, it is done with TPM2_NV_ChangeAuth().
11170 TPM_CC_StirRandom {NV}
12486 TPM_CC_EventSequenceComplete {NV F}
14233 TPM_CC_GetCommandAuditDigest {NV}
16333 TPM_CC_SetCommandCodeAuditStatus {NV}
16481 // The command needs NV update. Check if NV is available.
16502 // Save the change of command audit data (this sets g_updateNV so that NV
16516 // if change was made to command list, update NV
16518 // this sets g_updateNV so that NV will be updagted on exit.
16724 TPM_CC_PCR_Extend {NV}
16876 // If PCR is state saved and we need to update orderlyState, check NV
16969 TPM_CC_PCR_Event {NV}
17119 // If PCR is state saved and we need to update orderlyState, check NV
17394 TPM_CC_PCR_Allocate {NV}
17525 // The command needs NV update. Check if NV is available.
17626 TPM_CC_PCR_SetAuthPolicy {NV}
17759 // The command needs NV update. Check if NV is available.
17775 // Save new policy to NV
17958 // state clear data. If this is the case, Check if NV is available.
18037 TPM_CC_PCR_Reset {NV}
18147 // If PCR is state saved and we need to update orderlyState, check NV
19641 authValue. This includes the reserved handles (for example, Platform, Storage, and Endorsement), NV
21336 This command is used to cause conditional gating of a policy based on the contents of an NV Index.
21340 An authorization session providing authorization to read the NV Index shall be provided.
21346 If TPMA_NV_WRITTEN is not SET in the NV Index, the TPM shall return TPM_RC_NV_UNINITIALIZED.
21347 The TPM will validate that the size of operandB plus offset is not greater than the size of the NV …
21349 The TPM will perform the indicated arithmetic check on the indicated portion of the selected NV Ind…
21369 offset from the start of the NV Index data to start the comparison
21376 The value of args and the Name of the NV Index are extended to policySession→policyDigest by
21394 the Name of the NV Index
21397 Magnitude comparisons assume that the octet at offset zero in the referenced NV location and in
21402 written. It is possible to use this change in the NV Index to create a write-once Index.
21451 the NV Index of the area to read
21471 the offset in the NV Index for the start of operand A
21529 // Include NV support routine for read access check
21534 NV index authorization type is not correct
21538 NV index read locked
21542 the NV index has not been initialized
21546 the comparison to the NV contents failed
21628 // Get NV index information
21635 // NV Read access check. NV index should be allowed for read. A
21640 // Valid NV data size should not be smaller than input operandB size
21644 // Get NV data. The size of NV data equals the input operand B size
22206 // NV is unavailable.
24792 YES if NV Index is required to have been written
24793 NO if NV Index is required not to have been written
24838 Make an NV Index policy dependent on the state of the TPMA_NV_WRITTEN attribute of the index.
24926 // Set session attributes so that the NV Index needs to be checked
25377 This command enables and disables use of a hierarchy and its associated NV storage. The command
25393 When this command is used to CLEAR shEnable, the TPM will disable access to any NV index that has
25394 TPMA_NV_PLATFORMCREATE CLEAR (indicating that the NV Index was defined using ownerAuth). As
25396 operate upon an NV index that has TPMA_NV_PLATFORMCREATE CLEAR.
25397 When this command is used to CLEAR phEnableNV, the TPM will disable access to any NV index that
25398 has TPMA_NV_PLATFORMCREATE SET (indicating that the NV Index was defined using platformAuth).
25400 attempts to operate upon an NV index that has TPMA_NV_PLATFORMCREATE SET.
25435 TPM_CC_HierarchyControl {NV E}
25717 // Before changing the internal state, make sure that NV is available.
25718 // Only need to update NV if changing the orderly state
25721 // The command needs NV update. Check if NV is available.
25728 // state is changing and NV is available so modify
25800 TPM_CC_SetPrimaryPolicy {NV}
25946 // The command need NV update for OWNER and ENDORSEMENT hierarchy, and
25948 // Check if NV is available. A TPM_RC_NV_UNAVAILABLE or TPM_RC_NV_RATE
26014 This command does not clear any NV Index values.
26054 TPM_CC_ChangePPS {NV E}
26175 // Check if NV is available. A TPM_RC_NV_UNAVAILABLE or TPM_RC_NV_RATE
26192 // Flush platform evict object and index in NV
26194 // Save hierarchy changes to NV
26270 TPM_CC_ChangeEPS {NV E}
26391 // The command needs NV update. Check if NV is available.
26414 // Flush evict object of endorsement hierarchy stored in NV
26416 // Save hierarchy changes to NV
26453 delete any NV Index with TPMA_NV_PLATFORMCREATE == CLEAR;
26534 TPM_CC_Clear {NV E}
26661 // The command needs NV update. Check if NV is available.
26690 // Flush owner and endorsement object and owner index in NV
26741 // Save hierarchy changes to NV
26757 // Update the DRBG state whenever writing orderly state to NV
26832 TPM_CC_ClearControl {NV}
26941 // The command needs NV update. Check if NV is available.
26955 // Record the change to NV
27025 TPM_CC_HierarchyChangeAuth {NV}
27153 // The command needs NV update. Check if NV is available.
27221 Authorizations for objects and NV Index values in the Platform hierarchy are never locked out.
27275 TPM_CC_DictionaryAttackLockReset {NV}
27370 // The command needs NV update. Check if NV is available.
27378 // Record the changes to NV
27450 TPM_CC_DictionaryAttackParameters {NV}
27570 // The command needs NV update. Check if NV is available.
27582 // Record the changes to NV
27672 TPM_CC_PP_Commands {NV}
27792 // The command needs NV update. Check if NV is available.
27883 TPM_CC_SetAlgorithmSet {NV}
27976 // The command needs NV update. Check if NV is available.
27983 // Write the algorithm set changes to NV
28125 NV Index allocations and contents;
28388 TPM_CC_FieldUpgradeData {NV}
28876 // the update of state reset data. If this is the case, check if NV is
28880 // The command needs NV update. Check if NV is available.
29540 // the update of state reset data. If this is the case, check if NV is
29595 // The command needs NV update. Check if NV is available.
29982 TPM_CC_EvictControl {NV}
30071 no space in NV to make evictHandle persistent
30138 // The command needs NV update. Check if NV is available.
30268 // Delete the persistent object in NV
30484 TPM_CC_ClockSet {NV}
31021 If the MSO of property is TPM_HT_NV_INDEX, then the TPM will return a list of NV Index
31317 // Get list of defined NV index
31656 The NV commands are used to create, update, read, and delete allocations of space in NV memory.
31664 TPMA_NV_PPREAD and TPMA_NV_PPWRITE indicate if reading or writing of the NV Index may be
31666 TPMA_NV_OWNERREAD and TPMA_NV_OWNERWRITE indicate if reading or writing of the NV Index
31668 If an operation on an NV index requires authorization, and the authHandle parameter is the handle o…
31669 NV Index, then the nvIndex parameter must have the same value or the TPM will return
31673 This check ensures that the authorization that was provided is associated with the NV Index being
31685 If an Index has been defined and not written, then any operation on the NV Index that requires read
31687 authorization checks but shall be performed before checking the NV Index authValue. An authorization
31688 failure due to the NV Index not having been written shall not be logged by the dictionary attack lo…
31698 …to interface with an implementationdependent library that allows access to NV memory. The actions …
31699 structure of the NV data.
31700 Only one NV Index may be directly referenced in a command.
31703 This means that, if authHandle references an NV Index, then nvIndex will have the same value.
31705 number of NV Indexes might be relocated as a result of deleting or adding a NV Ind ex.
31722 NV Counters
31726 When an NV counter is created, the TPM shall initialize the 8-octet counter value with a number tha…
31727 greater than any count value for any NV counter on the TPM since the time of TPM manufacture.
31728 An NV counter may be defined with the TPMA_NV_ORDERLY attribute to indicate that the NV Index is
31734 Before an NV counter can be used, the TPM shall validate that the count is not less than a previous…
31741 Because the TPM would have updated the NV Index if the difference between the count values was
31742 equal to MAX_ORDERLY_COUNT + 1, the highest value that could have been in the NV Index is
31747 The TPM may implement the RAM portion of the counter such that the effective value of the NV
31749 RAM version of the counter to MAX_ORDERLY_COUNT and no update of NV is necessary.
31753 When a new NV counter is created, the TPM may search all the counters to determine which has the
31776 This command defines the attributes of an NV Index and causes the TPM to reserve space to hold the
31777 data associated with the NV Index. If a definition already exists at the NV Index, the TPM will ret…
31799 If the NV Index is an ordinary Index and publicInfo→dataSize is larger than supported by the TPM
31804 has TPMA_NV_ORDERLY SET, then the maximum size of an ordin ary NV Index may be less than
31805 the size of an ordinary NV Index that has TPMA_NV_ORDERLY CLEAR.
31857 After the successful completion of this command, the NV Index exists but TPMA_NV_WRITTEN will be
31858 CLEAR. Any access of the NV data will return TPM_RC_NV_UINITIALIZED.
31873 In some implementations, an NV Index with the TPMA_NV_COUNTER attribute may require special TPM
31874 resources that provide higher endurance than regular NV. For those implementations, if this command
31877 of the digest produced by the NV Index's nameAlg (TPM_RC_SIZE).
31912 TPM_CC_NV_DefineSpace {NV}
31932 the public parameters of the NV area
32062 // Check if NV is available. NvIsAvailable may return TPM_RC_NV_UNAVAILABLE
32301 // If the NV index is used as a PCR, the data size must match the digest
32380 TPM_CC_NV_UndefineSpace {NV}
32394 the NV Index to remove from NV space
32500 // The command needs NV update. Check if NV is available.
32506 // Get NV index info
32518 // Call implementation dependent internal routine to delete NV index
32541 This command allows removal of a platform-created NV Index that has TPMA_NV_POLICY_DELETE
32543 This command requires that the policy of the NV Index be satisfied before the NV Index may be delet…
32608 TPM_CC_NV_UndefineSpaceSpecial {NV}
32719 // The command needs NV update. Check if NV is available.
32726 // Get NV index info
32732 // Call implementation dependent internal routine to delete NV index
32755 This command is used to read the public area and Name of an NV Index. The public area of an Index is
32797 the NV Index
32825 the public area of the NV Index
32892 // Get NV index info
32896 // Compute NV name
32919 This command writes a value to an area in NV memory that was previously defined by
32923 authPolicy of the NV Index.
32924 If the TPMA_NV_WRITELOCKED attribute of the NV Index is SET, then the TPM shall return
32928 If authorization sessions are present, they are checked before checks to see if writes to the NV
32931 If TPMA_NV_COUNTER, TPMA_NV_BITS or TPMA_NV_EXTEND of the NV Index is SET, then the
32934 the NV Index data, the TPM shall return TPM_RC_NV_RANGE and not write any data to the NV Index.
32935 If the TPMA_NV_WRITEALL attribute of the NV Index is SET, then the TPM shall return
32937 of the NV Index.
32939 starting at nvIndex→data[offset]. If the NV memory is implemented with a technology that has endura…
32940 …itations, the TPM shall check that the merged data is different from the current contents of the NV
32941 Index and only perform a write to NV memory if they differ.
32942 After successful completion of this command, TPMA_NV_WRITTEN for the NV Index will be SET.
32945 Once SET, TPMA_NV_WRITTEN remains SET until the NV Index is undefined or the NV Index is
32981 TPM_CC_NV_Write {NV}
32995 the NV Index of the area to write
33008 the offset into the NV Area
33135 // Get NV index info
33160 // attribute if it has not already been SET. If NV isn't available, an error
33201 This command is used to increment the value in an NV Index that has TPMA_NV_COUNTER SET. The
33202 data value of the NV Index is incremented by one.
33205 The NV Index counter is an unsigned value.
33222 NV
33246 An allowed implementation would keep a counter value in NV and a resettable counter in RAM. The
33247 reported value of the NV Index would be the sum of the two values. When the RAM count increments
33284 TPM_CC_NV_Increment {NV}
33298 the NV Index to increment
33346 NV index is not a counter
33430 // Get NV index info
33440 // Read NV data in native format for TPM CPU.
33445 // write to NV to proceed. This check is done here, because NvWriteIndexData()
33454 // Need to force an NV update
33480 // Write NV data back. A TPM_RC_NV_UNAVAILABLE or TPM_RC_NV_RATE error may
33504 This command extends a value to an area in NV memory that was previously defined by
33508 TPMA_NV_OWNERWRITE, TPMA_NV_AUTHWRITE, and the authPolicy of the NV Index.
33509 After successful completion of this command, TPMA_NV_WRITTEN for the NV Index will be SET.
33512 Once SET, TPMA_NV_WRITTEN remains SET until the NV Index is undefined or the NV Index is
33515 If the TPMA_NV_WRITELOCKED attribute of the NV Index is SET, then the TPM shall return
33519 If authorization sessions are present, they are checked before checks to see if writes to the NV
33522 The data.buffer parameter may be larger than the defined size of the NV Index.
33537 the value of the data field in the NV Index
33580 TPM_CC_NV_Extend {NV}
33594 the NV Index to extend
33738 // Get NV index info
33743 // If the Index is not-orderly, or if this is the first write, NV will
33749 // Check if NV is available. NvIsAvailable may return TPM_RC_NV_UNAVAILABLE
33836 This command is used to SET bits in an NV Index that was created as a bit field. Any number of bits…
33837 0 to 64 may be SET. The contents of data are ORed with the current contents of the NV Index startin…
33839 If TPMA_NV_WRITTEN is not SET, then, for the purposes of this command, the NV Index is considered
33842 After successful completion of this command, TPMA_NV_WRITTEN for the NV Index will be SET.
33883 TPM_CC_NV_SetBits {NV}
33897 NV Index of the area in which the bit is to be set
34038 // Get NV index info
34043 // If the Index is not-orderly, or if this is the first write, NV will
34049 // Check if NV is available. NvIsAvailable may return TPM_RC_NV_UNAVAILABLE
34111 If the TPMA_NV_WRITEDEFINE or TPMA_NV_WRITE_STCLEAR attributes of an NV location are SET,
34112 then this command may be used to inhibit further writes of the NV Index.
34114 TPMA_NV_OWNERWRITE, TPMA_NV_AUTHWRITE, and the authPolicy of the NV Index.
34115 It is not an error if TPMA_NV_WRITELOCKED for the NV Index is already SET.
34116 If neither TPMA_NV_WRITEDEFINE nor TPMA_NV_WRITE_STCLEAR of the NV Index is SET, then the
34119 is SET, then the TPM shall SET TPMA_NV_WRITELOCKED for the NV Index.
34159 TPM_CC_NV_WriteLock {NV}
34173 the NV Index of the area to lock
34296 // The command needs NV update. Check if NV is available.
34314 // Get NV index info
34380 command will permanently lock the NV Index for writing.
34515 // The command needs NV update. Check if NV is available.
34558 NV
34569 TPMA_NV_OWNERREAD, TPMA_NV_AUTHREAD, and the authPolicy of the NV Index.
34570 If TPMA_NV_READLOCKED of the NV Index is SET, then the TPM shall return TPM_RC_NV_LOCKED.
34573 If authorization sessions are present, they are checked before the read -lock status of the NV Index
34576 …he size parameter plus the offset parameter adds to a value that is greater than the size of the NV
34577 Index data area, the TPM shall return TPM_RC_NV_RANGE and not read any data from the NV Index.
34578 If the NV Index has been defined but the TPMA_NV_WRITTEN attribute is CLEAR, then this command
34633 the NV Index to be read
34775 // Get NV index info
34813 reads of the NV Index until the next TPM2_Startup (TPM_SU_CLEAR).
34815 TPMA_NV_OWNERREAD, TPMA_NV_AUTHREAD, and the authPolicy of the NV Index.
34818 Only an entity that may read an Index is allowed to lock the NV Index for read.
34820 If the command is properly authorized and TPMA_NV_READ_STCLEAR of the NV Index is SET, then the
34821 TPM shall SET TPMA_NV_READLOCKED for the NV Index. If TPMA_NV_READ_STCLEAR of the NV
34878 the NV Index to be locked
35001 // The command needs NV update. Check if NV is available.
35021 // Get NV index info
35029 // Write NV info back
35052 This command allows the authorization secret for an NV Index to be changed.
35053 If successful, the authorization secret (authValue) of the NV Index associated with nvIndex is chan…
35063 The size of the newAuth value may be no larger than the size of authorization indicated when the NV
35065 Since the NV Index authorization is changed before the response HMAC is calculated, the newAuth val…
35104 TPM_CC_NV_ChangeAuth {NV}
35220 // Check if NV is available. NvIsAvailable may return TPM_RC_NV_UNAVAILABLE
35224 // Read index info from NV
35235 // Write index info back to NV
35258 The purpose of this command is to certify the contents of an NV Index or portion of an NV Index.
35259 If proper authorization for reading the NV Index is provided, the portion of the NV Index selected …
35317 for the NV Index
35513 // the reporting of clock info. If this is the case, check if NV is
35517 // The command needs NV update. Check if NV is available.
35525 // Get NV index info
35621 // NV certify specific fields