Searched refs:convert_device (Results 1 – 1 of 1) sorted by relevance
368 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device() function393 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 …]