mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-25 08:27:39 +02:00
PPC fix.
This commit is contained in:
parent
e772292d5e
commit
3be8a7aa6f
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ impl<const ROUNDS: usize> Salsa<ROUNDS> {
|
|||
j9 = j9.wrapping_add((j8 == 0) as u32);
|
||||
|
||||
if plaintext.len() >= 64 {
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64"))]
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
|
||||
{
|
||||
// Slightly faster keystream XOR for little-endian platforms with unaligned load/store.
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Reference in a new issue