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>
