Home
last modified time | relevance | path

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

/system/keymaster/
Dsoft_keymaster_device.cpp331 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device() function
383 delete convert_device(reinterpret_cast<keymaster2_device_t*>(dev)); in close_device()
388 delete convert_device(reinterpret_cast<keymaster1_device_t*>(dev)); in close_device()
409 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_algorithms()
415 convert_device(dev)->impl_->SupportedAlgorithms(request, &response); in get_supported_algorithms()
443 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_block_modes()
451 convert_device(dev)->impl_->SupportedBlockModes(request, &response); in get_supported_block_modes()
479 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_padding_modes()
488 convert_device(dev)->impl_->SupportedPaddingModes(request, &response); in get_supported_padding_modes()
515 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_digests()
[all …]
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp183 static inline TrustyGateKeeperDevice *convert_device(const gatekeeper_device *dev) { in convert_device() function
208 return convert_device(dev)->Enroll(uid, current_password_handle, current_password_handle_length, in enroll()
226 return convert_device(dev)->Verify(uid, challenge, enrolled_password_handle, in verify()