Home
last modified time | relevance | path

Searched refs:CoseError (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Virtualization/libs/cborutil/src/
Dlib.rs26 CborSerializable, CoseError, CoseKey, Label, Result,
45 Err(CoseError::ExtraneousData) in deserialize()
74 CoseError::OutOfRangeIntegerValue in value_to_num()
83 CoseError::UnexpectedItem("bstr", "array of length {N}")
98 ) -> CoseError { in to_unexpected_item_error() argument
102 CoseError::UnexpectedItem(v_type, expected_type) in to_unexpected_item_error()
135 .ok_or(CoseError::UnexpectedItem("", "Label not found in CoseKey"))? in get_label_value()
144 CoseError::UnexpectedItem("COSE key algorithm", "") in dice_cose_key_alg()
150 Err(CoseError::UnexpectedItem("-8, -7 or -35", "")) in dice_cose_key_alg()
/packages/modules/Virtualization/service_vm/comm/src/
Dcsr.rs22 use coset::{self, CborSerializable, CoseError};
52 return Err(CoseError::UnexpectedItem(cbor_value_type(&value), "array")); in from_cbor_slice()
55 return Err(CoseError::UnexpectedItem("array", "array with 2 items")); in from_cbor_slice()
91 return Err(CoseError::UnexpectedItem(cbor_value_type(&value), "array")); in from_cbor_slice()
94 return Err(CoseError::UnexpectedItem("array", "array with 2 items")); in from_cbor_slice()
Dmessage.rs211 impl From<coset::CoseError> for RequestProcessingError {
212 fn from(e: coset::CoseError) -> Self { in from()
/packages/modules/Virtualization/libs/bssl/error/src/
Dlib.rs64 impl From<coset::CoseError> for Error {
65 fn from(e: coset::CoseError) -> Self { in from()
/packages/modules/Virtualization/service_vm/requests/src/
Ddice.rs31 Algorithm, AsCborValue, CborSerializable, CoseError, CoseKey, CoseSign1, KeyOperation, KeyType,
510 v => return Err(CoseError::UnexpectedItem(cbor_value_type(&v), "bstr or int").into()), in to_mode()