Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | run scripts/Lindent. | Nikos Mavrogiannopoulos | 2010-09-06 | 1 | -86/+99 |
| | |||||
* | Merge branch 'bugfixes' into nlattr | Miloslav Trmač | 2010-08-25 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptodev_main.c examples/ncr.c examples/pk.c ncr-int.h ncr-key-wrap.c ncr-key.c ncr.c ncr.h | ||||
| * | Base access decisions only on capable(), not euid | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | |||||
| * | Provide file_operations::unlocked_ioctl. | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | | file_operations::ioctl is no longer supported in recent kernels. compat_ioctl is not running under the BKL, so the code has to do its own locking anyway (although not everything currently does). | ||||
| * | Drop unnecessary "file *" argument to ncr_ioctl() | Miloslav Trmač | 2010-08-24 | 1 | -2/+1 |
| | | |||||
* | | Convert *_MASTER_KEY_SET | Miloslav Trmač | 2010-08-24 | 1 | -19/+34 |
| | | |||||
* | | Convert *_SESSION_* | Miloslav Trmač | 2010-08-24 | 1 | -10/+107 |
| | | |||||
* | | Convert *_KEY_STORAGE_UNWRAP | Miloslav Trmač | 2010-08-24 | 1 | -2/+22 |
| | | |||||
* | | Convert *_KEY_STORAGE_WRAP | Miloslav Trmač | 2010-08-24 | 1 | -2/+22 |
| | | |||||
* | | Convert *_KEY_UNWRAP | Miloslav Trmač | 2010-08-24 | 1 | -2/+21 |
| | | |||||
* | | Convert *_KEY_WRAP | Miloslav Trmač | 2010-08-24 | 1 | -2/+21 |
| | | |||||
* | | Convert *_KEY_DEINIT | Miloslav Trmač | 2010-08-24 | 1 | -2/+11 |
| | | |||||
* | | Convert *_KEY_IMPORT | Miloslav Trmač | 2010-08-24 | 1 | -2/+19 |
| | | |||||
* | | Convert *_KEY_EXPORT | Miloslav Trmač | 2010-08-24 | 1 | -2/+43 |
| | | |||||
* | | Convert *_KEY_GET_INFO | Miloslav Trmač | 2010-08-24 | 1 | -2/+19 |
| | | |||||
* | | Convert *_KEY_DERIVE | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | |||||
* | | Convert *_KEY_GENERATE_PAIR | Miloslav Trmač | 2010-08-24 | 1 | -2/+3 |
| | | |||||
* | | Convert *_KEY_GENERATE | Miloslav Trmač | 2010-08-24 | 1 | -2/+22 |
| | | |||||
* | | Convert *_KEY_INIT | Miloslav Trmač | 2010-08-24 | 1 | -2/+4 |
| | | |||||
* | | Add compat_ioctl infrastructure | Miloslav Trmač | 2010-08-24 | 1 | -0/+15 |
| | | |||||
* | | Drop unnecessary "file *" argument to ncr_ioctl() | Miloslav Trmač | 2010-08-24 | 1 | -2/+1 |
| | | |||||
* | | Drop <cryptodev.h> | Miloslav Trmač | 2010-08-24 | 1 | -1/+0 |
|/ | | | | Also drop implementation of its ioctls, examples, openssl patch. | ||||
* | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-07 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: ncr-int.h | ||||
| * | Use <linux/uaccess.h> instead of <asm/uaccess.h> | Miloslav Trmač | 2010-08-07 | 1 | -1/+1 |
| | | | | | | | | Suggested by scripts/checkpatch.pl. | ||||
| * | Use <linux/ioctl.h> instead of <asm/ioctl.h> | Miloslav Trmač | 2010-08-07 | 1 | -1/+1 |
| | | | | | | | | Suggested by scripts/checkpatch.pl. | ||||
* | | Merge branch 'master' into replace-lists | Miloslav Trmač | 2010-07-30 | 1 | -2/+5 |
|\| | | | | | | | | | | | | | Conflicts: ncr-int.h ncr-key.c ncr.c | ||||
| * | NCR_CIPHER_MAX_KEY_LEN no longer exist in userspace API. | Nikos Mavrogiannopoulos | 2010-07-28 | 1 | -2/+5 |
| | | |||||
| * | Drop left-over code for data objects | Miloslav Trmač | 2010-07-28 | 1 | -3/+0 |
| | | |||||
* | | Merge branch 'bugfixes' into replace-lists | Miloslav Trmač | 2010-07-28 | 1 | -3/+0 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: ncr-int.h ncr.c | ||||
| * | | Drop left-over code for data objects | Miloslav Trmač | 2010-07-27 | 1 | -3/+0 |
| |/ | |||||
* | | Use <linux/idr.h> for session ID allocation and lookup | Miloslav Trmač | 2010-07-28 | 1 | -2/+2 |
| | | |||||
* | | Use <linux/idr.h> for key ID allocation and lookup | Miloslav Trmač | 2010-07-28 | 1 | -2/+2 |
| | | |||||
* | | Use ncr_lists instead of list_sem_st in intefaces | Miloslav Trmač | 2010-07-27 | 1 | -14/+14 |
|/ | | | | | | | | | | | | | | 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. | ||||
* | Implemented Diffie Hellman Key exchange. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -3/+1 |
| | |||||
* | Corrected copyright notices. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -2/+4 |
| | |||||
* | relicensed under GNU GPLv2. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -8/+9 |
| | |||||
* | removed the data type. | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -12/+2 |
| | |||||
* | ncr_int.h -> ncr-int.h | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -1/+1 |
| | |||||
* | Key wrapping operates directly to userspace data. No need to involve the ↵ | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -4/+4 |
| | | | | data_t structures. | ||||
* | Added a support for reading session data directly from userspace. | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -0/+1 |
| | |||||
* | Use of algo_properties to avoid linear search on a table for each property. | Miloslav Trmač | 2010-07-24 | 1 | -28/+0 |
| | |||||
* | Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -2/+0 |
| | | | | | | data structure without special system call." This reverts commit 5689c9734223fb349bba526d620823a803c3b67e. | ||||
* | Modified NCR-USER API to "simplify" and allow setting of size of data ↵ | Nikos Mavrogiannopoulos | 2010-07-21 | 1 | -0/+2 |
| | | | | structure without special system call. | ||||
* | sparse: Fix __user annotations | Miloslav Trmač | 2010-07-19 | 1 | -23/+24 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Fix copy_{from,to}_user error handling | Miloslav Trmač | 2010-07-19 | 1 | -4/+2 |
| | | | | | | These functions return a positive number, not an error code, on failure. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Removed the public key params get/set functionality. This can be achieved ↵ | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -8/+0 |
| | | | | with import/export functionality and DER decoding. | ||||
* | Public and private keys are being generated in a new workqueue. Some other ↵ | Nikos Mavrogiannopoulos | 2010-07-07 | 1 | -1/+2 |
| | | | | fixes and optimizations. | ||||
* | Added checking in copy_from_user and copy_to_user. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+6 |
| | |||||
* | Be more strict when loading master key. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+7 |
| | |||||
* | Use current_euid() and task_pid_nr(current) to get identifiers for owners ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -2/+14 |
| | | | | (for imposed limits). |