if (!info->hash) return SECFailure; if (info->multihash) return md5_multi_test(info);
md5_test(blapitestInfo *info){	SECStatus rv = SECSuccess;	PRIntervalTime time1, time2;	int i;	if (info->in.len == 0) {		rv = get_and_write_random_bytes(&info->in, info->bufsize, "tmp.pt");		CHECKERROR(rv, __LINE__);	}	info->out.len = MD5_LENGTH;	info->out.data = (unsigned char *)PORT_ZAlloc(info->out.len);	TIMESTART();	for (i=info->repetitions; i>0; i--) {		MD5_HashBuf(info->out.data, info->in.data, info->in.len);	}	TIMEFINISH("MD5 HASH", info->in.len);	return rv;}