From 52d12ac9a7018fb659b4f6cc11c35559d57cbf0b Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 3 Jul 2004 01:19:39 +0000 Subject: fix bug in CFB mode test git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@181 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- dlltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dlltest.cpp') diff --git a/dlltest.cpp b/dlltest.cpp index ed9337a..149d27d 100644 --- a/dlltest.cpp +++ b/dlltest.cpp @@ -62,7 +62,7 @@ void FIPS140_SampleApplication() CFB_FIPS_Mode::Encryption encryption_DES_EDE3_CFB; encryption_DES_EDE3_CFB.SetKeyWithIV(key, sizeof(key), iv); - encryption_DES_EDE3_CFB.ProcessString(ciphertext, plaintext, 23); + encryption_DES_EDE3_CFB.ProcessString(ciphertext, plaintext, 24); CFB_FIPS_Mode::Decryption decryption_DES_EDE3_CFB; decryption_DES_EDE3_CFB.SetKeyWithIV(key, sizeof(key), iv); -- cgit v1.2.1