mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-03-04 11:17:08 +00:00
fix typo
This commit is contained in:
parent
6a286861f3
commit
ffb6f9cd3f
4
test.cpp
4
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user