Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | run scripts/Lindent. | Nikos Mavrogiannopoulos | 2010-09-06 | 1 | -51/+50 |
| | |||||
* | Added flag: NCR_KEY_FLAG_ALLOW_TRANSPARENT_HASH | Nikos Mavrogiannopoulos | 2010-09-05 | 1 | -0/+1 |
| | |||||
* | Added flag NCR_KEY_FLAG_HASHABLE and enforced it when reading a key for hashing. | Nikos Mavrogiannopoulos | 2010-09-05 | 1 | -0/+1 |
| | |||||
* | Merge branch 'pk-transparent-hash' | Miloslav Trmač | 2010-08-27 | 1 | -0/+4 |
|\ | | | | | | | | | Conflicts: ncr-int.h | ||||
| * | Implement PK signatures with transparent hashes | Miloslav Trmač | 2010-08-27 | 1 | -0/+4 |
| | | |||||
* | | Merge remote branch 'origin/newapi' | Miloslav Trmač | 2010-08-27 | 1 | -2/+5 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/ncr.c examples/pk.c ncr-key-wrap.c ncr-key.c ncr.h | ||||
| * | | Added ENCRYPT, UNWRAPPING and VERIFY key flags | Nikos Mavrogiannopoulos | 2010-08-25 | 1 | -2/+5 |
| | | | |||||
| * | | The RFC5649 wrapping algorithm now includes a DER encoding of the data to ↵ | Nikos Mavrogiannopoulos | 2010-08-25 | 1 | -4/+0 |
| | | | | | | | | | | | | distinguish between keys of different types. This prevents keys being unwrapped in a wrong type. | ||||
* | | | Define session cloning interface | Miloslav Trmač | 2010-08-25 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Renumber ioctls | Miloslav Trmač | 2010-08-25 | 1 | -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 direction | Miloslav Trmač | 2010-08-25 | 1 | -1/+1 |
| | | |||||
* | | Replace ncr_wrap_algorithm_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-25 | 1 | -5/+3 |
| | | |||||
* | | Replace ncr_derive_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-24 | 1 | -4/+2 |
| | | |||||
* | | Replace ncr_algorithm_t by NLA_NUL_STRING | Miloslav Trmač | 2010-08-24 | 1 | -37/+3 |
| | | |||||
* | | Convert *_MASTER_KEY_SET | Miloslav Trmač | 2010-08-24 | 1 | -4/+6 |
| | | |||||
* | | Convert *_SESSION_* | Miloslav Trmač | 2010-08-24 | 1 | -71/+41 |
| | | |||||
* | | Convert *_KEY_STORAGE_UNWRAP | Miloslav Trmač | 2010-08-24 | 1 | -7/+7 |
| | | |||||
* | | Convert *_KEY_STORAGE_WRAP | Miloslav Trmač | 2010-08-24 | 1 | -1/+9 |
| | | |||||
* | | Convert *_KEY_UNWRAP | Miloslav Trmač | 2010-08-24 | 1 | -18/+8 |
| | | |||||
* | | Convert *_KEY_WRAP | Miloslav Trmač | 2010-08-24 | 1 | -1/+12 |
| | | |||||
* | | Convert *_KEY_IMPORT | Miloslav Trmač | 2010-08-24 | 1 | -12/+7 |
| | | |||||
* | | Convert *_KEY_EXPORT | Miloslav Trmač | 2010-08-24 | 1 | -1/+9 |
| | | |||||
* | | Convert *_KEY_GET_INFO | Miloslav Trmač | 2010-08-24 | 1 | -10/+7 |
| | | |||||
* | | Convert *_KEY_DERIVE | Miloslav Trmač | 2010-08-24 | 1 | -13/+11 |
| | | |||||
* | | Convert *_KEY_GENERATE_PAIR | Miloslav Trmač | 2010-08-24 | 1 | -42/+15 |
| | | |||||
* | | Convert *_KEY_GENERATE | Miloslav Trmač | 2010-08-24 | 1 | -1/+7 |
| | | |||||
* | | Convert *_KEY_INIT | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | |||||
* | | Add input argument and attribute handling infrastructure | Miloslav Trmač | 2010-08-24 | 1 | -0/+32 |
| | | |||||
* | | Use more specific types to avoid compat_ioctl | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
|/ | | | | Using "int" would require conversions from compat_int_t. | ||||
* | Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -0/+8 |
| | |||||
* | Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys. | Nikos Mavrogiannopoulos | 2010-08-19 | 1 | -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-08 | 1 | -21/+23 |
|\ | |||||
| * | Use types from <linux/types.h> for public headers. | Miloslav Trmač | 2010-08-08 | 1 | -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}_INVALID | Miloslav Trmač | 2010-08-05 | 1 | -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 Mavrogiannopoulos | 2010-07-28 | 1 | -2/+1 |
| | |||||
* | Implemented Diffie Hellman Key exchange. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -4/+9 |
| | |||||
* | Added Diffie Hellman key generation. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -3/+14 |
| | |||||
* | Added __user to userspace buffers. | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -5/+5 |
| | |||||
* | Corrected issue when finalizing sessions that hashed keys. | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -2/+2 |
| | |||||
* | removed the data type. | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -29/+4 |
| | |||||
* | No need for ncr-direct. All session operations are being done on keys or on ↵ | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -4/+5 |
| | | | | userspace data. | ||||
* | Key wrapping operates directly to userspace data. No need to involve the ↵ | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -5/+9 |
| | | | | data_t structures. | ||||
* | Added a support for reading session data directly from userspace. | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -5/+21 |
| | |||||
* | Simplified the session_op structure and combined the OP_SIGN with the OP_DIGEST | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -15/+4 |
| | | | | for digest algorithms. | ||||
* | Reformat for kernel's (make headers_install) | Miloslav Trmač | 2010-07-24 | 1 | -1/+1 |
| | | | | | (make headers_install) automatically removes the __user annotations, but it doesn't recognize "__user*". | ||||
* | No need for type of params. | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -7/+3 |
| | |||||
* | Splitted key from key_params structure. Also separated dsa from rsa ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -5/+18 |
| | | | | structure in params. | ||||
* | Revert "initial support for userspace data." | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -11/+2 |
| | | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16. | ||||
* | Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 1 | -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 Mavrogiannopoulos | 2010-07-21 | 1 | -7/+9 |
| | | | | structure without special system call. |