summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-07-24 19:28:01 -0400
committerJeffrey Walton <noloader@gmail.com>2016-07-24 19:28:01 -0400
commit06a7abc9c8b72ad0954d3e7c216aba5d87e27be1 (patch)
treeaeb583ad5ba4f60430c9defdc11a6a695d91deff /fipstest.cpp
parent8213936b55820f6096a7bb768e139984e4bc090e (diff)
downloadcryptopp-git-06a7abc9c8b72ad0954d3e7c216aba5d87e27be1.tar.gz
Whitespace cleanup
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/fipstest.cpp b/fipstest.cpp
index 6edfa5b1..48704e91 100644
--- a/fipstest.cpp
+++ b/fipstest.cpp
@@ -82,8 +82,8 @@ void KnownAnswerTest(RandomNumberGenerator &rng, const char *output)
template <class CIPHER>
void X917RNG_KnownAnswerTest(
- const char *key,
- const char *seed,
+ const char *key,
+ const char *seed,
const char *deterministicTimeVector,
const char *output,
CIPHER *dummy = NULL)
@@ -119,9 +119,9 @@ void KnownAnswerTest(StreamTransformation &encryption, StreamTransformation &dec
template <class CIPHER>
void SymmetricEncryptionKnownAnswerTest(
- const char *key,
- const char *hexIV,
- const char *plaintext,
+ const char *key,
+ const char *hexIV,
+ const char *plaintext,
const char *ecb,
const char *cbc,
const char *cfb,
@@ -210,22 +210,22 @@ void EncryptionPairwiseConsistencyTest(const PK_Encryptor &encryptor, const PK_D
std::string ciphertext, decrypted;
StringSource(
- testMessage,
- true,
+ testMessage,
+ true,
new PK_EncryptorFilter(
- rng,
- encryptor,
+ rng,
+ encryptor,
new StringSink(ciphertext)));
if (ciphertext == testMessage)
throw 0;
StringSource(
- ciphertext,
- true,
+ ciphertext,
+ true,
new PK_DecryptorFilter(
- rng,
- decryptor,
+ rng,
+ decryptor,
new StringSink(decrypted)));
if (decrypted != testMessage)
@@ -244,11 +244,11 @@ void SignaturePairwiseConsistencyTest(const PK_Signer &signer, const PK_Verifier
RandomPool rng;
StringSource(
- "test message",
- true,
+ "test message",
+ true,
new SignerFilter(
- rng,
- signer,
+ rng,
+ signer,
new VerifierFilter(verifier, NULL, VerifierFilter::THROW_EXCEPTION),
true));
}
@@ -530,7 +530,7 @@ void DoPowerUpSelfTest(const char *moduleFilename, const byte *expectedModuleMac
"Sample #2",
"0922d3405faa3d194f82a45830737d5cc6c75d24");
- const char *keyRSA1 =
+ const char *keyRSA1 =
"30820150020100300d06092a864886f70d01010105000482013a3082013602010002400a66791dc6988168de7ab77419bb7fb0"
"c001c62710270075142942e19a8d8c51d053b3e3782a1de5dc5af4ebe99468170114a1dfe67cdc9a9af55d655620bbab0203010001"
"02400123c5b61ba36edb1d3679904199a89ea80c09b9122e1400c09adcf7784676d01d23356a7d44d6bd8bd50e94bfc723fa"
@@ -615,8 +615,8 @@ NAMESPACE_END
#ifdef CRYPTOPP_WIN32_AVAILABLE
// DllMain needs to be in the global namespace
-BOOL APIENTRY DllMain(HANDLE hModule,
- DWORD dwReason,
+BOOL APIENTRY DllMain(HANDLE hModule,
+ DWORD dwReason,
LPVOID /*lpReserved*/)
{
if (dwReason == DLL_PROCESS_ATTACH)