Home
last modified time | relevance | path

Searched refs:device_bound_key (Results 1 – 1 of 1) sorted by relevance

/trusty/user/app/sample/hwcryptokey-test/
Dversioned_keys_explicit.rs83 let device_bound_key = DiceBoundDerivationKey::KeyId(DeviceKeyId::DEVICE_BOUND_KEY); in generate_new_policy_and_clear_key() localVariable
87 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&device_bound_key)); in generate_new_policy_and_clear_key()
115 assert_ok!(hw_device_key.deriveDicePolicyBoundKey(&device_bound_key, &dice_policy)); in generate_new_policy_and_clear_key()
146 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&device_bound_key)); in generate_new_policy_and_clear_key()
180 let device_bound_key = DiceBoundDerivationKey::KeyId(DeviceKeyId::DEVICE_BOUND_KEY); in old_dice_generates_old_clear_key_and_new_policy() localVariable
184 hw_device_key.deriveDicePolicyBoundKey(&device_bound_key, &VERSION_0_DICE_POLICY) in old_dice_generates_old_clear_key_and_new_policy()
220 let device_bound_key = DiceBoundDerivationKey::KeyId(DeviceKeyId::DEVICE_BOUND_KEY); in dice_updates_are_unique() localVariable
224 hw_device_key.deriveDicePolicyBoundKey(&device_bound_key, &VERSION_0_DICE_POLICY) in dice_updates_are_unique()
236 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&device_bound_key)); in dice_updates_are_unique()
243 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&device_bound_key)); in dice_updates_are_unique()
[all …]