(long)sizeof(plain)-17,ks,ks,ks, (C_Block *)cfb_tmp,&n,DES_DECRYPT);
sizeof(plain)-17,ks,ks,ks, cfb_tmp,&n,DES_DECRYPT);
static int ede_cfb64_test(cfb_cipher)unsigned char *cfb_cipher;	{	des_key_schedule ks;	int err=0,i,n;	des_key_sched((C_Block *)cfb_key,ks);	memcpy(cfb_tmp,cfb_iv,sizeof(cfb_iv));	n=0;	des_ede3_cfb64_encrypt(plain,cfb_buf1,(long)12,ks,ks,ks,		(C_Block *)cfb_tmp,&n,DES_ENCRYPT);	des_ede3_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),		(long)sizeof(plain)-12,ks,ks,ks,		(C_Block *)cfb_tmp,&n,DES_ENCRYPT);	if (memcmp(cfb_cipher,cfb_buf1,sizeof(plain)) != 0)		{		err=1;		printf("ede_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));	n=0;	des_ede3_cfb64_encrypt(cfb_buf1,cfb_buf2,(long)17,ks,ks,ks,		(C_Block *)cfb_tmp,&n,DES_DECRYPT);	des_ede3_cfb64_encrypt(&(cfb_buf1[17]),&(cfb_buf2[17]),		(long)sizeof(plain)-17,ks,ks,ks,		(C_Block *)cfb_tmp,&n,DES_DECRYPT);	if (memcmp(plain,cfb_buf2,sizeof(plain)) != 0)		{		err=1;		printf("ede_cfb_encrypt decrypt error\n");		for (i=0; i<24; i+=8)			printf("%s\n",pt(&(cfb_buf2[i])));		}	return(err);	}