summaryrefslogtreecommitdiffstats
path: root/ncr-key.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename CONFIG_AS*YM*METRIC, push into headersMiloslav Trmač2010-09-061-17/+6
|
* run scripts/Lindent.Nikos Mavrogiannopoulos2010-09-061-193/+202
|
* Added config flag CONFIG_ASSYMETRIC, that will disable all assymetric ↵Nikos Mavrogiannopoulos2010-09-061-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 Mavrogiannopoulos2010-09-051-1/+1
|
* Merge remote branch 'origin/newapi'Miloslav Trmač2010-08-271-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 Mavrogiannopoulos2010-08-261-1/+1
| |
| * Added ENCRYPT, UNWRAPPING and VERIFY key flagsNikos Mavrogiannopoulos2010-08-251-0/+1
| |
* | Merge branch 'bugfixes'Miloslav Trmač2010-08-251-3/+3
|\ \
| * | Make some objects staticMiloslav Trmač2010-08-251-3/+3
| | |
* | | Simplify key flag updatesMiloslav Trmač2010-08-251-36/+27
| | |
* | | Merge branch 'bugfixes' into nlattrMiloslav Trmač2010-08-251-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 euidMiloslav Trmač2010-08-241-1/+1
| | |
| * | Reject prohibited key flags immediatelyMiloslav Trmač2010-08-241-11/+30
| |/ | | | | | | Silently ignoring user's requests is unexpected.
* | Replace ncr_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-241-2/+2
| |
* | Convert *_KEY_DEINITMiloslav Trmač2010-08-241-9/+1
| |
* | Convert *_KEY_IMPORTMiloslav Trmač2010-08-241-23/+28
| |
* | Convert *_KEY_EXPORTMiloslav Trmač2010-08-241-22/+12
| |
* | Convert *_KEY_GET_INFOMiloslav Trmač2010-08-241-13/+41
| |
* | Convert *_KEY_DERIVEMiloslav Trmač2010-08-241-20/+9
| |
* | Convert *_KEY_GENERATE_PAIRMiloslav Trmač2010-08-241-13/+14
| |
* | Convert *_KEY_GENERATEMiloslav Trmač2010-08-241-13/+20
| |
* | Convert *_KEY_INITMiloslav Trmač2010-08-241-7/+2
| |
* | Drop <cryptodev.h>Miloslav Trmač2010-08-241-1/+0
|/ | | | Also drop implementation of its ioctls, examples, openssl patch.
* When calculating algorithm strength consider 3DES as 112 bit cipher.Nikos Mavrogiannopoulos2010-08-221-0/+5
|
* Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones.Nikos Mavrogiannopoulos2010-08-211-8/+9
|
* export ncr_key_clear(). And disallow key derivation from wrapping keys.Nikos Mavrogiannopoulos2010-08-211-3/+9
|
* Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys.Nikos Mavrogiannopoulos2010-08-191-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-071-2/+2
|\ | | | | | | | | Conflicts: ncr-int.h
| * Use <linux/uaccess.h> instead of <asm/uaccess.h>Miloslav Trmač2010-08-071-1/+1
| | | | | | | | Suggested by scripts/checkpatch.pl.
| * Use <linux/ioctl.h> instead of <asm/ioctl.h>Miloslav Trmač2010-08-071-1/+1
| | | | | | | | Suggested by scripts/checkpatch.pl.
* | Merge branch 'bugfixes'Miloslav Trmač2010-08-051-0/+1
|\|
| * Fix build with recent kernelsJan Chadima2010-08-051-0/+1
| |
* | Merge branch 'bugfixes'Miloslav Trmač2010-08-021-1/+2
|\|
| * Fix error path in ncr_key_generateMiloslav Trmač2010-08-021-1/+2
| |
* | Merge branch 'master' into replace-listsMiloslav Trmač2010-07-301-1/+1
|\| | | | | | | | | | | | | Conflicts: ncr-int.h ncr-key.c ncr.c
| * Don't access new objects when not holding a referenceMiloslav Trmač2010-07-281-1/+1
| |
* | Use <linux/idr.h> for key ID allocation and lookupMiloslav Trmač2010-07-281-106/+82
| |
* | Use ncr_lists instead of list_sem_st in intefacesMiloslav Trmač2010-07-271-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 Mavrogiannopoulos2010-07-271-7/+64
|
* Added Diffie Hellman key generation.Nikos Mavrogiannopoulos2010-07-271-1/+10
|
* Corrected copyright notices.Nikos Mavrogiannopoulos2010-07-271-2/+4
|
* relicensed under GNU GPLv2.Nikos Mavrogiannopoulos2010-07-271-8/+9
|
* Don't override the user-specified key algorithmMiloslav Trmač2010-07-261-2/+1
|
* removed the data type.Nikos Mavrogiannopoulos2010-07-261-43/+57
|
* ncr_int.h -> ncr-int.hNikos Mavrogiannopoulos2010-07-251-1/+1
|
* Use of algo_properties to avoid linear search on a table for each property.Miloslav Trmač2010-07-241-7/+24
|
* Revert "initial support for userspace data."Nikos Mavrogiannopoulos2010-07-231-48/+7
| | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
* Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵Nikos Mavrogiannopoulos2010-07-231-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 Mavrogiannopoulos2010-07-211-11/+25
| | | | structure without special system call.
* initial support for userspace data.Nikos Mavrogiannopoulos2010-07-211-7/+48
|