Home
last modified time | relevance | path

Searched refs:from_slice (Results 1 – 7 of 7) sorted by relevance

/system/keymint/wire/fuzz/fuzz_targets/
Dmessage.rs10 let _ = kmr_wire::PerformOpReq::from_slice(data);
/system/keymint/common/src/
Dkeyblob.rs49 Self::from_slice(data) in new()
445 key_material: <crypto::KeyMaterial>::from_slice(&pt_data)?, in decrypt()
/system/keymint/ta/src/
Drkp.rs215 let cose_mac0 = CoseMac0::from_slice(&maced_pub_key).map_err(CborError::from)?; in generate_cert_req_v2()
Dlib.rs597 let (req_code, rsp) = match PerformOpReq::from_slice(req_data) { in process()
/system/keymint/boringssl/src/
Drsa.rs56 let exponent = openssl::bn::BigNum::from_slice(&pub_exponent.0.to_be_bytes()[..]) in generate_key()
/system/security/keystore2/test_utils/
Drun_as.rs156 serde_cbor::from_slice(&data_buffer) in recv()
/system/keymint/wire/src/
Dlib.rs300 fn from_slice(slice: &[u8]) -> Result<Self, CborError> { in from_slice() method