Searched refs:hw_device_key (Results 1 – 2 of 2) sorted by relevance
80 let hw_device_key = connect().expect("couldn't connect to HW Crypto service"); in generate_new_policy_and_clear_key() localVariable87 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&device_bound_key)); in generate_new_policy_and_clear_key()103 let derived_key1 = assert_ok!(hw_device_key.deriveKey(¶ms)); 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()127 let derived_key2 = assert_ok!(hw_device_key.deriveKey(¶ms)); in generate_new_policy_and_clear_key()146 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&device_bound_key)); in generate_new_policy_and_clear_key()161 let derived_key3 = assert_ok!(hw_device_key.deriveKey(¶ms)); in generate_new_policy_and_clear_key()177 let hw_device_key = connect().expect("couldn't connect to HW Crypto service"); in old_dice_generates_old_clear_key_and_new_policy() localVariable184 hw_device_key.deriveDicePolicyBoundKey(&device_bound_key, &VERSION_0_DICE_POLICY) in old_dice_generates_old_clear_key_and_new_policy()201 let derived_key = assert_ok!(hw_device_key.deriveKey(¶ms)); in old_dice_generates_old_clear_key_and_new_policy()[all …]
380 let hw_device_key = HwCryptoKey::new_binder( in derived_dice_bound_keys() localVariable386 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&derivation_key)); in derived_dice_bound_keys()392 assert_ok!(hw_device_key.deriveDicePolicyBoundKey(&derivation_key, &policy)); in derived_dice_bound_keys()400 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&derivation_key)); in derived_dice_bound_keys()406 assert_ok!(hw_device_key.deriveDicePolicyBoundKey(&derivation_key, &policy)); in derived_dice_bound_keys()415 let hw_device_key = HwCryptoKey::new_binder( in derived_clear_key() localVariable421 assert_ok!(hw_device_key.deriveCurrentDicePolicyBoundKey(&derivation_key)); in derived_clear_key()433 let key = hw_device_key.deriveKey(¶ms); in derived_clear_key()438 let derived_key = assert_ok!(hw_device_key.deriveKey(¶ms)); in derived_clear_key()445 assert_ok!(hw_device_key.deriveDicePolicyBoundKey(&derivation_key, &policy)); in derived_clear_key()[all …]