mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-18 06:46:55 +00:00
- (stevesk) rijndael.c: cleanup missing declaration warnings.
This commit is contained in:
parent
cee23de153
commit
f16b9d2773
@ -82,6 +82,7 @@
|
|||||||
- (djm) Don't clobber ssh_prng_cmds on install
|
- (djm) Don't clobber ssh_prng_cmds on install
|
||||||
- (stevesk) Include config.h in rijndael.c so we define intXX_t and
|
- (stevesk) Include config.h in rijndael.c so we define intXX_t and
|
||||||
u_intXX_t types on all platforms.
|
u_intXX_t types on all platforms.
|
||||||
|
- (stevesk) rijndael.c: cleanup missing declaration warnings.
|
||||||
|
|
||||||
20001007
|
20001007
|
||||||
- (stevesk) Print PAM return value in PAM log messages to aid
|
- (stevesk) Print PAM return value in PAM log messages to aid
|
||||||
|
@ -306,7 +306,7 @@ gen_tabs(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
tab_gen = 1;
|
tab_gen = 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
#define star_x(x) (((x) & 0x7f7f7f7f) << 1) ^ ((((x) & 0x80808080) >> 7) * 0x1b)
|
#define star_x(x) (((x) & 0x7f7f7f7f) << 1) ^ ((((x) & 0x80808080) >> 7) * 0x1b)
|
||||||
|
|
||||||
@ -399,7 +399,7 @@ rijndael_set_key(rijndael_ctx *ctx, const u4byte *in_key, const u4byte key_len,
|
|||||||
}
|
}
|
||||||
|
|
||||||
return ctx;
|
return ctx;
|
||||||
};
|
}
|
||||||
|
|
||||||
/* encrypt a block of text */
|
/* encrypt a block of text */
|
||||||
|
|
||||||
@ -444,7 +444,7 @@ rijndael_encrypt(rijndael_ctx *ctx, const u4byte *in_blk, u4byte *out_blk)
|
|||||||
|
|
||||||
out_blk[0] = b0[0]; out_blk[1] = b0[1];
|
out_blk[0] = b0[0]; out_blk[1] = b0[1];
|
||||||
out_blk[2] = b0[2]; out_blk[3] = b0[3];
|
out_blk[2] = b0[2]; out_blk[3] = b0[3];
|
||||||
};
|
}
|
||||||
|
|
||||||
/* decrypt a block of text */
|
/* decrypt a block of text */
|
||||||
|
|
||||||
@ -490,4 +490,4 @@ rijndael_decrypt(rijndael_ctx *ctx, const u4byte *in_blk, u4byte *out_blk)
|
|||||||
|
|
||||||
out_blk[0] = b0[0]; out_blk[1] = b0[1];
|
out_blk[0] = b0[0]; out_blk[1] = b0[1];
|
||||||
out_blk[2] = b0[2]; out_blk[3] = b0[3];
|
out_blk[2] = b0[2]; out_blk[3] = b0[3];
|
||||||
};
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user