| Index: tests/rsa_verify_benchmark.c
|
| diff --git a/tests/rsa_verify_benchmark.c b/tests/rsa_verify_benchmark.c
|
| index 2b003ffa6b9ee7708b45f1972e94fd5f000c4bc3..8e93e0b44062ae9e62884b01bc8170ab694f236b 100644
|
| --- a/tests/rsa_verify_benchmark.c
|
| +++ b/tests/rsa_verify_benchmark.c
|
| @@ -36,7 +36,7 @@ int SpeedTestAlgorithm(int algorithm) {
|
| snprintf(file_name, FILE_NAME_SIZE, "testkeys/key_rsa%d.keyb", key_size);
|
| key = RSAPublicKeyFromFile(file_name);
|
| if (!key) {
|
| - debug("Couldn't read RSA Public key from file: %s\n", file_name);
|
| + VBDEBUG(("Couldn't read RSA Public key from file: %s\n", file_name));
|
| error_code = 1;
|
| goto failure;
|
| }
|
| @@ -46,7 +46,7 @@ int SpeedTestAlgorithm(int algorithm) {
|
| sha_strings[algorithm]);
|
| digest = BufferFromFile(file_name, &digest_len);
|
| if (!digest) {
|
| - debug("Couldn't read digest file.\n");
|
| + VBDEBUG(("Couldn't read digest file.\n"));
|
| error_code = 1;
|
| goto failure;
|
| }
|
| @@ -56,7 +56,7 @@ int SpeedTestAlgorithm(int algorithm) {
|
| key_size, sha_strings[algorithm]);
|
| signature = BufferFromFile(file_name, &sig_len);
|
| if (!signature) {
|
| - debug("Couldn't read signature file.\n");
|
| + VBDEBUG(("Couldn't read signature file.\n"));
|
| error_code = 1;
|
| goto failure;
|
| }
|
| @@ -64,7 +64,7 @@ int SpeedTestAlgorithm(int algorithm) {
|
| StartTimer(&ct);
|
| for (i = 0; i < NUM_OPERATIONS; i++) {
|
| if (!RSAVerify(key, signature, sig_len, algorithm, digest))
|
| - debug("Warning: Signature Check Failed.\n");
|
| + VBDEBUG(("Warning: Signature Check Failed.\n"));
|
| }
|
| StopTimer(&ct);
|
|
|
|
|