Searched refs:convert_device (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/ |
D | soft_keymaster_device.cpp | 368 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device() function 393 delete convert_device(reinterpret_cast<keymaster2_device_t*>(dev)); in close_device() 398 delete convert_device(reinterpret_cast<keymaster1_device_t*>(dev)); in close_device() 419 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_algorithms() 425 convert_device(dev)->impl_->SupportedAlgorithms(request, &response); in get_supported_algorithms() 453 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_block_modes() 461 convert_device(dev)->impl_->SupportedBlockModes(request, &response); in get_supported_block_modes() 489 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_padding_modes() 498 convert_device(dev)->impl_->SupportedPaddingModes(request, &response); in get_supported_padding_modes() 525 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_digests() [all …]
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device.cpp | 644 static inline TrustyKeymasterDevice* convert_device(const keymaster2_device_t* dev) { in convert_device() function 657 return convert_device(dev)->configure(params); in configure() 663 return convert_device(dev)->add_rng_entropy(data, data_length); in add_rng_entropy() 670 return convert_device(dev)->generate_key(params, key_blob, characteristics); in generate_key() 678 return convert_device(dev)->get_key_characteristics(key_blob, client_id, app_data, in get_key_characteristics() 687 return convert_device(dev)->import_key(params, key_format, key_data, key_blob, characteristics); in import_key() 697 return convert_device(dev)->export_key(export_format, key_to_export, client_id, app_data, in export_key() 706 return convert_device(dev)->attest_key(key_to_attest, attest_params, cert_chain); in attest_key() 714 return convert_device(dev)->upgrade_key(key_to_upgrade, upgrade_params, upgraded_key); in upgrade_key() 724 return convert_device(dev)->begin(purpose, key, in_params, out_params, operation_handle); in begin() [all …]
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.cpp | 185 static inline TrustyGateKeeperDevice *convert_device(const gatekeeper_device *dev) { in convert_device() function 210 return convert_device(dev)->Enroll(uid, current_password_handle, current_password_handle_length, in enroll() 228 return convert_device(dev)->Verify(uid, challenge, enrolled_password_handle, in verify()
|