aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sha1/sha1_armv8
diff options
context:
space:
mode:
authorZoltan Gyarmati <[email protected]>2017-06-08 13:25:17 +0200
committerZoltan Gyarmati <[email protected]>2017-06-08 13:25:22 +0200
commit96bd50b337f2bb41a171490a0b9202f0ab8cef3c (patch)
tree1885421107516f33ef585a549aa4889da4a95901 /src/lib/hash/sha1/sha1_armv8
parent2a52cdb662b268612bf414f8066427a213493c3e (diff)
fix doxygen build: hide method definitions with ifdefs where the
function declaration is already hidden, fix some param names in doxygen comments, fixes #1067 This work was sponsored by Ribose Inc (@riboseinc).
Diffstat (limited to 'src/lib/hash/sha1/sha1_armv8')
-rw-r--r--src/lib/hash/sha1/sha1_armv8/sha1_armv8.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/hash/sha1/sha1_armv8/sha1_armv8.cpp b/src/lib/hash/sha1/sha1_armv8/sha1_armv8.cpp
index 97e56bfd0..1d5ebaa4e 100644
--- a/src/lib/hash/sha1/sha1_armv8/sha1_armv8.cpp
+++ b/src/lib/hash/sha1/sha1_armv8/sha1_armv8.cpp
@@ -16,6 +16,7 @@ namespace Botan {
* SHA-1 using CPU instructions in ARMv8
*/
//static
+#if defined(BOTAN_HAS_SHA1_ARMV8)
BOTAN_FUNC_ISA("+crypto")
void SHA_160::sha1_armv8_compress_n(secure_vector<uint32_t>& digest, const uint8_t input8[], size_t blocks)
{
@@ -201,5 +202,6 @@ void SHA_160::sha1_armv8_compress_n(secure_vector<uint32_t>& digest, const uint8
vst1q_u32(&digest[0], ABCD);
digest[4] = E0;
}
+#endif
}