Skip to content

Commit

Permalink
Wrap up pin support
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Mar 27, 2024
1 parent b261180 commit 567e0e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ hex = "0.4.3"
openssl = "^0.10.57"
serde = { version = "^1.0", features = ["derive"] }
tracing = "^0.1.37"
# tss-esapi-sys = { version = "0.5.0", optional = true, features = ["generate-bindings"] }
# tss-esapi = { version = "=8.0.0-alpha", optional = true }
tss-esapi-sys = { version = "0.5.0", optional = true, features = ["generate-bindings"] }
tss-esapi = { version = "=8.0.0-alpha", optional = true }

tss-esapi-sys = { path = "../rust-tss-esapi/tss-esapi-sys", optional = true, features = ["generate-bindings"] }
tss-esapi = { path = "../rust-tss-esapi/tss-esapi", optional = true }
# tss-esapi-sys = { path = "../rust-tss-esapi/tss-esapi-sys", optional = true, features = ["generate-bindings"] }
# tss-esapi = { path = "../rust-tss-esapi/tss-esapi", optional = true }

zeroize = "1.6.0"

Expand Down
8 changes: 4 additions & 4 deletions src/tpm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ use tss_esapi::structures::{
use tss_esapi::Context;
use tss_esapi::TctiNameConf;

use tss_esapi::interface_types::reserved_handles::Hierarchy;
// use tss_esapi::interface_types::resource_handles::Hierarchy;
// use tss_esapi::interface_types::reserved_handles::Hierarchy;
use tss_esapi::interface_types::resource_handles::Hierarchy;

use tss_esapi::constants::tss::TPM2_RH_NULL;
use tss_esapi::constants::tss::TPM2_ST_HASHCHECK;
Expand All @@ -38,8 +38,8 @@ use tss_esapi::handles::ObjectHandle;

pub use tss_esapi::handles::KeyHandle;
pub use tss_esapi::structures::{Auth, Private, Public};
// pub use tss_esapi::utils::TpmsContext;
pub use tss_esapi::structures::SavedTpmContext as TpmsContext;
pub use tss_esapi::utils::TpmsContext;
// pub use tss_esapi::structures::SavedTpmContext as TpmsContext;

#[cfg(feature = "msextensions")]
use crate::soft::{aes_256_gcm_decrypt, aes_256_gcm_encrypt};
Expand Down

0 comments on commit 567e0e2

Please sign in to comment.