summaryrefslogtreecommitdiffstats
path: root/ncr.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* initial support for userspace data.Nikos Mavrogiannopoulos2010-07-211-2/+11
|
* Added NULL cipher and a speed program to compare old cryptodev operations ↵Nikos Mavrogiannopoulos2010-07-191-1/+2
| | | | and ncr ones.
* Added CAMELLIA-ECB and AES-CTR as well as CAMELLIA-CTR.Nikos Mavrogiannopoulos2010-07-191-1/+3
|
* sparse: Fix __user annotationsMiloslav Trmač2010-07-191-2/+3
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Corrected RSA signature generation/verification.Nikos Mavrogiannopoulos2010-07-141-1/+1
| | | | Added Test for RSA and DSA signature generation and verification.
* Added signature generation and verification.Nikos Mavrogiannopoulos2010-07-121-7/+10
|
* Initial additions to have PK encryption/decryption. Separated operationsNikos Mavrogiannopoulos2010-07-121-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 Mavrogiannopoulos2010-07-121-81/+0
| | | | with import/export functionality and DER decoding.
* Added ability to generate DSA and RSA keys and store them.Nikos Mavrogiannopoulos2010-07-071-4/+4
|
* Initial attempts to allow wrapping keys with out of band data such as flags, ↵Nikos Mavrogiannopoulos2010-06-171-1/+22
| | | | key ids etc.
* Added generic sessions to allow encryption/decryption hash and HMAC.Nikos Mavrogiannopoulos2010-06-171-4/+9
| | | | Removed the ncr-cipher.c.
* Added definitions for session ioctls().Nikos Mavrogiannopoulos2010-06-171-0/+11
|
* Added initial wrapping and unwrapping key API. Adds an implementation of the ↵Nikos Mavrogiannopoulos2010-06-171-1/+6
| | | | AES-WRAP (untested yet).
* Storage ioctls removed. Concentrating on wrap/unwrap functionality.Nikos Mavrogiannopoulos2010-06-171-64/+16
|
* Added small subsystem for storage (no storage occuring yet).Nikos Mavrogiannopoulos2010-06-171-12/+57
|
* Added ncr_key_import/export, generate and info. Those work with secret keys.Nikos Mavrogiannopoulos2010-06-171-2/+22
| | | | Added test program for those.
* Added data functionality and a test program.Nikos Mavrogiannopoulos2010-06-171-1/+3
|
* Some updates to compile.Nikos Mavrogiannopoulos2010-06-171-23/+11
|
* updatesNikos Mavrogiannopoulos2010-06-171-10/+6
|
* Tried to introduce new api.Nikos Mavrogiannopoulos2010-06-171-0/+325