File: fix-32-bit.patch

package info (click to toggle)
rust-kuznyechik 0.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
adapted from 46462cc99c24e9eb5d4abbcb3abc6e459e2a836b upstream

Index: kuznyechik/src/sse2/backends.rs
===================================================================
--- kuznyechik.orig/src/sse2/backends.rs
+++ kuznyechik/src/sse2/backends.rs
@@ -9,6 +9,10 @@ use cipher::{
     typenum::Unsigned,
     BlockBackend, BlockSizeUser, ParBlocks, ParBlocksSizeUser,
 };
+#[cfg(target_arch = "x86")]
+use core::arch::x86::*;
+ 
+#[cfg(target_arch = "x86_64")]
 use core::arch::x86_64::*;
 
 pub(super) type RoundKeys = [__m128i; 10];