diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2002-10-11 20:24:02 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2002-10-11 20:24:02 +0000 |
commit | 4c0a51c03701dd76b6f837e6aaf104fb616e6e44 (patch) | |
tree | d98ea40ecf905252eba6bfcce6c3d1d68543c062 /test.cpp | |
parent | a2f7dfe3afb5c056fdbb2a7e3f2e20753771fa95 (diff) | |
download | cryptopp-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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |