Searched refs:HwWskError (Results 1 – 3 of 3) sorted by relevance
26 pub enum HwWskError { enum49 impl HwWskError { implementation54 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 { implementation64 HwWskError::Tipc(err) in from()68 impl From<Error> for HwWskError { implementation70 HwWskError::System(err) in from()[all …]
33 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 …]
109 if result == Err(hwwsk::HwWskError::NotSupported) && rollback_resistance { in create_storage_key()