strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
72e174f
)
increased verbosity of successful crypto tests
author
Martin Willi
<martin@strongswan.org>
Tue, 16 Jun 2009 07:54:28 +0000
(09:54 +0200)
committer
Martin Willi
<martin@strongswan.org>
Tue, 16 Jun 2009 07:54:28 +0000
(09:54 +0200)
src/libstrongswan/crypto/crypto_tester.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/crypto/crypto_tester.c
b/src/libstrongswan/crypto/crypto_tester.c
index
921cff6
..
9773426
100644
(file)
--- a/
src/libstrongswan/crypto/crypto_tester.c
+++ b/
src/libstrongswan/crypto/crypto_tester.c
@@
-153,7
+153,7
@@
static bool test_crypter(private_crypto_tester_t *this,
}
if (!failed)
{
}
if (!failed)
{
- DBG
2
("successfully tested %d test vectors for %N",
+ DBG
1
("successfully tested %d test vectors for %N",
tested, encryption_algorithm_names, alg);
}
return !failed;
tested, encryption_algorithm_names, alg);
}
return !failed;
@@
-259,7
+259,7
@@
static bool test_signer(private_crypto_tester_t *this,
}
if (!failed)
{
}
if (!failed)
{
- DBG
2
("successfully tested %d test vectors for %N",
+ DBG
1
("successfully tested %d test vectors for %N",
tested, integrity_algorithm_names, alg);
}
return !failed;
tested, integrity_algorithm_names, alg);
}
return !failed;
@@
-351,7
+351,7
@@
static bool test_hasher(private_crypto_tester_t *this, hash_algorithm_t alg,
}
if (!failed)
{
}
if (!failed)
{
- DBG
2
("successfully tested %d test vectors for %N",
+ DBG
1
("successfully tested %d test vectors for %N",
tested, hash_algorithm_names, alg);
}
return !failed;
tested, hash_algorithm_names, alg);
}
return !failed;
@@
-454,7
+454,7
@@
static bool test_prf(private_crypto_tester_t *this,
}
if (!failed)
{
}
if (!failed)
{
- DBG
2
("successfully tested %d testvectors for %N",
+ DBG
1
("successfully tested %d testvectors for %N",
tested, pseudo_random_function_names, alg);
}
return !failed;
tested, pseudo_random_function_names, alg);
}
return !failed;
@@
-537,7
+537,7
@@
static bool test_rng(private_crypto_tester_t *this, rng_quality_t quality,
}
if (!failed)
{
}
if (!failed)
{
- DBG
2
("successfully tested %d testvectors for %N",
+ DBG
1
("successfully tested %d testvectors for %N",
tested, rng_quality_names, quality);
}
return !failed;
tested, rng_quality_names, quality);
}
return !failed;