summaryrefslogtreecommitdiff
path: root/dev-libs/botan/files/botan-3.6.1-no-avx2.patch
blob: b72e23c5d6d965ef998b73b4ff37d430ff377d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
https://bugs.gentoo.org/946821
https://github.com/randombit/botan/issues/4493
https://github.com/randombit/botan/pull/4494

From 07d0556e03c4a2f96c0e26073523b944b86cdfc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Meusel?= <rene.meusel@rohde-schwarz.com>
Date: Mon, 23 Dec 2024 09:29:07 +0100
Subject: [PATCH] FIX: SM4 GFNI needs AVX2

closes #4493
---
 src/lib/block/sm4/sm4_gfni/info.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/block/sm4/sm4_gfni/info.txt b/src/lib/block/sm4/sm4_gfni/info.txt
index 4c5867f9b72..1ec736e7cd4 100644
--- a/src/lib/block/sm4/sm4_gfni/info.txt
+++ b/src/lib/block/sm4/sm4_gfni/info.txt
@@ -7,6 +7,10 @@ name -> "SM4 GFNI"
 brief -> "SM4 using Intel GFNI"
 </module_info>
 
+<requires>
+simd_avx2
+</requires>
+
 <isa>
 gfni
 </isa>