#include "wave-crypto/wave-crypto.h"#include <iostream>#include "common/wave_ex.h"#include "perf/perf.h"
Go to the source code of this file.
Functions | |
| static void | doTest (IN crypto::DESKey *key, IN const char *data, IN int minSize) |
| int | main (IN int argc, IN const char *argv[]) |
Variables | |
| static const test_t | s_tests [] |
| static void doTest | ( | IN crypto::DESKey * | key, | |
| IN const char * | data, | |||
| IN int | minSize | |||
| ) | [static] |
Definition at line 85 of file testDES.cpp.
| int main | ( | IN int | argc, | |
| IN const char * | argv[] | |||
| ) |
Definition at line 119 of file testDES.cpp.
const test_t s_tests[] [static] |
{
{ "test", 0 },
{ "test", 1 },
{ "test", 4 },
{ "test", 100 },
{ "test", -5 },
{ "Hello World!", 0 },
{ "Hello World!", 8 },
{ "Hello World!", 12 },
{ "Hello World!", -4 },
{ "Hello World!", 25 },
{ "", 0 },
{ "", -1 },
{ "", 1 },
{ "", 16 },
{ "abcdefghijklmnopqrstuvwxyz", 0 },
{ "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 0 },
{ "01234567890", 0 },
{ ":", 0 },
{ ":", -1 },
{ ":", 5 },
{ NULL, 0 }
}
Definition at line 48 of file testDES.cpp.
1.7.1