@@ -33,11 +33,11 @@ use std::ptr::null_mut;
3333///
3434/// Code safety-wise, the methods should cover the two kinds of problems that might arise:
3535/// * in terms of memory safety, all parameters passed down to the TSS are verified and the library
36- /// stack is then trusted to provide back valid outputs
36+ /// stack is then trusted to provide back valid outputs
3737/// * in terms of thread safety, all methods require a mutable reference to the context object,
38- /// ensuring that no two threads can use the context at the same time for an operation (barring use
39- /// of `unsafe` constructs on the client side)
40- /// More testing and verification will be added to ensure this.
38+ /// ensuring that no two threads can use the context at the same time for an operation (barring use
39+ /// of `unsafe` constructs on the client side)
40+ /// More testing and verification will be added to ensure this.
4141///
4242/// For most methods, if the wrapped TSS call fails and returns a non-zero `TPM2_RC`, a
4343/// corresponding `Tss2ResponseCode` will be created and returned as an `Error`. Wherever this is
@@ -86,7 +86,7 @@ impl Context {
8686 ///
8787 /// # Errors
8888 /// * if either `Tss2_TctiLdr_Initiialize` or `Esys_Initialize` fail, a corresponding
89- /// Tss2ResponseCode will be returned
89+ /// Tss2ResponseCode will be returned
9090 pub fn new ( tcti_name_conf : TctiNameConf ) -> Result < Self > {
9191 let mut esys_context = null_mut ( ) ;
9292
@@ -122,7 +122,7 @@ impl Context {
122122 ///
123123 /// # Errors
124124 /// * if either `Tss2_TctiLdr_Initiialize` or `Esys_Initialize` fail, a corresponding
125- /// Tss2ResponseCode will be returned
125+ /// Tss2ResponseCode will be returned
126126 pub fn new_with_tabrmd ( tabrmd_conf : TabrmdConfig ) -> Result < Self > {
127127 Context :: new ( TctiNameConf :: Tabrmd ( tabrmd_conf) )
128128 }
0 commit comments