summaryrefslogtreecommitdiffstats
path: root/sys/geom/eli
Commit message (Collapse)AuthorAgeFilesLines
* - Use better types.pjd2006-01-171-6/+6
| | | | | | - Log problems at level 0 when killing providers. MFC after: 3 days
* Check return value.pjd2006-01-171-0/+4
| | | | | Found by: Coverity Prevent(tm) MFC after: 3 days
* Remove dead code.pjd2006-01-171-2/+0
| | | | | Found by: Coverity Prevent(tm) MFC after: 3 days
* Remove unused value.pjd2006-01-171-2/+1
| | | | | Found by: Coverity Prevent(tm) MFC after: 3 days
* Check for g_read_data(9) errors properly:sobomax2005-11-301-1/+1
| | | | | | | | | | o The only indication of error condition is NULL value returned by the function; o value pointed to by error argument is undefined in the case when operation completes successfully. Discussed with: phk
* Fix copy&paste typo.pjd2005-09-101-1/+1
| | | | MFC after: 3 days
* Don't forget to initialize crp_etype field.pjd2005-09-101-0/+1
| | | | | Reported by: Nick Evans <nevans@syphen.net> MFC after: 3 days
* By default, when doing crypto work in software, start as many threadspjd2005-08-211-5/+10
| | | | | | as we have active CPUs and bind each thread to its own CPU. MFC after: 3 days
* Remove stale comment (we now always start worker thread).pjd2005-08-211-5/+0
| | | | MFC after: 3 days
* Add a __packed keyword to g_eli_metadata struct definition, sopjd2005-08-201-1/+1
| | | | | | | | | | | sizeof(struct g_eli_metadata) will return the exact number of bytes needed for storing it on the disk. Without this change GELI was unusable on amd64 (and probably other 64-bit archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes and geli(8) was failing on assertion. Reported by: Michael Reifenberger <mike@Reifenberger.com> MFC after: 3 days
* Allow to change number of iterations for PKCS#5v2. It can only be usedpjd2005-08-191-2/+21
| | | | | | when there is only one key set. MFC after: 3 days
* - Add a missing period.pjd2005-08-191-3/+3
| | | | | | - Fix number of spaces. MFC after: 3 days
* Always run dedicated kernel thread (even when we have hardware support).pjd2005-08-171-114/+37
| | | | | | | | There is no performance impact, but allows to allocate memory with M_WAITOK flag. As a side effect this simplify code a bit. MFC after: 3 days
* We should now return 0.pjd2005-08-171-1/+1
|
* Even if crypto_dispatch() return an error, request is not canceled andpjd2005-08-171-12/+2
| | | | | | | | our callback will still be called, just to tell us that requested failed... Reported by: Mike Tancsa <mike@sentex.net> MFC after: 3 days
* We don't need to clear allocated memory. This will speed-up things a bit.pjd2005-08-171-1/+1
| | | | MFC after: 3 days
* Because code paths for I/O requests are quite complex, add comments abovepjd2005-08-131-0/+12
| | | | | | the functions which participate in I/O paths. MFC after: 1 day
* GELI doesn't need cryptodev.pjd2005-08-111-1/+0
| | | | MFC after: 3 days
* Be case-insensitive when dealing with algorithm names.pjd2005-08-081-4/+5
| | | | | PR: kern/84659 Submitted by: Benjamin Lutz <benlutz@datacomm.ch>
* MFp4: Export more informations about encrypted providers.pjd2005-07-271-0/+32
| | | | MFC after: 1 week
* Reduce default debug level to 0.pjd2005-07-271-1/+1
| | | | MFC after: 1 week
* Add GEOM_ELI class which provides GEOM providers encryption.pjd2005-07-277-0/+2757
For features list and usage see manual page: geli(8). Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl MFC after: 1 week
OpenPOWER on IntegriCloud