Skip to content

Commit 5bad73d

Browse files
committed
common: Remove unused constants and static values
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent 9cbdb10 commit 5bad73d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

keylime-agent/src/common.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ use tss_esapi::{
3636
/*
3737
* Constants and static variables
3838
*/
39-
pub const TPM_DATA_PCR: usize = 16;
40-
pub const IMA_PCR: usize = 10;
41-
pub static RSA_PUBLICKEY_EXPORTABLE: &str = "rsa placeholder";
42-
pub static KEY: &str = "secret";
43-
pub const AGENT_UUID_LEN: usize = 36;
4439
pub const AUTH_TAG_LEN: usize = 48;
4540

4641
#[derive(Serialize, Deserialize, Debug)]

keylime-agent/src/keys_handler.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use crate::crypto;
55
use crate::{
66
common::{
7-
AuthTag, EncryptedData, JsonWrapper, KeySet, SymmKey, AGENT_UUID_LEN,
8-
AUTH_TAG_LEN,
7+
AuthTag, EncryptedData, JsonWrapper, KeySet, SymmKey,
98
},
109
config::KeylimeConfig,
1110
payloads::{Payload, PayloadMessage},

0 commit comments

Comments
 (0)