? tests/.deps ? tests/Makefile ? tests/Makefile.in Index: api/cryptoloop.c =================================================================== RCS file: /cvsroot/cryptoapi/cryptoapi/api/cryptoloop.c,v retrieving revision 1.4 diff -u -r1.4 cryptoloop.c --- api/cryptoloop.c 2001/12/14 23:38:49 1.4 +++ api/cryptoloop.c 2001/12/26 21:30:57 @@ -44,7 +44,7 @@ # error you need at least kernel 2.4.3 -- unless you know exacty what you are doing #endif -#if !defined(LOOP_IV_SECTOR_SIZE) +#if !defined(LO_IV_SECTOR_SIZE) # error you need to to patch your loop.c driver #endif @@ -85,10 +85,10 @@ struct cipher_context *cx; /* encryption breaks for non sector aligned offsets */ - if (info->lo_offset % LOOP_IV_SECTOR_SIZE) + if (info->lo_offset % LO_IV_SECTOR_SIZE) goto out; - lx->blocksize = LOOP_IV_SECTOR_SIZE; + lx->blocksize = LO_IV_SECTOR_SIZE; lx->debug = 0; strncpy(cipher, info->lo_name, LO_NAME_SIZE); @@ -163,7 +163,7 @@ out = raw_buf; } - IV /= blocksize / LOOP_IV_SECTOR_SIZE; + IV /= blocksize / LO_IV_SECTOR_SIZE; #if defined(CRYPTOLOOP_DEBUG) if (lx->debug) @@ -203,7 +203,7 @@ switch (cmd) { case CRYPTOLOOP_SET_BLKSIZE: printk (KERN_DEBUG "cryptoloop: switch to blocksize %d requested\n", *arg_int); - if (*arg_int >= 0 && (*arg_int % LOOP_IV_SECTOR_SIZE == 0)) + if (*arg_int >= 0 && (*arg_int % LO_IV_SECTOR_SIZE == 0)) { lx->blocksize = *arg_int; err = 0;