summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_crypto.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-04Fix a free size panic when detaching a crypto softraid on i386.bluhm1-2/+3
2017-06-12Limit the maximum size of softraid crypto volumes that can be created tojsing1-2/+8
2017-06-12Fix another long standing softraid crypto bug where if all 32 keys are injsing1-4/+6
2017-06-12Factor out and reuse the code that frees the crypto sessions, instead ofjsing1-13/+14
2017-06-12Fix a long standing off-by-one bug in the softraid crypto number of keysjsing1-4/+5
2017-02-07Reduce the per-packet allocation costs for crypto operations (cryptop)patrick1-15/+7
2017-02-07The return code of crp_callback is never checked, so it is notbluhm1-8/+6
2016-09-08When changing the mask key, copy the new KDF hint to the metadata, if itjsing1-1/+12
2016-05-31Ensure that softraid crypto is not run on the crypto taskq.jsing1-5/+5
2016-05-28no need to open key disk for writing, from bytevolcano. ok jungtedu1-2/+2
2016-05-21Remove another erroneous VOP_CLOSE/vput, which was missed with the lastjsing1-6/+4
2016-05-17remove VOP_CLOSE and vput that will be handled in the epilogue.tedu1-3/+1
2016-04-12No need to rescan chunks in each discipline to find appropriatekrw1-2/+1
2016-04-04Enable creation of softraid volumes using disks with non-512 bytekrw1-11/+2
2015-12-29Remove NULL-checks before free().mmcc1-3/+2
2015-11-05explicitly say that we use uio for our crypto operations; ok mikeb@naddy1-1/+2
2015-07-27zap trailing linefeeds from sr_error() and panic() callshalex1-3/+3
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'krw1-11/+11
2015-07-19Oops. Missed a file from offset commit.krw1-2/+1
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()krw1-3/+3
2015-07-05fix a format specifier used in SR_DEBUG printfs.mlarkin1-3/+3
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-12-19bcopy to memcpy. ok deraadt millerttedu1-17/+15
2014-11-18move arc4random prototype to systm.h. more appropriate for most codetedu1-2/+1
2014-10-30zero the correct size, then free it.tedu1-4/+4
2014-10-30add some sizes to free()tedu1-16/+13
2014-09-14remove uneeded proc.h includesjsg1-2/+1
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.doug1-2/+2
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-12/+12
2014-01-22Remove a pesky free that was supposed to be removed in an earlier commit.jsing1-2/+1
2014-01-21Remove unused variable.jsing1-2/+2
2014-01-21Do not bother calling splvm around crypto_invoke(), as crypto_invoke()jsing1-6/+2
2014-01-21Remove sr_crypto_finish_io - we can just call sr_scsi_done instead now.jsing1-22/+4
2014-01-21Instead of maintaining a completely separate list of crypto work units,jsing1-77/+24
2014-01-21Allow for variable sized work units.jsing1-2/+2
2014-01-21Remove pointless validation - these cases cannot be hit as they havejsing1-9/+8
2014-01-20Return a user friendly error if we ever encounter an unknown cryptojsing1-1/+2
2014-01-20Store the algorithm and key length in the discipline data structure,jsing1-25/+18
2014-01-20Remove unused variable.jsing1-2/+1
2014-01-20Do not bother setting crp_desc to NULL, since it does not really gain usjsing1-10/+1
2013-12-21Don't assign a literal number to a variable that otherwise holds an errno.guenther1-4/+3
2013-11-19Print daddr_t's with %lld, size_t's with %zu, int's with %d andkrw1-3/+3
2013-11-04substantial namespace cleanup. Might go a little bit too far, but wederaadt1-1/+2
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt1-4/+4
2013-05-21Provide a function that handles the scheduling of work units. Thisjsing1-11/+3
2013-04-01Rename sr_crypto_rw2() to sr_crypto_dev_rw(), which actually reflects thejsing1-5/+5
2013-04-01Validate the I/O request when it is first received, rather than waitingjsing1-16/+12
2013-03-31Use consistent error handling when validating the number of chunksjsing1-2/+3
2013-03-31The return value of sd_free_resources() is never checked and all of thejsing1-7/+3
2013-03-30Provide a default discipline interrupt handling function and migrate all ofjsing1-22/+1