summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/test/src/crypto/test/GMacTest.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/test/src/crypto/test/GMacTest.cs b/crypto/test/src/crypto/test/GMacTest.cs
index 62088b976..0b37e1a03 100644
--- a/crypto/test/src/crypto/test/GMacTest.cs
+++ b/crypto/test/src/crypto/test/GMacTest.cs
@@ -112,6 +112,10 @@ namespace Org.BouncyCastle.Crypto.Tests
                 mac.Init(new ParametersWithIV(key, testCase.getIv()));
 
                 testSingleByte(mac, testCase);
+
+                mac = new GMac(new GcmBlockCipher(new AesEngine()), testCase.getTag().Length * 8);
+                mac.Init(new ParametersWithIV(key, testCase.getIv()));
+
                 testMultibyte(mac, testCase);
             }