Functions | Variables

testSHA1.cpp File Reference

#include "wave-crypto/wave-crypto.h"
#include <iostream>
#include "common/wave_ex.h"
#include "perf/perf.h"
Include dependency graph for testSHA1.cpp:

Go to the source code of this file.

Functions

static void doTest (IN const char *data, IN const char *expected)
int main (IN int argc, IN const char *argv[])

Variables

static const test_t s_tests []

Function Documentation

static void doTest ( IN const char *  data,
IN const char *  expected 
) [static]

Definition at line 71 of file testSHA1.cpp.

int main ( IN int  argc,
IN const char *  argv[] 
)

Definition at line 100 of file testSHA1.cpp.


Variable Documentation

const test_t s_tests[] [static]
Initial value:
 {

        
        { "rES0P2EGN9bImr6Vr77QGQFVrKw2",       "test1" },
        { "S58Q11A8ct-wmymd6fjGZpDvHx-X",       "test2" },
        { "kGxPdcGOQOonOT6Hn3qb_TalTU1q",       "A is for apple." },
        { "Yfd_EVCRCeqNirIqqzoraj_jAwML",       "I like to test things." },
        { "zdt0nAGmFR4rngAHQCnMyPOyDQ3r",       "It was the best of times, it was the worst of times." },
        { "oznaa17uMg1L779VGGCV2K-QCQkH",       "" },

        
        { NULL, NULL }
}

Definition at line 47 of file testSHA1.cpp.