summaryrefslogtreecommitdiff
path: root/dlltest.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-07-03 01:19:39 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-07-03 01:19:39 +0000
commit52d12ac9a7018fb659b4f6cc11c35559d57cbf0b (patch)
treeca50a0b5be31a602154624496ec4b1cd80501b19 /dlltest.cpp
parentb4af5c738f97312dacbaec5ee4c9f1dbc73a454d (diff)
downloadcryptopp-52d12ac9a7018fb659b4f6cc11c35559d57cbf0b.tar.gz
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
Diffstat (limited to 'dlltest.cpp')
-rw-r--r--dlltest.cpp2
1 files changed, 1 insertions, 1 deletions
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<DES_EDE3>::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<DES_EDE3>::Decryption decryption_DES_EDE3_CFB;
decryption_DES_EDE3_CFB.SetKeyWithIV(key, sizeof(key), iv);