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 f066361 commit 4859a31Copy full SHA for 4859a31
src/crc32/fusion/aarch64.rs
@@ -93,7 +93,7 @@ unsafe fn clmul_scalar(a: u32, b: u32) -> uint64x2_t {
93
#[inline]
94
#[cfg(target_feature = "sha3")]
95
#[target_feature(enable = "neon,aes")]
96
-fn xnmodp_crc32_iscsi(mut n: u64) -> u32 {
+unsafe fn xnmodp_crc32_iscsi(mut n: u64) -> u32 {
97
let mut stack = !1u64;
98
let mut acc: u32;
99
let mut low: u32;
@@ -139,7 +139,7 @@ unsafe fn crc_shift_iscsi(crc: u32, nbytes: usize) -> uint64x2_t {
139
140
141
142
-fn xnmodp_iso_hdlc(mut n: u64) -> u32 {
+unsafe fn xnmodp_iso_hdlc(mut n: u64) -> u32 {
143
144
145
0 commit comments