libcros 0.6.6

A Rust library that provides easy-to-use functions for interacting with a Chrome device
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub struct Client;

impl Client {
  pub fn new() -> Self {
    Self
  }

  crate::tlcl::client::impl_tlcl_client_common!(tpm12);

  pub fn nv_read_public(&self, index: u32, presp: *mut core::ffi::c_void) -> u32 {
    crate::tlcl::commands::tpm12::TlclNVReadPublic(index, presp)
  }
}