From 362bdfcfe97b7fb2fa78990a8f937de1661e9c89 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 2 Feb 2014 11:56:16 +0700 Subject: Bring OCB test vectors up-to-date with draft v06 --- crypto/src/crypto/modes/OCBBlockCipher.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crypto/src') diff --git a/crypto/src/crypto/modes/OCBBlockCipher.cs b/crypto/src/crypto/modes/OCBBlockCipher.cs index 9f0e0f6bb..38669e22f 100644 --- a/crypto/src/crypto/modes/OCBBlockCipher.cs +++ b/crypto/src/crypto/modes/OCBBlockCipher.cs @@ -8,7 +8,7 @@ namespace Org.BouncyCastle.Crypto.Modes { /** * An implementation of the "work in progress" Internet-Draft The OCB Authenticated-Encryption + * href="http://tools.ietf.org/html/draft-irtf-cfrg-ocb-06">The OCB Authenticated-Encryption * Algorithm, licensed per: * *

License for @@ -150,6 +150,10 @@ namespace Org.BouncyCastle.Crypto.Modes { // TODO } + else + { + KtopInput = null; + } // hashCipher always used in forward mode hashCipher.Init(true, keyParameter); -- cgit 1.5.1