Skip to content

Commit 27999e0

Browse files
authored
sm4: Fix typo in intrinsics presence variable name
1 parent a53d714 commit 27999e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sm4/src/armv8/autodetect/linux.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ impl KeySizeUser for Sm4 {
2828
impl KeyInit for Sm4 {
2929
#[inline]
3030
fn new(key: &Key<Self>) -> Self {
31-
let (token, intrinsics_presense) = sm4_intrinsics::init_get();
31+
let (token, intrinsics_presence) = sm4_intrinsics::init_get();
3232

33-
let cipher = if intrinsics_presense {
33+
let cipher = if intrinsics_presence {
3434
Sm4Cipher {
3535
sm4: ManuallyDrop::new(CryptoExtensionSm4::new(key)),
3636
}

0 commit comments

Comments
 (0)