aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1/sha160.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha1/sha160.h')
-rw-r--r--src/hash/sha1/sha160.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hash/sha1/sha160.h b/src/hash/sha1/sha160.h
index 3d46e0c79..c66831a1e 100644
--- a/src/hash/sha1/sha160.h
+++ b/src/hash/sha1/sha160.h
@@ -24,6 +24,12 @@ class BOTAN_DLL SHA_160 : public MDx_HashFunction
SHA_160();
protected:
+ /**
+ * Set a custom size for the W array. Normally 80, but some
+ * subclasses need slightly more for best performance/internal
+ * constraints
+ * @param W_size how big to make W
+ */
SHA_160(u32bit W_size);
void compress_n(const byte[], u32bit blocks);