Skip to content

Commit cf819b5

Browse files
committed
Changes the name of dynamic_handles interface types module.
- Change the name of the `dynamic_handles` interface type module to `data_handles`. Even tough the specification does not specify what `DH` stands for it is a high probability that `data_handles` is more accurate then `dynamic_handles`. Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
1 parent 88060ce commit cf819b5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

tss-esapi/src/context/tpm_commands/context_management.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use crate::{
44
context::handle_manager::HandleDropAction,
55
handles::{handle_conversion::TryIntoNotNone, AuthHandle, ObjectHandle, PersistentTpmHandle},
6-
interface_types::{dynamic_handles::Persistent, reserved_handles::Provision},
6+
interface_types::{data_handles::Persistent, reserved_handles::Provision},
77
tss2_esys::{Esys_ContextLoad, Esys_ContextSave, Esys_EvictControl, Esys_FlushContext},
88
utils::TpmsContext,
99
Context, Result, ReturnCode,
@@ -215,7 +215,7 @@ impl Context {
215215
/// # .evict_control(
216216
/// # tss_esapi::interface_types::reserved_handles::Provision::Owner,
217217
/// # handle,
218-
/// # tss_esapi::interface_types::dynamic_handles::Persistent::Persistent(persistent_tpm_handle),
218+
/// # tss_esapi::interface_types::data_handles::Persistent::Persistent(persistent_tpm_handle),
219219
/// # )
220220
/// # .expect("Failed to evict persistent handle")
221221
/// # });
@@ -253,7 +253,7 @@ impl Context {
253253
/// use tss_esapi::{
254254
/// interface_types::{
255255
/// reserved_handles::Provision,
256-
/// dynamic_handles::Persistent,
256+
/// data_handles::Persistent,
257257
/// session_handles::AuthSession,
258258
/// },
259259
/// };
@@ -334,7 +334,7 @@ impl Context {
334334
/// # .evict_control(
335335
/// # tss_esapi::interface_types::reserved_handles::Provision::Owner,
336336
/// # handle,
337-
/// # tss_esapi::interface_types::dynamic_handles::Persistent::Persistent(persistent_tpm_handle),
337+
/// # tss_esapi::interface_types::data_handles::Persistent::Persistent(persistent_tpm_handle),
338338
/// # )
339339
/// # .expect("Failed to evict persistent handle")
340340
/// # });
@@ -372,7 +372,7 @@ impl Context {
372372
/// use tss_esapi::{
373373
/// interface_types::{
374374
/// reserved_handles::Provision,
375-
/// dynamic_handles::Persistent,
375+
/// data_handles::Persistent,
376376
/// session_handles::AuthSession,
377377
/// },
378378
/// };

tss-esapi/src/interface_types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
mod yes_no;
77

88
pub mod algorithm;
9-
pub mod dynamic_handles;
9+
pub mod data_handles;
1010
pub mod ecc;
1111
pub mod key_bits;
1212
pub mod reserved_handles;

tss-esapi/tests/integration_tests/context_tests/general_esys_tr_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use tss_esapi::{
55
handles::{NvIndexHandle, NvIndexTpmHandle, ObjectHandle, PersistentTpmHandle, TpmHandle},
66
interface_types::{
77
algorithm::HashingAlgorithm,
8-
dynamic_handles::Persistent,
8+
data_handles::Persistent,
99
reserved_handles::{Hierarchy, NvAuth, Provision},
1010
session_handles::AuthSession,
1111
},

tss-esapi/tests/integration_tests/context_tests/tpm_commands/context_management_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ mod test_evict_control {
174174
constants::{tss::TPM2_PERSISTENT_FIRST, CapabilityType},
175175
handles::{ObjectHandle, PersistentTpmHandle, TpmHandle},
176176
interface_types::{
177-
dynamic_handles::Persistent,
177+
data_handles::Persistent,
178178
reserved_handles::{Hierarchy, Provision},
179179
session_handles::AuthSession,
180180
},

0 commit comments

Comments
 (0)