summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_crypto.c
AgeCommit message (Expand)Author
2014-01-22Remove a pesky free that was supposed to be removed in an earlier commit.Joel Sing
2014-01-21Remove unused variable.Joel Sing
2014-01-21Do not bother calling splvm around crypto_invoke(), as crypto_invoke()Joel Sing
2014-01-21Remove sr_crypto_finish_io - we can just call sr_scsi_done instead now.Joel Sing
2014-01-21Instead of maintaining a completely separate list of crypto work units,Joel Sing
2014-01-21Allow for variable sized work units.Joel Sing
2014-01-21Remove pointless validation - these cases cannot be hit as they haveJoel Sing
2014-01-20Return a user friendly error if we ever encounter an unknown cryptoJoel Sing
2014-01-20Store the algorithm and key length in the discipline data structure,Joel Sing
2014-01-20Remove unused variable.Joel Sing
2014-01-20Do not bother setting crp_desc to NULL, since it does not really gain usJoel Sing
2013-12-21Don't assign a literal number to a variable that otherwise holds an errno.Philip Guenther
2013-11-19Print daddr_t's with %lld, size_t's with %zu, int's with %d andKenneth R Westerback
2013-11-04substantial namespace cleanup. Might go a little bit too far, but weTheo de Raadt
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-05-21Provide a function that handles the scheduling of work units. ThisJoel Sing
2013-04-01Rename sr_crypto_rw2() to sr_crypto_dev_rw(), which actually reflects theJoel Sing
2013-04-01Validate the I/O request when it is first received, rather than waitingJoel Sing
2013-03-31Use consistent error handling when validating the number of chunksJoel Sing
2013-03-31The return value of sd_free_resources() is never checked and all of theJoel Sing
2013-03-30Provide a default discipline interrupt handling function and migrate all ofJoel Sing
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() areJoel Sing
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutJoel Sing
2013-01-18Convert softraid crypto to the new ccb and workunit completion functions.Joel Sing
2013-01-16Set resid to zero if the scsi transfer completed without error.Joel Sing
2013-01-15Always initialise the discipline name, not just when we are doing a create.Joel Sing
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in theJoel Sing
2012-10-09Provide a mechanism for the kernel to directly pass a mask key through toJoel Sing
2012-10-08Provide a mechanism for the kernel to pass data through to the disciplineJoel Sing
2012-01-30Prevent softraid from being used with devices that do not have a sectorJoel Sing
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)Joel Sing
2012-01-22Move list initialisation to the start of the function - this prevents usJoel Sing
2011-12-26Provide default set chunk state and set volume state functions whichJoel Sing
2011-12-25Initialise discipline function pointers with defaults and only overrideJoel Sing
2011-09-20Mark softraid crypto volumes as being capable of auto assembly, since theyJoel Sing
2011-09-20Simplify the crypto descriptor handling by changing the list head, insteadJoel Sing
2011-09-18Add support for variable length optional metadata in softraid(4). ThisJoel Sing
2011-09-18Rename the optional metadata handler function and factor out the optionalJoel Sing
2011-07-07only allocate and copyin the length of kdfinfo data.Ted Unangst
2011-07-05ENOMEM causing EIO errors is bad juju. Softraid crypto did this.Owain Ainsworth
2011-06-18Change sizeof(&kdfinfo2) to sizeof(kdfinfo2).Matthew Dempsky
2011-06-17M_WAITOK cleanup of two cases:Michael Knudsen
2011-06-05Fix function names in debug printfs and use a more user-friendly errorStefan Sperling
2011-05-20sr_scsi_cmd copes with failed i/o just fine so there's no needMike Belopuhov
2011-04-06make crypto work with bigmemMarco Peereboom
2011-04-05Iopoolification. Testing by marco@.Kenneth R Westerback
2011-03-06fix function name in error/debug messages; ok marcoStefan Sperling
2011-01-12stray tabMarco Peereboom
2011-01-12explicit zeroing of key information in the softraid ioctl codeTheo de Raadt
2011-01-12more explicit_bzero to delete keys.Marco Peereboom