summaryrefslogtreecommitdiff
path: root/blake2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-04-05 21:44:12 -0400
committerJeffrey Walton <noloader@gmail.com>2020-04-05 21:44:12 -0400
commit61513acb94fdae061beac9a589bc7114e1170a32 (patch)
treed89c3c07434ff4181bc582801f8b17547fd44055 /blake2.cpp
parente4ccdb90c0ec3fa694581c8fab1b4232aa795567 (diff)
downloadcryptopp-git-61513acb94fdae061beac9a589bc7114e1170a32.tar.gz
Use Altivec as minimum ISA for Blake2s
Diffstat (limited to 'blake2.cpp')
-rw-r--r--blake2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/blake2.cpp b/blake2.cpp
index a0ae8238..e3a39678 100644
--- a/blake2.cpp
+++ b/blake2.cpp
@@ -181,6 +181,10 @@ extern void BLAKE2_Compress32_NEON(const byte* input, BLAKE2s_State& state);
extern void BLAKE2_Compress64_NEON(const byte* input, BLAKE2b_State& state);
#endif
+#if CRYPTOPP_ALTIVEC_AVAILABLE
+extern void BLAKE2_Compress32_ALTIVEC(const byte* input, BLAKE2s_State& state);
+#endif
+
#if CRYPTOPP_POWER8_AVAILABLE
extern void BLAKE2_Compress64_POWER8(const byte* input, BLAKE2b_State& state);
#endif