Home
last modified time | relevance | path

Searched refs:OpCode (Results 1 – 4 of 4) sorted by relevance

/system/secretkeeper/comm/src/
Dwire.rs42 pub fn code(&self) -> OpCode { in code() argument
44 Self::SecretManagement(_) => OpCode::SecretManagement, in code()
45 Self::DeleteIds(_) => OpCode::DeleteIds, in code()
46 Self::DeleteAll => OpCode::DeleteAll, in code()
55 vec![OpCode::SecretManagement.to_cbor_value()?, Value::Bytes(encrypt0)] in to_cbor_value()
59 OpCode::DeleteIds.to_cbor_value()?, in to_cbor_value()
65 Self::DeleteAll => vec![OpCode::DeleteAll.to_cbor_value()?, Value::Null], in to_cbor_value()
75 let code = OpCode::from_cbor_value(a.remove(0))?; in from_cbor_value()
77 OpCode::SecretManagement => Self::SecretManagement(match val { in from_cbor_value()
81 OpCode::DeleteIds => { in from_cbor_value()
[all …]
/system/secretkeeper/core/src/ta/
Dbootloader.rs34 pub enum OpCode { enum
60 x if x == OpCode::GetIdentityKey as u32 => { in from_slice()
79 Error(OpCode, ErrorCode),
103 Self::IdentityKey(_) => OpCode::GetIdentityKey as u32, in op_code()
133 x if x == OpCode::GetIdentityKey as u32 => OpCode::GetIdentityKey, in from_slice()
139 OpCode::GetIdentityKey => Ok(Self::IdentityKey(remainder.to_vec())), in from_slice()
193 Response::Error(OpCode::GetIdentityKey, ErrorCode::CborFailure), in test_serialize_rsp()
/system/secretkeeper/comm/tests/
Dwire.rs23 AidlErrorCode, ApiError, OpCode, PerformOpReq, PerformOpResponse, PerformOpSuccessRsp,
79 let result = OpCode::from_cbor_value(bignum); in wire_opcode_out_of_range()
/system/secretkeeper/core/src/
Dta.rs159 return bl::Response::Error(bl::OpCode::Unknown, bl::ErrorCode::CborFailure) in process_bootloader()
171 bl::OpCode::GetIdentityKey, in process_bootloader()