summaryrefslogtreecommitdiffstats
path: root/ncr.h
Commit message (Collapse)AuthorAgeFilesLines
* run scripts/Lindent.Nikos Mavrogiannopoulos2010-09-061-51/+50
|
* Added flag: NCR_KEY_FLAG_ALLOW_TRANSPARENT_HASHNikos Mavrogiannopoulos2010-09-051-0/+1
|
* Added flag NCR_KEY_FLAG_HASHABLE and enforced it when reading a key for hashing.Nikos Mavrogiannopoulos2010-09-051-0/+1
|
* Merge branch 'pk-transparent-hash'Miloslav Trmač2010-08-271-0/+4
|\ | | | | | | | | Conflicts: ncr-int.h
| * Implement PK signatures with transparent hashesMiloslav Trmač2010-08-271-0/+4
| |
* | Merge remote branch 'origin/newapi'Miloslav Trmač2010-08-271-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/ncr.c examples/pk.c ncr-key-wrap.c ncr-key.c ncr.h
| * | Added ENCRYPT, UNWRAPPING and VERIFY key flagsNikos Mavrogiannopoulos2010-08-251-2/+5
| | |
| * | The RFC5649 wrapping algorithm now includes a DER encoding of the data to ↵Nikos Mavrogiannopoulos2010-08-251-4/+0
| | | | | | | | | | | | distinguish between keys of different types. This prevents keys being unwrapped in a wrong type.
* | | Define session cloning interfaceMiloslav Trmač2010-08-251-0/+1
| |/ |/|
* | Renumber ioctlsMiloslav Trmač2010-08-251-18/+17
| | | | | | | | | | | | | | - The ranges in Documentation/ioctl/ioctl-number.txt are allocated in hexadecimal digits - The operation identifer must be <= 255 - Leave smaller spaces to give other drivers a chance
* | Fix ioctl directionMiloslav Trmač2010-08-251-1/+1
| |
* | Replace ncr_wrap_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-251-5/+3
| |
* | Replace ncr_derive_t by NLA_NUL_STRINGMiloslav Trmač2010-08-241-4/+2
| |
* | Replace ncr_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-241-37/+3
| |
* | Convert *_MASTER_KEY_SETMiloslav Trmač2010-08-241-4/+6
| |
* | Convert *_SESSION_*Miloslav Trmač2010-08-241-71/+41
| |
* | Convert *_KEY_STORAGE_UNWRAPMiloslav Trmač2010-08-241-7/+7
| |
* | Convert *_KEY_STORAGE_WRAPMiloslav Trmač2010-08-241-1/+9
| |
* | Convert *_KEY_UNWRAPMiloslav Trmač2010-08-241-18/+8
| |
* | Convert *_KEY_WRAPMiloslav Trmač2010-08-241-1/+12
| |
* | Convert *_KEY_IMPORTMiloslav Trmač2010-08-241-12/+7
| |
* | Convert *_KEY_EXPORTMiloslav Trmač2010-08-241-1/+9
| |
* | Convert *_KEY_GET_INFOMiloslav Trmač2010-08-241-10/+7
| |
* | Convert *_KEY_DERIVEMiloslav Trmač2010-08-241-13/+11
| |
* | Convert *_KEY_GENERATE_PAIRMiloslav Trmač2010-08-241-42/+15
| |
* | Convert *_KEY_GENERATEMiloslav Trmač2010-08-241-1/+7
| |
* | Convert *_KEY_INITMiloslav Trmač2010-08-241-1/+1
| |
* | Add input argument and attribute handling infrastructureMiloslav Trmač2010-08-241-0/+32
| |
* | Use more specific types to avoid compat_ioctlMiloslav Trmač2010-08-241-2/+2
|/ | | | Using "int" would require conversions from compat_int_t.
* Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones.Nikos Mavrogiannopoulos2010-08-211-0/+8
|
* Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys.Nikos Mavrogiannopoulos2010-08-191-0/+4
| | | | | 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-081-21/+23
|\
| * Use types from <linux/types.h> for public headers.Miloslav Trmač2010-08-081-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Change NCR_{KEY,SESSION}_INVALIDMiloslav Trmač2010-08-051-2/+2
|/ | | | We can allocate ID 0 now. Note that this is an ABI change.
* NCR_CIPHER_MAX_KEY_LEN no longer exist in userspace API.Nikos Mavrogiannopoulos2010-07-281-2/+1
|
* Implemented Diffie Hellman Key exchange.Nikos Mavrogiannopoulos2010-07-271-4/+9
|
* Added Diffie Hellman key generation.Nikos Mavrogiannopoulos2010-07-271-3/+14
|
* Added __user to userspace buffers.Nikos Mavrogiannopoulos2010-07-261-5/+5
|
* Corrected issue when finalizing sessions that hashed keys.Nikos Mavrogiannopoulos2010-07-261-2/+2
|
* removed the data type.Nikos Mavrogiannopoulos2010-07-261-29/+4
|
* No need for ncr-direct. All session operations are being done on keys or on ↵Nikos Mavrogiannopoulos2010-07-251-4/+5
| | | | userspace data.
* Key wrapping operates directly to userspace data. No need to involve the ↵Nikos Mavrogiannopoulos2010-07-251-5/+9
| | | | data_t structures.
* Added a support for reading session data directly from userspace.Nikos Mavrogiannopoulos2010-07-241-5/+21
|
* Simplified the session_op structure and combined the OP_SIGN with the OP_DIGESTNikos Mavrogiannopoulos2010-07-241-15/+4
| | | | for digest algorithms.
* Reformat for kernel's (make headers_install)Miloslav Trmač2010-07-241-1/+1
| | | | | (make headers_install) automatically removes the __user annotations, but it doesn't recognize "__user*".
* No need for type of params.Nikos Mavrogiannopoulos2010-07-231-7/+3
|
* Splitted key from key_params structure. Also separated dsa from rsa ↵Nikos Mavrogiannopoulos2010-07-231-5/+18
| | | | structure in params.
* Revert "initial support for userspace data."Nikos Mavrogiannopoulos2010-07-231-11/+2
| | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
* Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵Nikos Mavrogiannopoulos2010-07-231-9/+7
| | | | | | 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-7/+9
| | | | structure without special system call.