Home
last modified time | relevance | path

Searched refs:PlatformError (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/libs/dice/open_dice/src/
Dbcc.rs211 cdi_attest: cdi_attest.try_into().map_err(|_| DiceError::PlatformError)?, in bcc_handover_parse()
212 cdi_seal: cdi_seal.try_into().map_err(|_| DiceError::PlatformError)?, in bcc_handover_parse()
221 return Err(DiceError::PlatformError); in sub_slice()
225 addr.offset_from(buffer.as_ptr()).try_into().map_err(|_| DiceError::PlatformError)? in sub_slice()
227 start.checked_add(len).and_then(|end| buffer.get(start..end)).ok_or(DiceError::PlatformError) in sub_slice()
Derror.rs31 PlatformError, enumerator
45 Self::PlatformError => write!(f, "Platform error"), in fmt()
61 DiceResult::kDiceResultPlatformError => Err(DiceError::PlatformError), in check_result()