Skip to content

Commit dedbdaa

Browse files
authored
Merge pull request #570 from brandsimon/sbr/checkquote
Add checkquote function without using the tpm2
2 parents cce5840 + b2ddd3a commit dedbdaa

File tree

7 files changed

+659
-0
lines changed

7 files changed

+659
-0
lines changed

tss-esapi/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,6 @@ integration-tests = ["strum", "strum_macros"]
8080

8181
rustcrypto = ["digest", "ecdsa", "elliptic-curve", "pkcs8", "signature", "x509-cert"]
8282
rustcrypto-full = ["rustcrypto", "p192", "p224", "p256", "p384", "p521", "rsa", "sha1", "sha2", "sha3", "sm2", "sm3"]
83+
84+
sha1 = ["dep:sha1", "rsa?/sha1"]
85+
sha2 = ["dep:sha2", "rsa?/sha2"]

tss-esapi/src/abstraction/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
pub mod ak;
55
pub mod cipher;
66
pub mod ek;
7+
pub mod no_tpm;
78
pub mod nv;
89
pub mod pcr;
910
pub mod public;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#[cfg(all(
2+
any(feature = "p224", feature = "p256", feature = "p384", feature = "rsa"),
3+
any(feature = "sha1", feature = "sha2",)
4+
))]
5+
mod quote;
6+
#[cfg(all(
7+
any(feature = "p224", feature = "p256", feature = "p384", feature = "rsa"),
8+
any(feature = "sha1", feature = "sha2",)
9+
))]
10+
pub use quote::checkquote;

0 commit comments

Comments
 (0)