diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2023-04-10 14:34:46 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2023-04-10 14:35:32 +0300 |
commit | 403004a85e7bdd7567d3381d592ef00e5914b6ed (patch) | |
tree | 93caa4153b50799f4e784beaad9b075330ae4648 /generic/sodium | |
parent | a45581987189b45bc9d9d55750d0181806d6fe1b (diff) |
fix typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1170>
Diffstat (limited to 'generic/sodium')
-rw-r--r-- | generic/sodium/src/decrypter/imp.rs | 4 | ||||
-rw-r--r-- | generic/sodium/src/encrypter/imp.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/sodium/src/decrypter/imp.rs b/generic/sodium/src/decrypter/imp.rs index 6486f6d05..f722314ed 100644 --- a/generic/sodium/src/decrypter/imp.rs +++ b/generic/sodium/src/decrypter/imp.rs @@ -486,7 +486,7 @@ impl Decrypter { let block_size = { let mut mutex_state = self.state.lock().unwrap(); // This will only be run after READY state, - // and will be guaranted to be initialized + // and will be guaranteed to be initialized let state = mutex_state.as_mut().unwrap(); // Cleanup the adapter state.adapter.clear(); @@ -508,7 +508,7 @@ impl Decrypter { let mut state = self.state.lock().unwrap(); // This will only be run after READY state, - // and will be guaranted to be initialized + // and will be guaranteed to be initialized let state = state.as_mut().unwrap(); state.decrypt_into_adapter(self, &self.srcpad, &pulled_buffer, chunk_index)?; diff --git a/generic/sodium/src/encrypter/imp.rs b/generic/sodium/src/encrypter/imp.rs index f5f72db85..af99edde6 100644 --- a/generic/sodium/src/encrypter/imp.rs +++ b/generic/sodium/src/encrypter/imp.rs @@ -98,7 +98,7 @@ impl State { })?; // This env variable is only meant to bypass nonce regeneration during - // tests to get determinisic results. It should never be used outside + // tests to get deterministic results. It should never be used outside // of testing environments. let nonce = if let Ok(val) = std::env::var("GST_SODIUM_ENCRYPT_NONCE") { let bytes = hex::decode(val).expect("Failed to decode hex variable"); @@ -216,7 +216,7 @@ impl Encrypter { let mut state_mutex = self.state.lock().unwrap(); let mut buffers = BufferVec::new(); // This will only be run after READY state, - // and will be guaranted to be initialized + // and will be guaranteed to be initialized let state = state_mutex.as_mut().unwrap(); // Now that all the full size blocks are pushed, drain the |