/*
* Encrypt the sequence number to get the new random block:
*/
- mit_des_ecb_encrypt((unsigned long *)p_seed->sequence_number,
- (unsigned long *)block,
+ mit_des_ecb_encrypt((mit_des_cblock *)p_seed->sequence_number,
+ (mit_des_cblock *)block,
p_seed->random_sequence_key, 1);
/*
char *out;
{
for (i =1; i<=nflag; i++) {
- mit_des_ecb_encrypt((u_long *)in,
- (u_long *)out,
+ mit_des_ecb_encrypt((mit_des_cblock *)in,
+ (mit_des_cblock *)out,
(struct mit_des_ks_struct *)eblock.priv,
MIT_DES_ENCRYPT);
if (mit_des_debug) {
/* try to invert it */
{
for (i =1; i<=nflag; i++) {
- mit_des_ecb_encrypt((u_long *)out,
- (u_long *)in,
+ mit_des_ecb_encrypt((mit_des_cblock *)out,
+ (mit_des_cblock *)in,
(struct mit_des_ks_struct *)eblock.priv,
MIT_DES_DECRYPT);
if (mit_des_debug) {