if (!info->hash) return SECFailure; if (info->multihash) return md2_multi_test(info);
md2_test(blapitestInfo *info){	unsigned int len;	MD2Context *cx = MD2_NewContext();	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 = 16;	info->out.data = (unsigned char *)PORT_ZAlloc(info->out.len);	info->in.data[info->in.len] = '\0';	TIMESTART();	for (i=0; i<info->repetitions; i++) {		MD2_Begin(cx);		MD2_Update(cx, info->in.data, info->in.len);		MD2_End(cx, info->out.data, &len, 16);	}	TIMEFINISH("MD2 HASH", info->in.len);	MD2_DestroyContext(cx, PR_TRUE);	return rv;}