Home
last modified time | relevance | path

Searched refs:RequestProcessingError (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Virtualization/service_vm/requests/src/
Dclient_vm.rs31 use service_vm_comm::{ClientVmAttestationParams, Csr, CsrPayload, RequestProcessingError};
34 type Result<T> = result::Result<T, RequestProcessingError>;
48 RequestProcessingError::InternalError in request_attestation()
54 dice_artifacts.bcc().ok_or(RequestProcessingError::MissingDiceChain)?, in request_attestation()
110 RequestProcessingError::FailedToDecryptKeyBlob in request_attestation()
139 return Err(RequestProcessingError::InternalError); in validate_service_vm_dice_chain_length()
193 return Err(RequestProcessingError::NoVendorHashTreeRootDigestInDT); in validate_vendor_partition_code_hash_if_exists()
202 Err(RequestProcessingError::InvalidVendorPartition) in validate_vendor_partition_code_hash_if_exists()
217 Err(RequestProcessingError::InvalidDiceChain) in validate_kernel_authority_hash()
231 return Err(RequestProcessingError::InvalidDiceChain); in validate_kernel_code_hash()
[all …]
Ddice.rs36 use service_vm_comm::RequestProcessingError;
38 type Result<T> = result::Result<T, RequestProcessingError>;
121 return Err(RequestProcessingError::InvalidDiceChain); in build()
133 return Err(RequestProcessingError::InvalidDiceChain); in build()
146 return Err(RequestProcessingError::InvalidDiceChain); in build()
199 Err(RequestProcessingError::InvalidDiceChain) in vendor_partition_exists()
208 type Error = RequestProcessingError;
218 return Err(RequestProcessingError::InvalidDiceChain); in try_from()
241 return Err(RequestProcessingError::InvalidDiceChain); in verify()
248 return Err(RequestProcessingError::InvalidDiceChain); in verify()
[all …]
Drkp.rs34 use service_vm_comm::{EcdsaP256KeyPair, GenerateCertificateRequestParams, RequestProcessingError};
37 type Result<T> = result::Result<T, RequestProcessingError>;
104 let dice_cert_chain = dice_artifacts.bcc().ok_or(RequestProcessingError::MissingDiceChain)?; in generate_certificate_request()
145 RequestProcessingError::InternalError
154 RequestProcessingError::InternalError in build_signed_data()
170 RequestProcessingError::InternalError in sign_message()
Dpub_key.rs21 use service_vm_comm::RequestProcessingError;
23 type Result<T> = result::Result<T, RequestProcessingError>;
29 let payload = cose_mac.payload.ok_or(RequestProcessingError::KeyToSignHasEmptyPayload)?; in validate_public_key()
38 Err(RequestProcessingError::InvalidMac) in verify_tag()
Dkeyblob.rs22 use service_vm_comm::RequestProcessingError;
25 type Result<T> = result::Result<T, RequestProcessingError>;
145 let expected_err: RequestProcessingError = in decrypting_keyblob_fails_with_a_different_kek()
/packages/modules/Virtualization/service_vm/comm/src/
Dmessage.rs110 Err(RequestProcessingError),
128 pub enum RequestProcessingError { enum
169 impl fmt::Display for RequestProcessingError { implementation
205 impl From<bssl_avf_error::Error> for RequestProcessingError { implementation
211 impl From<coset::CoseError> for RequestProcessingError { implementation
218 impl From<ciborium::value::Error> for RequestProcessingError { implementation
226 impl From<der::Error> for RequestProcessingError { implementation
Dlib.rs29 RequestProcessingError, Response, ServiceVmRequest,
/packages/modules/Virtualization/rialto/src/
Derror.rs22 use service_vm_comm::RequestProcessingError;
57 RequestProcessingFailed(RequestProcessingError),
140 impl From<RequestProcessingError> for Error {
141 fn from(e: RequestProcessingError) -> Self { in from()
/packages/modules/Virtualization/virtualizationservice/src/
Dremote_provisioning.rs36 use service_vm_comm::{RequestProcessingError, Response};
163 RequestProcessingError::InvalidMac => { in to_service_specific_error()
/packages/modules/Virtualization/rialto/tests/
Dtest.rs32 Request, RequestProcessingError, Response, VmType,
178 Response::Err(RequestProcessingError::InvalidDiceChain) => { in check_attestation_request()