summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/digests/Haraka256Digest.cs2
-rw-r--r--crypto/src/crypto/digests/Haraka512Digest.cs2
-rw-r--r--crypto/src/crypto/digests/HarakaBase.cs6
3 files changed, 3 insertions, 7 deletions
diff --git a/crypto/src/crypto/digests/Haraka256Digest.cs b/crypto/src/crypto/digests/Haraka256Digest.cs
index b5b230e27..f7af4bf69 100644
--- a/crypto/src/crypto/digests/Haraka256Digest.cs
+++ b/crypto/src/crypto/digests/Haraka256Digest.cs
@@ -121,7 +121,7 @@ namespace Org.BouncyCastle.Crypto.Digests
             buffer[off++] = input;
         }
 
-        public void Update(byte[] input, int inOff, int len)
+        public override void BlockUpdate(byte[] input, int inOff, int len)
         {
             if (off + len > 32)
             {
diff --git a/crypto/src/crypto/digests/Haraka512Digest.cs b/crypto/src/crypto/digests/Haraka512Digest.cs
index ce48c81bc..36bdcbabe 100644
--- a/crypto/src/crypto/digests/Haraka512Digest.cs
+++ b/crypto/src/crypto/digests/Haraka512Digest.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Crypto.Digests
             buffer[off++] = input;
         }
 
-        public void Update(byte[] input, int inOff, int len)
+        public override void BlockUpdate(byte[] input, int inOff, int len)
         {
             if (off + len > 64)
             {
diff --git a/crypto/src/crypto/digests/HarakaBase.cs b/crypto/src/crypto/digests/HarakaBase.cs
index ef74204e9..6157198f1 100644
--- a/crypto/src/crypto/digests/HarakaBase.cs
+++ b/crypto/src/crypto/digests/HarakaBase.cs
@@ -138,11 +138,7 @@ namespace Org.BouncyCastle.Crypto.Digests
 
         public abstract void Update(byte input);
 
-
-        public void BlockUpdate(byte[] input, int inOff, int length)
-        {
-            throw new NotImplementedException();
-        }
+        public abstract void BlockUpdate(byte[] input, int inOff, int length);
 
         public abstract int DoFinal(byte[] output, int outOff);