Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename CONFIG_AS*YM*METRIC, push into headers | Miloslav Trmač | 2010-09-06 | 1 | -17/+6 |
| | |||||
* | run scripts/Lindent. | Nikos Mavrogiannopoulos | 2010-09-06 | 1 | -193/+202 |
| | |||||
* | Added config flag CONFIG_ASSYMETRIC, that will disable all assymetric ↵ | Nikos Mavrogiannopoulos | 2010-09-06 | 1 | -3/+20 |
| | | | | algorithm support when building the module. As a side-effect (due to DER requirements) key wrapping is disabled as well. | ||||
* | 3DES-ECB has also effective key length of 112. | Nikos Mavrogiannopoulos | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'origin/newapi' | Miloslav Trmač | 2010-08-27 | 1 | -2/+3 |
|\ | | | | | | | | | | | | | | | | | Conflicts: examples/ncr.c examples/pk.c ncr-key-wrap.c ncr-key.c ncr.h | ||||
| * | Unwrapping keys are restricted the same way as wrapping keys. | Nikos Mavrogiannopoulos | 2010-08-26 | 1 | -1/+1 |
| | | |||||
| * | Added ENCRYPT, UNWRAPPING and VERIFY key flags | Nikos Mavrogiannopoulos | 2010-08-25 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-25 | 1 | -3/+3 |
|\ \ | |||||
| * | | Make some objects static | Miloslav Trmač | 2010-08-25 | 1 | -3/+3 |
| | | | |||||
* | | | Simplify key flag updates | Miloslav Trmač | 2010-08-25 | 1 | -36/+27 |
| | | | |||||
* | | | Merge branch 'bugfixes' into nlattr | Miloslav Trmač | 2010-08-25 | 1 | -14/+36 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | | | |||||
| * | | Reject prohibited key flags immediately | Miloslav Trmač | 2010-08-24 | 1 | -11/+30 |
| |/ | | | | | | | Silently ignoring user's requests is unexpected. | ||||
* | | Replace ncr_algorithm_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | |||||
* | | Convert *_KEY_DEINIT | Miloslav Trmač | 2010-08-24 | 1 | -9/+1 |
| | | |||||
* | | Convert *_KEY_IMPORT | Miloslav Trmač | 2010-08-24 | 1 | -23/+28 |
| | | |||||
* | | Convert *_KEY_EXPORT | Miloslav Trmač | 2010-08-24 | 1 | -22/+12 |
| | | |||||
* | | Convert *_KEY_GET_INFO | Miloslav Trmač | 2010-08-24 | 1 | -13/+41 |
| | | |||||
* | | Convert *_KEY_DERIVE | Miloslav Trmač | 2010-08-24 | 1 | -20/+9 |
| | | |||||
* | | Convert *_KEY_GENERATE_PAIR | Miloslav Trmač | 2010-08-24 | 1 | -13/+14 |
| | | |||||
* | | Convert *_KEY_GENERATE | Miloslav Trmač | 2010-08-24 | 1 | -13/+20 |
| | | |||||
* | | Convert *_KEY_INIT | Miloslav Trmač | 2010-08-24 | 1 | -7/+2 |
| | | |||||
* | | Drop <cryptodev.h> | Miloslav Trmač | 2010-08-24 | 1 | -1/+0 |
|/ | | | | Also drop implementation of its ioctls, examples, openssl patch. | ||||
* | When calculating algorithm strength consider 3DES as 112 bit cipher. | Nikos Mavrogiannopoulos | 2010-08-22 | 1 | -0/+5 |
| | |||||
* | Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -8/+9 |
| | |||||
* | export ncr_key_clear(). And disallow key derivation from wrapping keys. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -3/+9 |
| | |||||
* | Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys. | Nikos Mavrogiannopoulos | 2010-08-19 | 1 | -5/+115 |
| | | | | | Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff for supporting wrapping of private and public keys. | ||||
* | 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 'bugfixes' | Miloslav Trmač | 2010-08-05 | 1 | -0/+1 |
|\| | |||||
| * | Fix build with recent kernels | Jan Chadima | 2010-08-05 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'bugfixes' | Miloslav Trmač | 2010-08-02 | 1 | -1/+2 |
|\| | |||||
| * | Fix error path in ncr_key_generate | Miloslav Trmač | 2010-08-02 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'master' into replace-lists | Miloslav Trmač | 2010-07-30 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | Conflicts: ncr-int.h ncr-key.c ncr.c | ||||
| * | Don't access new objects when not holding a reference | Miloslav Trmač | 2010-07-28 | 1 | -1/+1 |
| | | |||||
* | | Use <linux/idr.h> for key ID allocation and lookup | Miloslav Trmač | 2010-07-28 | 1 | -106/+82 |
| | | |||||
* | | Use ncr_lists instead of list_sem_st in intefaces | Miloslav Trmač | 2010-07-27 | 1 | -22/+30 |
|/ | | | | | | | | | | | | | | 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 | -7/+64 |
| | |||||
* | Added Diffie Hellman key generation. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -1/+10 |
| | |||||
* | Corrected copyright notices. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -2/+4 |
| | |||||
* | relicensed under GNU GPLv2. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -8/+9 |
| | |||||
* | Don't override the user-specified key algorithm | Miloslav Trmač | 2010-07-26 | 1 | -2/+1 |
| | |||||
* | removed the data type. | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -43/+57 |
| | |||||
* | ncr_int.h -> ncr-int.h | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -1/+1 |
| | |||||
* | Use of algo_properties to avoid linear search on a table for each property. | Miloslav Trmač | 2010-07-24 | 1 | -7/+24 |
| | |||||
* | Revert "initial support for userspace data." | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -48/+7 |
| | | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16. | ||||
* | Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -25/+11 |
| | | | | | | 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 | -11/+25 |
| | | | | structure without special system call. | ||||
* | initial support for userspace data. | Nikos Mavrogiannopoulos | 2010-07-21 | 1 | -7/+48 |
| |