Home
last modified time | relevance | path

Searched refs:HwWskError (Results 1 – 3 of 3) sorted by relevance

/trusty/user/base/lib/hwwsk/rust/src/
Derr.rs26 pub enum HwWskError { enum
49 impl HwWskError { implementation
54 hwwsk_err_HWWSK_ERR_INVALID_ARGS => Err(HwWskError::NotValid), in from_status()
55 hwwsk_err_HWWSK_ERR_NOT_SUPPORTED => Err(HwWskError::NotSupported), in from_status()
56 hwwsk_err_HWWSK_ERR_BAD_LEN => Err(HwWskError::BadLen), in from_status()
57 _ => Err(HwWskError::Generic), in from_status()
62 impl From<TipcError> for HwWskError { implementation
64 HwWskError::Tipc(err) in from()
68 impl From<Error> for HwWskError { implementation
70 HwWskError::System(err) in from()
[all …]
Dlib.rs33 pub use err::HwWskError;
82 type Error = HwWskError;
89 return Err(HwWskError::BadLen); in deserialize()
108 Err(HwWskError::NotValid) in deserialize()
142 type Error = HwWskError;
149 return Err(HwWskError::BadLen); in deserialize()
181 type Error = HwWskError;
217 type Error = HwWskError;
225 return Err(HwWskError::BadLen); in deserialize()
239 fn validate_cmd(sent_cmd: &u32, recvd_cmd: &u32) -> Result<(), HwWskError> { in validate_cmd() argument
[all …]
/trusty/user/app/keymint/
Dkey_wrapper.rs109 if result == Err(hwwsk::HwWskError::NotSupported) && rollback_resistance { in create_storage_key()