Home
last modified time | relevance | path

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

/trusty/user/app/sample/hwcryptokey-test/
Dversioned_keys_explicit.rs103 let derived_key1 = assert_ok!(hw_device_key.deriveKey(&params)); in generate_new_policy_and_clear_key()
127 let derived_key2 = assert_ok!(hw_device_key.deriveKey(&params)); in generate_new_policy_and_clear_key()
161 let derived_key3 = assert_ok!(hw_device_key.deriveKey(&params)); in generate_new_policy_and_clear_key()
201 let derived_key = assert_ok!(hw_device_key.deriveKey(&params)); in old_dice_generates_old_clear_key_and_new_policy()
264 let derived_key1 = assert_ok!(hw_device_key.deriveKey(&params)); in dice_updates_are_unique()
272 let derived_key2 = assert_ok!(hw_device_key.deriveKey(&params)); in dice_updates_are_unique()
338 let derived_key1 = assert_ok!(hw_device_key.deriveKey(&params1)); in explicit_keys_unique_by_context()
339 let derived_key2 = assert_ok!(hw_device_key.deriveKey(&params2)); in explicit_keys_unique_by_context()
388 let derived_key = hw_device_key.deriveKey(&params); in invalid_key_sizes()
398 let derived_key = hw_device_key.deriveKey(&params); in invalid_key_sizes()
[all …]
/trusty/user/app/sample/hwcryptohal/server/
Dhwcrypto_device_key.rs305 fn deriveKey(&self, parameters: &DerivedKeyParameters) -> binder::Result<DerivedKey> { in deriveKey() method
433 let key = hw_device_key.deriveKey(&params); in derived_clear_key()
438 let derived_key = assert_ok!(hw_device_key.deriveKey(&params)); in derived_clear_key()
451 let derived_key = assert_ok!(hw_device_key.deriveKey(&params)); in derived_clear_key()
459 let derived_key = assert_ok!(hw_device_key.deriveKey(&params)); in derived_clear_key()