Searched refs:from_slice (Results 1 – 7 of 7) sorted by relevance
10 let _ = kmr_wire::PerformOpReq::from_slice(data);
49 Self::from_slice(data) in new()445 key_material: <crypto::KeyMaterial>::from_slice(&pt_data)?, in decrypt()
215 let cose_mac0 = CoseMac0::from_slice(&maced_pub_key).map_err(CborError::from)?; in generate_cert_req_v2()
597 let (req_code, rsp) = match PerformOpReq::from_slice(req_data) { in process()
56 let exponent = openssl::bn::BigNum::from_slice(&pub_exponent.0.to_be_bytes()[..]) in generate_key()
156 serde_cbor::from_slice(&data_buffer) in recv()
300 fn from_slice(slice: &[u8]) -> Result<Self, CborError> { in from_slice() method