summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-10-11 20:24:02 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-10-11 20:24:02 +0000
commit4c0a51c03701dd76b6f837e6aaf104fb616e6e44 (patch)
treed98ea40ecf905252eba6bfcce6c3d1d68543c062 /test.cpp
parenta2f7dfe3afb5c056fdbb2a7e3f2e20753771fa95 (diff)
downloadcryptopp-4c0a51c03701dd76b6f837e6aaf104fb616e6e44.tar.gz
fix typo
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@9 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.cpp b/test.cpp
index dc430f2..77719fe 100644
--- a/test.cpp
+++ b/test.cpp
@@ -357,11 +357,11 @@ void FIPS140_SampleApplication(const char *moduleFilename, const char *edcFilena
byte ciphertext[24];
byte decrypted[24];
- CFB_Mode<DES>::Encryption encryption_DES_CBC;
+ CBC_Mode<DES>::Encryption encryption_DES_CBC;
encryption_DES_CBC.SetKeyWithIV(key, 8, iv);
encryption_DES_CBC.ProcessString(ciphertext, plaintext, 24);
- CFB_Mode<DES>::Decryption decryption_DES_CBC;
+ CBC_Mode<DES>::Decryption decryption_DES_CBC;
decryption_DES_CBC.SetKeyWithIV(key, 8, iv);
decryption_DES_CBC.ProcessString(decrypted, ciphertext, 24);