Skip to content

Commit

Permalink
keccak: remove f1600_armv8_sha3_asm re-export (#27)
Browse files Browse the repository at this point in the history
As discussed in #24
  • Loading branch information
tarcieri committed Nov 14, 2022
1 parent 6bd1a6d commit d82151a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions keccak/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ mod unroll;
#[cfg(all(target_arch = "aarch64", feature = "asm"))]
mod armv8;

#[cfg(all(target_arch = "aarch64", feature = "asm"))]
pub use armv8::f1600_armv8_sha3_asm;

#[cfg(all(target_arch = "aarch64", feature = "asm"))]
cpufeatures::new!(armv8_sha3_intrinsics, "sha3");

Expand Down Expand Up @@ -159,7 +156,7 @@ impl_keccak!(f1600, u64);
#[cfg(all(target_arch = "aarch64", feature = "asm"))]
pub fn f1600(state: &mut [u64; PLEN]) {
if armv8_sha3_intrinsics::get() {
unsafe { f1600_armv8_sha3_asm(state) }
unsafe { armv8::f1600_armv8_sha3_asm(state) }
} else {
keccak_p(state, u64::KECCAK_F_ROUND_COUNT);
}
Expand Down

0 comments on commit d82151a

Please sign in to comment.