summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_crypto.c
AgeCommit message (Expand)Author
2021-05-10Refactor softraid crypto code to allow use of a discipline-specific dataStefan Sperling
2021-02-08Add a RAID1C (raid1 + crypto) softraid(8) discipline.Stefan Sperling
2020-07-13Add size to free() callkn
2019-07-04Fix a free size panic when detaching a crypto softraid on i386.Alexander Bluhm
2017-06-12Limit the maximum size of softraid crypto volumes that can be created toJoel Sing
2017-06-12Fix another long standing softraid crypto bug where if all 32 keys are inJoel Sing
2017-06-12Factor out and reuse the code that frees the crypto sessions, instead ofJoel Sing
2017-06-12Fix a long standing off-by-one bug in the softraid crypto number of keysJoel Sing
2017-02-07Reduce the per-packet allocation costs for crypto operations (cryptop)Patrick Wildt
2017-02-07The return code of crp_callback is never checked, so it is notAlexander Bluhm
2016-09-08When changing the mask key, copy the new KDF hint to the metadata, if itJoel Sing
2016-05-31Ensure that softraid crypto is not run on the crypto taskq.Joel Sing
2016-05-28no need to open key disk for writing, from bytevolcano. ok jungTed Unangst
2016-05-21Remove another erroneous VOP_CLOSE/vput, which was missed with the lastJoel Sing
2016-05-17remove VOP_CLOSE and vput that will be handled in the epilogue.Ted Unangst
2016-04-12No need to rescan chunks in each discipline to find appropriateKenneth R Westerback
2016-04-04Enable creation of softraid volumes using disks with non-512 byteKenneth R Westerback
2015-12-29Remove NULL-checks before free().mmcc
2015-11-05explicitly say that we use uio for our crypto operations; ok mikeb@Christian Weisgerber
2015-07-27zap trailing linefeeds from sr_error() and panic() callsAlexander Hall
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'Kenneth R Westerback
2015-07-19Oops. Missed a file from offset commit.Kenneth R Westerback
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()Kenneth R Westerback
2015-07-05fix a format specifier used in SR_DEBUG printfs.Mike Larkin
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19bcopy to memcpy. ok deraadt millertTed Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-10-30zero the correct size, then free it.Ted Unangst
2014-10-30add some sizes to free()Ted Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
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