Searched defs:CborError (Results 1 – 7 of 7) sorted by relevance
/system/authgraph/wire/src/ |
D | cbor.rs | 25 pub enum CborError { enum 44 impl<T> From<ciborium::de::Error<T>> for CborError { implementation 58 impl<T> From<ciborium::ser::Error<T>> for CborError { implementation 64 impl core::fmt::Debug for CborError { implementation 80 pub fn cbor_type_error<T>(value: &Value, want: &'static str) -> Result<T, CborError> { in cbor_type_error() argument 98 pub fn read_to_value(mut slice: &[u8]) -> Result<Value, CborError> { in read_to_value() argument 112 fn from_cbor_value(value: Value) -> Result<Self, CborError>; in from_cbor_value() argument 115 fn to_cbor_value(self) -> Result<Value, CborError>; in to_cbor_value() argument 118 fn from_slice(slice: &[u8]) -> Result<Self, CborError> { in from_slice() argument 123 fn into_vec(self) -> Result<Vec<u8>, CborError> { in into_vec() argument [all …]
|
D | lib.rs | 149 fn from_cbor_value(value: Value) -> Result<Self, CborError> { in from_cbor_value() argument 166 fn to_cbor_value(self) -> Result<Value, CborError> { in to_cbor_value() argument 196 fn from_cbor_value(value: Value) -> Result<Self, CborError> { in from_cbor_value() argument 213 fn to_cbor_value(self) -> Result<Value, CborError> { in to_cbor_value() argument
|
/system/keymint/wire/src/ |
D | lib.rs | 170 pub enum CborError { enum 191 impl Into<coset::CoseError> for CborError { implementation 211 impl<T> From<cbor::de::Error<T>> for CborError { implementation 225 impl<T> From<cbor::ser::Error<T>> for CborError { implementation 231 impl From<cbor::value::Error> for CborError { implementation 237 impl From<core::num::TryFromIntError> for CborError { implementation 243 impl From<coset::CoseError> for CborError { implementation 265 impl core::fmt::Debug for CborError { implementation 281 pub fn cbor_type_error<T>(value: &cbor::value::Value, want: &'static str) -> Result<T, CborError> { in cbor_type_error() argument 300 pub fn read_to_value(mut slice: &[u8]) -> Result<cbor::value::Value, CborError> { in read_to_value() argument [all …]
|
D | keymint.rs | 114 fn from_cbor_value(value: cbor::value::Value) -> Result<Self, CborError> { in from_cbor_value() argument 118 fn to_cbor_value(self) -> Result<cbor::value::Value, CborError> { in to_cbor_value() argument 478 fn check_bool(value: cbor::value::Value) -> Result<(), crate::CborError> { in check_bool() 489 fn from_cbor_value(value: cbor::value::Value) -> Result<Self, crate::CborError> { in from_cbor_value() 627 fn to_cbor_value(self) -> Result<cbor::value::Value, crate::CborError> { in to_cbor_value()
|
/system/keymint/common/src/ |
D | crypto.rs | 50 pub fn try_to_vec<T: Clone>(s: &[T]) -> Result<Vec<T>, CborError> { in try_to_vec() argument 231 fn from_cbor_value(value: cbor::value::Value) -> Result<Self, CborError> { in from_cbor_value() argument 332 fn to_cbor_value(self) -> Result<cbor::value::Value, CborError> { in to_cbor_value() argument
|
D | keyblob.rs | 83 fn from_cbor_value(value: cbor::value::Value) -> Result<Self, CborError> { in from_cbor_value() argument 94 fn to_cbor_value(self) -> Result<cbor::value::Value, CborError> { in to_cbor_value() argument
|
/system/teeui/libteeui/include/teeui/ |
D | generic_operation.h | 91 using CborError = ::teeui::cbor::Error; in init() local
|