summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Reject prohibited key flags immediatelyMiloslav Trmač2010-08-241-10/+8
| | | | Silently ignoring user's requests is unexpected.
* Compare cryptodev to NCR on a fair basis.Nikos Mavrogiannopoulos2010-08-231-24/+24
|
* more textNikos Mavrogiannopoulos2010-08-211-1/+4
|
* Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones.Nikos Mavrogiannopoulos2010-08-211-2/+29
|
* Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys.Nikos Mavrogiannopoulos2010-08-192-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-084-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 Mavrogiannopoulos2010-07-271-1/+151
|
* Added Diffie Hellman key generation.Nikos Mavrogiannopoulos2010-07-271-0/+79
|
* Added test case for hashing secret keys. Some corrections in independent ↵Nikos Mavrogiannopoulos2010-07-261-0/+116
| | | | session updates.
* removed the data type.Nikos Mavrogiannopoulos2010-07-264-573/+92
|
* No need for ncr-direct. All session operations are being done on keys or on ↵Nikos Mavrogiannopoulos2010-07-254-665/+82
| | | | userspace data.
* Key wrapping operates directly to userspace data. No need to involve the ↵Nikos Mavrogiannopoulos2010-07-251-17/+16
| | | | data_t structures.
* Added the NCR-DIRECT to speed test.Nikos Mavrogiannopoulos2010-07-241-4/+89
|
* Added a support for reading session data directly from userspace.Nikos Mavrogiannopoulos2010-07-245-22/+479
|
* Simplified the session_op structure and combined the OP_SIGN with the OP_DIGESTNikos Mavrogiannopoulos2010-07-243-21/+21
| | | | for digest algorithms.
* Splitted key from key_params structure. Also separated dsa from rsa ↵Nikos Mavrogiannopoulos2010-07-233-24/+24
| | | | structure in params.
* Minor fixes in example programs.Nikos Mavrogiannopoulos2010-07-232-9/+11
|
* Append_flag was removed.Nikos Mavrogiannopoulos2010-07-233-24/+0
|
* Revert "initial support for userspace data."Nikos Mavrogiannopoulos2010-07-233-132/+35
| | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
* Revert "Modified NCR-USER API to "simplify" and allow setting of size of ↵Nikos Mavrogiannopoulos2010-07-234-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 Mavrogiannopoulos2010-07-214-17/+935
| | | | structure without special system call.
* initial support for userspace data.Nikos Mavrogiannopoulos2010-07-213-35/+132
|
* Public Keys are being exported to SubjectPublicKeyInfo format, instead of ↵Nikos Mavrogiannopoulos2010-07-191-15/+100
| | | | custom formats. For RSA keys the PKCS #1 format can be used as well.
* Fixed RSA encryption and decryption.Nikos Mavrogiannopoulos2010-07-191-65/+212
|
* Added NULL cipher and a speed program to compare old cryptodev operations ↵Nikos Mavrogiannopoulos2010-07-191-5/+120
| | | | and ncr ones.
* Backported zero copy /dev/crypto operations from master.Nikos Mavrogiannopoulos2010-07-192-2/+175
|
* Corrected RSA signature generation/verification.Nikos Mavrogiannopoulos2010-07-142-5/+299
| | | | Added Test for RSA and DSA signature generation and verification.
* OP_MAC was deprecated by OP_SIGN.Nikos Mavrogiannopoulos2010-07-141-5/+5
|
* Initial additions to have PK encryption/decryption. Separated operationsNikos Mavrogiannopoulos2010-07-121-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 Mavrogiannopoulos2010-07-071-10/+18
|
* Added test program for key generation.Nikos Mavrogiannopoulos2010-07-071-0/+345
|
* Public and private keys are being generated in a new workqueue. Some other ↵Nikos Mavrogiannopoulos2010-07-073-20/+33
| | | | fixes and optimizations.
* Several fixes related to checks with copy_from/to_user.Nikos Mavrogiannopoulos2010-06-171-4/+1
|
* Fixed key storage wrapping.Nikos Mavrogiannopoulos2010-06-171-3/+154
|
* Added vectors for SHA2 variants.Nikos Mavrogiannopoulos2010-06-171-1/+42
|
* Added test functionality for HMAC and hashes (SHA-1, MD5)Nikos Mavrogiannopoulos2010-06-171-2/+174
|
* Wrapping/Unwrapping works and tested.Nikos Mavrogiannopoulos2010-06-171-6/+88
|
* Key wrapping fixed.Nikos Mavrogiannopoulos2010-06-171-18/+22
|
* AES self tests now pass.Nikos Mavrogiannopoulos2010-06-171-5/+23
|
* Added AES test vectors.Nikos Mavrogiannopoulos2010-06-171-0/+150
|
* Added self test for key wrapping.Nikos Mavrogiannopoulos2010-06-171-75/+103
|
* Some updates in the server approach (not working yet).Nikos Mavrogiannopoulos2010-06-171-0/+157
|
* Combined tests.Nikos Mavrogiannopoulos2010-06-173-251/+259
|
* Added ncr_key_import/export, generate and info. Those work with secret keys.Nikos Mavrogiannopoulos2010-06-172-2/+239
| | | | Added test program for those.
* Compilation and initialization fixes.Nikos Mavrogiannopoulos2010-06-171-5/+4
|
* Added some initial for of key. Added helper functions to enforce per user ↵Nikos Mavrogiannopoulos2010-06-171-4/+16
| | | | and per process limits.
* Added test to verify that data that are not marked as exportable cannot be read.Nikos Mavrogiannopoulos2010-06-171-1/+32
|
* Corrected nasty bug and added some debugging info.Nikos Mavrogiannopoulos2010-06-171-2/+9
|
* Added data functionality and a test program.Nikos Mavrogiannopoulos2010-06-174-4/+132
|
* Corrected make clean, and corrected examples to use the current cryptodev.hNikos Mavrogiannopoulos2010-03-172-2/+6
| | | | definitions.