Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing newlineuserspace | Miloslav Trmač | 2010-08-25 | 1 | -1/+1 |
| | | | | ... which simplifies merging | ||||
* | Port key wrapping tests to *_lib.c | Miloslav Trmač | 2010-08-24 | 2 | -2/+140 |
| | |||||
* | Merge branch 'bugfixes' into userspace | Miloslav Trmač | 2010-08-24 | 2 | -10/+13 |
|\ | |||||
| * | Make it possible to import private keys | Miloslav Trmač | 2010-08-24 | 2 | -0/+5 |
| | | |||||
| * | Reject prohibited key flags immediately | Miloslav Trmač | 2010-08-24 | 1 | -10/+8 |
| | | | | | | | | Silently ignoring user's requests is unexpected. | ||||
* | | Don't assume <ncr.h> includes <stdint.h> | Miloslav Trmač | 2010-08-24 | 2 | -0/+2 |
| | | |||||
* | | Drop a few unnecessary #includes from examples | Miloslav Trmač | 2010-08-24 | 2 | -8/+0 |
| | | |||||
* | | Provide a nicer example on including <ncrypto.h> | Miloslav Trmač | 2010-08-24 | 2 | -4/+4 |
| | | |||||
* | | Abstract <linux/ncr.h> from <ncrypto.h> users | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Let <ncrypto.h> users #include this header file alone, without caring about <linux/ncr.h>. To do so, set up a temporary copy of ncr.h so that the #include <linux/ncr.h> works at build time as well. | ||||
* | | Add port of examples/pk.c to libcryptodev | Miloslav Trmač | 2010-08-24 | 2 | -2/+752 |
| | | |||||
* | | Implement missing algorithm-specific keygen params | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | | | | | | | | | | | Rename ncr_key_generate_params_set_bits to ncr_key_generate_params_set_secret_bits in the process, an incompatible change. | ||||
* | | Support output data in NCRIO_SESSION_UPDATE | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | |||||
* | | Use NCR_KEY_INVALID for clarity | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | |||||
* | | Remove somewhat confusing casts | Miloslav Trmač | 2010-08-24 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | "luckily" DIAGNOSTIC_DUMP does not quote its arguments, so DIAGNOSTIC_DUMP((int)array, size) expanded into ... fprintf(stderr, "%.2x:", (int)(int)array[out_index]); ... Still, it would break with more meticulous parenthesising, and the macro invocations appear to be casting an array to int. | ||||
* | | Don't set the master key in an example program. | Miloslav Trmač | 2010-08-24 | 1 | -2/+0 |
| | | | | | | | | | | That is an operation reserved for root, and should be done during system initialization. | ||||
* | | Fix and reenable unwrapping test | Miloslav Trmač | 2010-08-24 | 1 | -2/+3 |
| | | |||||
* | | Use the correct wrapping key | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | | | | | | | ... as specified in the RFC3394 test vector in section 4.1. | ||||
* | | Remove an unused variable | Miloslav Trmač | 2010-08-24 | 1 | -2/+0 |
| | | |||||
* | | Integrate examples/ncr_lib.c | Miloslav Trmač | 2010-08-24 | 1 | -1/+6 |
| | | |||||
* | | Add Jan's port of ncr.c to libcryptodev. | Jan Chadima | 2010-08-24 | 1 | -0/+476 |
| | | |||||
* | | Don't repeat the list of example programs | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
|/ | |||||
* | Compare cryptodev to NCR on a fair basis. | Nikos Mavrogiannopoulos | 2010-08-23 | 1 | -24/+24 |
| | |||||
* | more text | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -1/+4 |
| | |||||
* | Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones. | Nikos Mavrogiannopoulos | 2010-08-21 | 1 | -2/+29 |
| | |||||
* | Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys. | Nikos Mavrogiannopoulos | 2010-08-19 | 2 | -6/+217 |
| | | | | | Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff for supporting wrapping of private and public keys. | ||||
* | Use types from <linux/types.h> for public headers. | Miloslav Trmač | 2010-08-08 | 4 | -0/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Implemented Diffie Hellman Key exchange. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -1/+151 |
| | |||||
* | Added Diffie Hellman key generation. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -0/+79 |
| | |||||
* | Added test case for hashing secret keys. Some corrections in independent ↵ | Nikos Mavrogiannopoulos | 2010-07-26 | 1 | -0/+116 |
| | | | | session updates. | ||||
* | removed the data type. | Nikos Mavrogiannopoulos | 2010-07-26 | 4 | -573/+92 |
| | |||||
* | No need for ncr-direct. All session operations are being done on keys or on ↵ | Nikos Mavrogiannopoulos | 2010-07-25 | 4 | -665/+82 |
| | | | | userspace data. | ||||
* | Key wrapping operates directly to userspace data. No need to involve the ↵ | Nikos Mavrogiannopoulos | 2010-07-25 | 1 | -17/+16 |
| | | | | data_t structures. | ||||
* | Added the NCR-DIRECT to speed test. | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -4/+89 |
| | |||||
* | Added a support for reading session data directly from userspace. | Nikos Mavrogiannopoulos | 2010-07-24 | 5 | -22/+479 |
| | |||||
* | Simplified the session_op structure and combined the OP_SIGN with the OP_DIGEST | Nikos Mavrogiannopoulos | 2010-07-24 | 3 | -21/+21 |
| | | | | for digest algorithms. | ||||
* | Splitted key from key_params structure. Also separated dsa from rsa ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 3 | -24/+24 |
| | | | | structure in params. | ||||
* | Minor fixes in example programs. | Nikos Mavrogiannopoulos | 2010-07-23 | 2 | -9/+11 |
| | |||||
* | Append_flag was removed. | Nikos Mavrogiannopoulos | 2010-07-23 | 3 | -24/+0 |
| | |||||
* | Revert "initial support for userspace data." | Nikos Mavrogiannopoulos | 2010-07-23 | 3 | -132/+35 |
| | | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16. | ||||
* | Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵ | Nikos Mavrogiannopoulos | 2010-07-23 | 4 | -935/+17 |
| | | | | | | 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 | 4 | -17/+935 |
| | | | | structure without special system call. | ||||
* | initial support for userspace data. | Nikos Mavrogiannopoulos | 2010-07-21 | 3 | -35/+132 |
| | |||||
* | Public Keys are being exported to SubjectPublicKeyInfo format, instead of ↵ | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -15/+100 |
| | | | | custom formats. For RSA keys the PKCS #1 format can be used as well. | ||||
* | Fixed RSA encryption and decryption. | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -65/+212 |
| | |||||
* | Added NULL cipher and a speed program to compare old cryptodev operations ↵ | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -5/+120 |
| | | | | and ncr ones. | ||||
* | Backported zero copy /dev/crypto operations from master. | Nikos Mavrogiannopoulos | 2010-07-19 | 2 | -2/+175 |
| | |||||
* | Corrected RSA signature generation/verification. | Nikos Mavrogiannopoulos | 2010-07-14 | 2 | -5/+299 |
| | | | | Added Test for RSA and DSA signature generation and verification. | ||||
* | OP_MAC was deprecated by OP_SIGN. | Nikos Mavrogiannopoulos | 2010-07-14 | 1 | -5/+5 |
| | |||||
* | Initial additions to have PK encryption/decryption. Separated operations | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -36/+32 |
| | | | | | on keys to read/write to prevent overwriting a key while using it. Several other cleanups. | ||||
* | Several fixes. RSA key generation tested and works. | Nikos Mavrogiannopoulos | 2010-07-07 | 1 | -10/+18 |
| |