Searched refs:convert_device (Results 1 – 1 of 1) sorted by relevance
331 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device() function355 delete convert_device(reinterpret_cast<keymaster2_device_t*>(dev)); in close_device()360 delete convert_device(reinterpret_cast<keymaster1_device_t*>(dev)); in close_device()379 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_algorithms()382 auto& impl_ = convert_device(dev)->impl_; in get_supported_algorithms()410 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_block_modes()414 auto& impl_ = convert_device(dev)->impl_; in get_supported_block_modes()444 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_padding_modes()449 auto& impl_ = convert_device(dev)->impl_; in get_supported_padding_modes()454 convert_device(dev)->impl_->SupportedPaddingModes(request, &response); in get_supported_padding_modes()[all …]