We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3869b37 commit 029c1baCopy full SHA for 029c1ba
cryptoki/src/mechanism/aead.rs
@@ -80,7 +80,7 @@ impl<'a> GcmParams<'a> {
80
81
/// The additional authenticated data.
82
pub fn aad(&self) -> &'a [u8] {
83
- // SAEFTY: In the constructor, the AAD always comes from a &'a [u8]
+ // SAFETY: In the constructor, the AAD always comes from a &'a [u8]
84
unsafe { slice::from_raw_parts(self.inner.pAAD, self.inner.ulAADLen as _) }
85
}
86
0 commit comments