Home
last modified time | relevance | path

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

/system/keymint/wire/src/
Dtests.rs14 let got = read_to_value(&data).unwrap(); in test_read_to_value_ok()
28 let got_err = read_to_value(&data).expect_err("decoding expected to fail"); in test_read_to_value_fail()
Dlib.rs282 pub fn read_to_value(mut slice: &[u8]) -> Result<cbor::value::Value, CborError> { in read_to_value() function
301 Self::from_cbor_value(read_to_value(slice)?) in from_slice()
/system/keymint/ta/src/
Drkp.rs23 read_to_value, rpc,
220 let pub_cose_key_cbor = read_to_value(pub_cose_key_data)?; in generate_cert_req_v2()
264 let uds_certs = read_to_value(&dice_info.pub_dice_artifacts.uds_certs)?; in generate_cert_req_v2()
265 let dice_cert_chain = read_to_value(&dice_info.pub_dice_artifacts.dice_cert_chain)?; in generate_cert_req_v2()
268 let signed_data_cbor = read_to_value(&self.dev.rpc.sign_data_in_cose_sign1( in generate_cert_req_v2()
/system/keymint/hal/src/
Dlib.rs181 let rsp_value = kmr_wire::read_to_value(&rsp_data).map_err(failed_cbor)?; in channel_execute()