MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / testVector

Class testVector

extra/yassl/taocrypt/test/test.cpp:108–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106using TaoCrypt::HC128;
107
108struct 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
119int sha_test();
120int sha256_test();

Callers 13

sha_testFunction · 0.85
sha256_testFunction · 0.85
sha512_testFunction · 0.85
sha384_testFunction · 0.85
sha224_testFunction · 0.85
md5_testFunction · 0.85
md4_testFunction · 0.85
md2_testFunction · 0.85
ripemd_testFunction · 0.85
hmac_testFunction · 0.85
arc4_testFunction · 0.85
rabbit_testFunction · 0.85

Calls

no outgoing calls

Tested by 13

sha_testFunction · 0.68
sha256_testFunction · 0.68
sha512_testFunction · 0.68
sha384_testFunction · 0.68
sha224_testFunction · 0.68
md5_testFunction · 0.68
md4_testFunction · 0.68
md2_testFunction · 0.68
ripemd_testFunction · 0.68
hmac_testFunction · 0.68
arc4_testFunction · 0.68
rabbit_testFunction · 0.68