Skip to content

Commit 029c1ba

Browse files
committed
aead: Fix typo in comment
Signed-off-by: Jakub Jelen <[email protected]>
1 parent 3869b37 commit 029c1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptoki/src/mechanism/aead.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl<'a> GcmParams<'a> {
8080

8181
/// The additional authenticated data.
8282
pub fn aad(&self) -> &'a [u8] {
83-
// SAEFTY: In the constructor, the AAD always comes from a &'a [u8]
83+
// SAFETY: In the constructor, the AAD always comes from a &'a [u8]
8484
unsafe { slice::from_raw_parts(self.inner.pAAD, self.inner.ulAADLen as _) }
8585
}
8686

0 commit comments

Comments
 (0)