Searched refs:KdfVersion (Results 1 – 6 of 6) sorted by relevance
/trusty/user/app/keymint/ |
D | keys.rs | 21 use hwkey::{Hwkey, KdfVersion, OsRollbackVersion, RollbackVersionSource}; 81 kdf_version: KdfVersion, 118 kdf_version: Option<KdfVersion>, in new() argument 180 let kdf_version = KdfVersion::from(kdf_version); in from_raw() 253 .kdf(KdfVersion::Version(1)) in root_kek() 264 TrustyKekContext::new(true, Some(KdfVersion::Best), Some(OsRollbackVersion::Current))? in kek_context() 376 TrustyKekContext::new(true, Some(KdfVersion::Best), Some(OsRollbackVersion::Current)); in kek_with_different_context_return_different_keys() 391 Some(KdfVersion::Best), in kek_with_different_context_return_different_keys() 414 TrustyKekContext::new(true, Some(KdfVersion::Best), Some(OsRollbackVersion::Current)) in legacy_kek_is_different_than_non_legacy() 471 TrustyKekContext::new(true, Some(KdfVersion::Best), Some(OsRollbackVersion::Current)) in deserializing_bad_kek_context_fails() [all …]
|
D | rpc.rs | 20 use hwkey::{Hwkey, KdfVersion}; 47 .kdf(KdfVersion::Version(1)) in derive_bytes_from_hbk()
|
/trusty/user/base/lib/hwkey/rust/src/ |
D | lib.rs | 248 kdf_version: KdfVersion::from(response.kdf_version), in derive() 282 pub enum KdfVersion { enum 289 impl Into<u32> for KdfVersion { implementation 299 impl From<u32> for KdfVersion { implementation 301 fn from(v: u32) -> KdfVersion { in from() argument 303 KdfVersion::Best in from() 305 KdfVersion::Version(v) in from() 387 pub kdf_version: KdfVersion, 401 kdf_version: KdfVersion, 426 kdf_version: KdfVersion::Best, in new() [all …]
|
D | test.rs | 55 .kdf(KdfVersion::Best) in test_hwkey_derive_repeatable_versioned() 60 assert_ne!(kdf_version, KdfVersion::Best); in test_hwkey_derive_repeatable_versioned() 131 assert_ne!(kdf_version, KdfVersion::Best); in test_hwkey_derive_different_default() 154 .kdf(KdfVersion::Best) in test_hwkey_derive_different_specified() 161 assert_ne!(kdf_version, KdfVersion::Best); in test_hwkey_derive_different_specified() 278 .kdf(KdfVersion::Best) in test_hwkey_derive_different_version_source() 285 assert_ne!(kdf_version, KdfVersion::Best); in test_hwkey_derive_different_version_source() 316 .kdf(KdfVersion::Best) in test_hwkey_derive_different_version_source() 374 .kdf(KdfVersion::Best) in test_hwkey_derive_newer_versions() 395 .kdf(KdfVersion::Best) in test_hwkey_derive_newer_versions() [all …]
|
/trusty/user/app/sample/hwcryptohal/server/ |
D | hwcrypto_device_key.rs | 35 use hwkey::{Hwkey, KdfVersion}; 249 .kdf(KdfVersion::Best) in derive_dice_policy_bound_key()
|
/trusty/user/app/keymint/keys/ |
D | legacy.rs | 161 encrypted_keyblob.kdf_version.map(hwkey::KdfVersion::from), in convert_key()
|