summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_crypto.c
AgeCommit message (Expand)Author
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
2011-01-12lots of explicit_bzero for things which contain parts of keysTheo de Raadt
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_Marco Peereboom
2010-09-27A few M_ZEROs without any M_WAITOK/M_NOWAITs.Thordur I. Bjornsson
2010-09-27tedu's shiny new pool_get kassert found an instance of PR_NOWAIT orMarco Peereboom
2010-09-23The only sensible argument for VOP_* calls that take a struct proc pointer isOwain Ainsworth
2010-07-02Rename the volume specific flags variable.Joel Sing
2010-07-02Determine the data offset using a variable specified within the softraidJoel Sing
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-04-18Make key disks use their own optional metadata type, rather than reusingJoel Sing
2010-03-28Completely overhaul optional metadata handling, allowing for multipleJoel Sing
2010-03-28Correctly initialise variables to prevent possible free without malloc inJoel Sing
2010-03-26Add storage for the boot block and boot loader to the softraid metadata.Joel Sing
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
2009-12-31Assert copyright.Joel Sing
2009-12-31Add support for key disks. This allows a crypto volume to be constructedJoel Sing
2009-12-15Factor out discipline specific create/assemble code.Joel Sing
2009-12-07Define discipline capabilities using a set of flags.Joel Sing
2009-11-24Allow the passphrase to be changed on softraid crypto volumes. Ensure thatJoel Sing
2009-11-24Factor out crypto code allowing for future reuse.Joel Sing
2009-08-09Switch softraid to vnodes to prevent bad things from happening when usingMarco Peereboom
2009-06-11Create a hotplug callback mechanism.Marco Peereboom
2009-06-11KNFMarco Peereboom
2009-06-09fix potential null dereference.Charles Longeau
2009-06-03whitespace. "Sure" marco@Chris Kuethe
2009-06-02Abuse bio layer a little less by marking fake buffers with B_PHYS.Marco Peereboom
2009-06-02marco needs to learn how to do his range checks better, found by ParfaitTheo de Raadt
2009-05-11Move the discipline initialisation code into discipline specific functions,Joel Sing
2008-11-25Add generic sr_scsi_done function that does the spl danceMarco Peereboom
2008-09-22Make sure some possibly uninitialized local variables are assigned correctMiod Vallat
2008-08-15use new shared HMAC_SHA1 code in crypto/hmac.[ch] rather than localDamien Miller
2008-07-19Full rewrite of metadata handling. This fixes power failures and crashesMarco Peereboom
2008-06-25use pools for the uio and iovec allocations in sr_crypto_getcryptop()Thordur I. Bjornsson
2008-06-14Provide a status field for operations on the bc_opaque data. Now we'reHans-Joerg Hoexer
2008-06-14Use multiple crypto keys per volume. Each key is used to encrypt atDamien Miller
2008-06-14implement a check code to determine whether the disk keys haveDamien Miller
2008-06-13make the disk key masking algorithm a parameter and add some extraDamien Miller
2008-06-13Implement pbkdf2 in in bioctl to derive master key from a passphrase.Hans-Joerg Hoexer
2008-06-13When assembling an already initialized crytpo softraid, correctly copy inHans-Joerg Hoexer
2008-06-12Pass error code via the crypto descriptor (ie. crp_etype) from cryptoHans-Joerg Hoexer
2008-06-12Get mask keying for on-disk keys from user space and keep a "hint" for keyHans-Joerg Hoexer