des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,(long)sizeof(plain),ks, (C_Block *)cfb_tmp,DES_DECRYPT);
des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,sizeof(plain),ks,cfb_tmp, DES_DECRYPT);
static int cfb_test(bits, cfb_cipher)int bits;unsigned char *cfb_cipher;	{	des_key_schedule ks;	int i,err=0;	des_key_sched((C_Block *)cfb_key,ks);	memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv));	des_cfb_encrypt(plain,cfb_buf1,bits,(long)sizeof(plain),ks,		(C_Block *)cfb_tmp,DES_ENCRYPT);	if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)		{		err=1;		printf("cfb_encrypt encrypt error\n");		for (i=0; i<24; i+=8)			printf("%s\n",pt(&(cfb_buf1[i])));		}	memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv));	des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,(long)sizeof(plain),ks,		(C_Block *)cfb_tmp,DES_DECRYPT);	if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0)		{		err=1;		printf("cfb_encrypt decrypt error\n");		for (i=0; i<24; i+=8)			printf("%s\n",pt(&(cfb_buf1[i])));		}	return(err);	}