| 106 | using TaoCrypt::HC128; |
| 107 | |
| 108 | struct testVector { |
| 109 | byte* input_; |
| 110 | byte* output_; |
| 111 | word32 inLen_; |
| 112 | word32 outLen_; |
| 113 | |
| 114 | testVector(const char* in, const char* out) : input_((byte*)in), |
| 115 | output_((byte*)out), inLen_((word32)strlen(in)), |
| 116 | outLen_((word32)strlen(out)) {} |
| 117 | }; |
| 118 | |
| 119 | int sha_test(); |
| 120 | int sha256_test(); |
no outgoing calls