Searched refs:convert_device (Results 1 – 1 of 1) sorted by relevance
333 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device() function357 delete convert_device(reinterpret_cast<keymaster2_device_t*>(dev)); in close_device()362 delete convert_device(reinterpret_cast<keymaster1_device_t*>(dev)); in close_device()381 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_algorithms()384 auto& impl_ = convert_device(dev)->impl_; in get_supported_algorithms()412 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_block_modes()416 auto& impl_ = convert_device(dev)->impl_; in get_supported_block_modes()446 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_padding_modes()451 auto& impl_ = convert_device(dev)->impl_; in get_supported_padding_modes()456 convert_device(dev)->impl_->SupportedPaddingModes(request, &response); in get_supported_padding_modes()[all …]