7 vtsha1(uchar score[VtScoreSize], uchar *p, int n)
11 memset(&ds, 0, sizeof ds);
12 sha1(p, n, score, &ds);
16 vtsha1check(uchar score[VtScoreSize], uchar *p, int n)
19 uchar score2[VtScoreSize];
21 memset(&ds, 0, sizeof ds);
22 sha1(p, n, score2, &ds);
23 if(memcmp(score, score2, VtScoreSize) != 0) {
24 werrstr("vtsha1check failed");