Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | initial support for userspace data. | Nikos Mavrogiannopoulos | 2010-07-21 | 1 | -2/+11 |
| | |||||
* | Added NULL cipher and a speed program to compare old cryptodev operations ↵ | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -1/+2 |
| | | | | and ncr ones. | ||||
* | Added CAMELLIA-ECB and AES-CTR as well as CAMELLIA-CTR. | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -1/+3 |
| | |||||
* | sparse: Fix __user annotations | Miloslav Trmač | 2010-07-19 | 1 | -2/+3 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Corrected RSA signature generation/verification. | Nikos Mavrogiannopoulos | 2010-07-14 | 1 | -1/+1 |
| | | | | Added Test for RSA and DSA signature generation and verification. | ||||
* | Added signature generation and verification. | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -7/+10 |
| | |||||
* | Initial additions to have PK encryption/decryption. Separated operations | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -1/+11 |
| | | | | | on keys to read/write to prevent overwriting a key while using it. Several other cleanups. | ||||
* | Removed the public key params get/set functionality. This can be achieved ↵ | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -81/+0 |
| | | | | with import/export functionality and DER decoding. | ||||
* | Added ability to generate DSA and RSA keys and store them. | Nikos Mavrogiannopoulos | 2010-07-07 | 1 | -4/+4 |
| | |||||
* | Initial attempts to allow wrapping keys with out of band data such as flags, ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+22 |
| | | | | key ids etc. | ||||
* | Added generic sessions to allow encryption/decryption hash and HMAC. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -4/+9 |
| | | | | Removed the ncr-cipher.c. | ||||
* | Added definitions for session ioctls(). | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+11 |
| | |||||
* | Added initial wrapping and unwrapping key API. Adds an implementation of the ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+6 |
| | | | | AES-WRAP (untested yet). | ||||
* | Storage ioctls removed. Concentrating on wrap/unwrap functionality. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -64/+16 |
| | |||||
* | Added small subsystem for storage (no storage occuring yet). | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -12/+57 |
| | |||||
* | Added ncr_key_import/export, generate and info. Those work with secret keys. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -2/+22 |
| | | | | Added test program for those. | ||||
* | Added data functionality and a test program. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+3 |
| | |||||
* | Some updates to compile. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -23/+11 |
| | |||||
* | updates | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -10/+6 |
| | |||||
* | Tried to introduce new api. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+325 |