From 7a2afddeddcd10d49c50602163d359384c4770f1 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 11 Oct 2002 20:24:02 +0000 Subject: [PATCH] fix typo --- trunk/c5/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/c5/test.cpp b/trunk/c5/test.cpp index dc430f21..77719fe5 100644 --- a/trunk/c5/test.cpp +++ b/trunk/c5/test.cpp @@ -357,11 +357,11 @@ void FIPS140_SampleApplication(const char *moduleFilename, const char *edcFilena byte ciphertext[24]; byte decrypted[24]; - CFB_Mode::Encryption encryption_DES_CBC; + CBC_Mode::Encryption encryption_DES_CBC; encryption_DES_CBC.SetKeyWithIV(key, 8, iv); encryption_DES_CBC.ProcessString(ciphertext, plaintext, 24); - CFB_Mode::Decryption decryption_DES_CBC; + CBC_Mode::Decryption decryption_DES_CBC; decryption_DES_CBC.SetKeyWithIV(key, 8, iv); decryption_DES_CBC.ProcessString(decrypted, ciphertext, 24);