summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update TODO: ioctl_compat is doneMiloslav Trmač2010-08-241-1/+0
|
* Convert *_MASTER_KEY_SETMiloslav Trmač2010-08-243-24/+41
|
* Convert *_SESSION_*Miloslav Trmač2010-08-2410-650/+937
|
* Convert *_KEY_STORAGE_UNWRAPMiloslav Trmač2010-08-245-27/+42
|
* Convert *_KEY_STORAGE_WRAPMiloslav Trmač2010-08-245-28/+55
|
* Convert *_KEY_UNWRAPMiloslav Trmač2010-08-246-69/+128
|
* Convert *_KEY_WRAPMiloslav Trmač2010-08-247-84/+153
|
* Convert *_KEY_DEINITMiloslav Trmač2010-08-243-12/+13
|
* Convert *_KEY_IMPORTMiloslav Trmač2010-08-247-169/+365
|
* Convert *_KEY_EXPORTMiloslav Trmač2010-08-247-119/+149
|
* Convert *_KEY_GET_INFOMiloslav Trmač2010-08-246-26/+157
|
* Convert *_KEY_DERIVEMiloslav Trmač2010-08-248-77/+86
|
* Convert *_KEY_GENERATE_PAIRMiloslav Trmač2010-08-248-145/+225
|
* Convert *_KEY_GENERATEMiloslav Trmač2010-08-246-37/+115
|
* Convert *_KEY_INITMiloslav Trmač2010-08-247-33/+52
|
* Simplify algorithm lookup by nlaMiloslav Trmač2010-08-242-0/+11
|
* Add input argument and attribute handling infrastructureMiloslav Trmač2010-08-244-1/+378
|
* Use more specific types to avoid compat_ioctlMiloslav Trmač2010-08-241-2/+2
| | | | Using "int" would require conversions from compat_int_t.
* Add compat_ioctl infrastructureMiloslav Trmač2010-08-243-4/+18
|
* Drop unnecessary "file *" argument to ncr_ioctl()Miloslav Trmač2010-08-243-5/+3
|
* Drop <cryptodev.h>Miloslav Trmač2010-08-2420-1742/+22
| | | | Also drop implementation of its ioctls, examples, openssl patch.
* Support IV size as large as <ncr.h> doesMiloslav Trmač2010-08-241-1/+2
| | | | (removing the last dependency on <cryptodev.h> in the process).
* Compare cryptodev to NCR on a fair basis.Nikos Mavrogiannopoulos2010-08-231-24/+24
|
* When calculating algorithm strength consider 3DES as 112 bit cipher.Nikos Mavrogiannopoulos2010-08-221-0/+5
|
* more textNikos Mavrogiannopoulos2010-08-211-1/+4
|
* Document that assymetric keys cannot wrap symmetric ones.Nikos Mavrogiannopoulos2010-08-211-0/+1
|
* Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones.Nikos Mavrogiannopoulos2010-08-215-24/+188
|
* key generation must be done interruptible.Nikos Mavrogiannopoulos2010-08-211-0/+1
|
* Fix in export of DH keys.Nikos Mavrogiannopoulos2010-08-211-1/+2
|
* Corrected bug in importing RSA private keys.Nikos Mavrogiannopoulos2010-08-211-1/+1
|
* export ncr_key_clear(). And disallow key derivation from wrapping keys.Nikos Mavrogiannopoulos2010-08-212-3/+11
|
* Prevent usage of wrapping keys for anything else except wrapping.Nikos Mavrogiannopoulos2010-08-211-0/+17
|
* Increased RSA size to 8192. Return error on wrong arguments.Nikos Mavrogiannopoulos2010-08-203-5/+5
|
* Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys.Nikos Mavrogiannopoulos2010-08-1910-19/+428
| | | | | Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff for supporting wrapping of private and public keys.
* Do not include linux headers to libtom files. This will allow easier ↵Nikos Mavrogiannopoulos2010-08-1930-28/+24
| | | | replacement of them.
* Merge branch 'bugfixes'Miloslav Trmač2010-08-121-1/+1
|\
| * Fix prime testingMiloslav Trmač2010-08-121-1/+1
| | | | | | | | Upstream commit a53ea341274300323cd2e664440d8bc0c4d8328a
* | Merge branch 'replace-lists'Miloslav Trmač2010-08-080-0/+0
|\ \ | | | | | | | | | | | | Conflicts: ncr-key.c
| * | Finally remove the unused list_sem_st.Miloslav Trmač2010-08-081-5/+0
| | |
| * | Stop looking in the hash table after the first match.Miloslav Trmač2010-08-081-1/+7
| | | | | | | | | | | | | | | There should be only one entry anyway. This reduces the average lookup time when there are hash collisions roughly by half.
| * | Use hash tables to speed up limit lookupMiloslav Trmač2010-08-081-45/+80
| | |
| * | Store all types of limits together.Miloslav Trmač2010-08-082-18/+25
| | | | | | | | | | | | | | | | | | A process/user that uses one type of crypto primitive is likely to use other types as well. This saves memory and simplifies lookup in the common case.
| * | Use <linux/idr.h> for session ID allocation and lookupMiloslav Trmač2010-08-083-69/+52
| | |
| * | Use <linux/idr.h> for key ID allocation and lookupMiloslav Trmač2010-08-083-110/+88
| | |
| * | Change NCR_{KEY,SESSION}_INVALIDMiloslav Trmač2010-08-081-2/+2
| | | | | | | | | | | | We will be able allocate ID 0. Note that this is an ABI change.
| * | Use ncr_lists instead of list_sem_st in intefacesMiloslav Trmač2010-08-085-92/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should result in no functionality change. This makes the code marginally more effective (reducing the number of "&lst->key" and "&lst->sessions" operations in the code, and moving them toward dereferences where they can be combined with member accesses), and more type-safe (prevents mixing the key and session list in most places because they the difference is only in the low-level accessor functions). Most importantly, this allows replacing list_sem_st without having to touch most of the functions again.
* | | Merge branch 'bugfixes'Miloslav Trmač2010-08-080-0/+0
|\ \ \ | | |/ | |/|
| * | Ensure sign_hash is valid in RSA sign/verifyMiloslav Trmač2010-08-081-0/+8
| | |
* | | Merge branch 'bugfixes'Miloslav Trmač2010-08-087-48/+54
|\| |
| * | Use types from <linux/types.h> for public headers.Miloslav Trmač2010-08-087-48/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When included in the kernel tree, <inttypes.h> is not available, so <linux/types.h> has to be used. <linux/types.h> does not provide the uintNN_t and size_t types when installed to /usr/include/linux (package kernel-headers on Fedora). Therefore, use the types from <linux/types.h> that are available in userspace. Also fix user-space users of the headers not to assume that they provide the <stdint.h> types.