des_ncbc_encrypt((des_cblock *)desp->UDES.UDES_buf, (des_cblock *)desp->UDES.UDES_buf, (long)len,ks, (des_cblock *)desp->des_ivec,enc);
des_ncbc_encrypt(desp->UDES.UDES_buf,desp->UDES.UDES_buf, len,ks,desp->des_ivec,enc);
int _des_crypt(buf, len, desp)char *buf;int len;struct desparams *desp;	{	des_key_schedule ks;	int enc;	des_set_key((des_cblock *)desp->des_key,ks);	enc=(desp->des_dir == ENCRYPT)?DES_ENCRYPT:DES_DECRYPT;	if (desp->des_mode == CBC)		des_ecb_encrypt((des_cblock *)desp->UDES.UDES_buf,				(des_cblock *)desp->UDES.UDES_buf,ks,enc);	else		{		des_ncbc_encrypt((des_cblock *)desp->UDES.UDES_buf,				(des_cblock *)desp->UDES.UDES_buf,				(long)len,ks,				(des_cblock *)desp->des_ivec,enc);#ifdef undef		/* len will always be %8 if called from common_crypt		 * in secure_rpc.		 * Libdes's cbc encrypt does not copy back the iv,		 * so we have to do it here. */		/* It does now :-) eay 20/09/95 */		a=(char *)&(desp->UDES.UDES_buf[len-8]);		b=(char *)&(desp->des_ivec[0]);		*(a++)= *(b++); *(a++)= *(b++);		*(a++)= *(b++); *(a++)= *(b++);		*(a++)= *(b++); *(a++)= *(b++);		*(a++)= *(b++); *(a++)= *(b++);#endif		}	return(1);		}