+2004-05-25 Ezra Peisach <epeisach@mit.edu>
+
+ * aes.c (krb5int_aes_encrypt): Signed/unsigned warning fix.
+
2004-02-09 Ken Raeburn <raeburn@mit.edu>
* aes.c (krb5int_aes_encrypt, krb5int_aes_decrypt): Copy out value
#define CHECK_SIZES 0
+#if 0
static void printd (const char *descr, krb5_data *d) {
int i, j;
const int r = 16;
}
printf("\n");
}
+#endif
+
#define enc(OUT, IN, CTX) (aes_enc_blk((IN),(OUT),(CTX)) == aes_good ? (void) 0 : abort())
#define dec(OUT, IN, CTX) (aes_dec_blk((IN),(OUT),(CTX)) == aes_good ? (void) 0 : abort())
/* XXX Used for DK function. */
enc(output->data, input->data, &ctx);
} else {
- int nleft;
+ unsigned int nleft;
for (blockno = 0; blockno < nblocks - 2; blockno++) {
xorblock(tmp, input->data + blockno * BLOCK_SIZE);
abort();
dec(output->data, input->data, &ctx);
} else {
- int nleft;
for (blockno = 0; blockno < nblocks - 2; blockno++) {
dec(tmp2, input->data + blockno * BLOCK_SIZE, &ctx);