rust: Import CStr from core
Import `CStr` from core instead of trusty_std now that it lives in core.
Bug: 242229115
Test: com.android.trusty.rust.*
Change-Id: I0b6dc2ad5b6fc4660dd491d75637cb77e7a1580c
diff --git a/key_wrapper.rs b/key_wrapper.rs
index 6bce535..a1ecc04 100644
--- a/key_wrapper.rs
+++ b/key_wrapper.rs
@@ -15,6 +15,7 @@
*/
//! Trusty implementation of StorageKeyWrapper trait.
use alloc::vec::Vec;
+use core::ffi::CStr;
use hwwsk;
use kmr_common::{
crypto,
@@ -27,7 +28,6 @@
use kmr_wire::{keymint, keymint::ErrorCode, KeySizeInBits};
use log::warn;
use tipc::Handle;
-use trusty_std::ffi::CStr;
/// TIPC port used for communication with the `hwwsk` service.
const HWWSK_PORT: &'static [u8] = b"com.android.trusty.hwwsk\0";