aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/noekeon/noekeon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/noekeon/noekeon.cpp')
-rw-r--r--src/lib/block/noekeon/noekeon.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/block/noekeon/noekeon.cpp b/src/lib/block/noekeon/noekeon.cpp
index 5e7c0229e..fbafe092e 100644
--- a/src/lib/block/noekeon/noekeon.cpp
+++ b/src/lib/block/noekeon/noekeon.cpp
@@ -73,6 +73,18 @@ inline void gamma(u32bit& A0, u32bit& A1, u32bit& A2, u32bit& A3)
}
+const char* Noekeon::provider() const
+ {
+#if defined(BOTAN_HAS_NOEKEON_SIMD)
+ if(CPUID::has_simd_32())
+ {
+ return "simd";
+ }
+#endif
+
+ return "base";
+ }
+
/*
* Noekeon Round Constants
*/