Searched refs:HwkeyError (Results 1 – 3 of 3) sorted by relevance
25 pub enum HwkeyError { enum39 impl HwkeyError { implementation55 impl From<TipcError> for HwkeyError { implementation61 impl From<Error> for HwkeyError { implementation67 impl From<TryFromIntError> for HwkeyError { implementation69 HwkeyError::OutOfBounds in from()73 impl From<AllocError> for HwkeyError { implementation79 impl From<FromBytesWithNulError> for HwkeyError { implementation
36 pub use err::HwkeyError;111 ) -> Result<&'a [u8], HwkeyError> { in get_keyslot_data() argument118 return Err(HwkeyError::NotValid); in get_keyslot_data()123 return Err(HwkeyError::NotValid); in get_keyslot_data()141 return Err(HwkeyError::InvalidCmdResponse); in get_keyslot_data()144 HwkeyError::from_hwkey_rc(response.status)?; in get_keyslot_data()152 return Err(HwkeyError::BadLen); in get_keyslot_data()179 ) -> Result<DeriveResult, HwkeyError> { in derive() argument182 return Err(HwkeyError::NotValid); in derive()190 return Err(HwkeyError::BadLen); in derive()[all …]
446 assert_eq!(err, HwkeyError::BadLen); in test_hwkey_derive_large_payload()456 assert_eq!(err, HwkeyError::BadLen); in test_hwkey_derive_large_payload()482 assert_eq!(err, HwkeyError::NotFound); in test_get_keyslot_storage_auth()586 assert_eq!(err, HwkeyError::NotFound); in test_get_multiple_opaque_keys()597 assert_eq!(err, HwkeyError::NotFound); in test_get_multiple_opaque_keys()603 assert_eq!(err, HwkeyError::NotFound); in test_get_multiple_opaque_keys()