summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pk-transparent-hash'Miloslav Trmač2010-08-271-0/+245
|\ | | | | | | | | Conflicts: ncr-int.h
| * Add transparent hash signature examplesMiloslav Trmač2010-08-271-0/+245
| |
* | Merge remote branch 'origin/newapi'Miloslav Trmač2010-08-272-25/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/ncr.c examples/pk.c ncr-key-wrap.c ncr-key.c ncr.h
| * | Added ENCRYPT, UNWRAPPING and VERIFY key flagsNikos Mavrogiannopoulos2010-08-252-3/+3
| | |
| * | The RFC5649 wrapping algorithm now includes a DER encoding of the data to ↵Nikos Mavrogiannopoulos2010-08-251-1/+1
| | | | | | | | | | | | distinguish between keys of different types. This prevents keys being unwrapped in a wrong type.
* | | Merge branch 'clone-session'Miloslav Trmač2010-08-251-0/+218
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: cryptodev_int.h ncr-sessions.c
| * | | Add hash cloning example.Miloslav Trmač2010-08-251-0/+218
| | |/ | |/|
* / | Don't duplicate the list of example programsMiloslav Trmač2010-08-251-1/+1
|/ /
* | Fix wrapping test conversionsMiloslav Trmač2010-08-252-6/+11
| |
* | Merge branch 'bugfixes' into nlattrMiloslav Trmač2010-08-252-9/+25
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptodev_main.c examples/ncr.c examples/pk.c ncr-int.h ncr-key-wrap.c ncr-key.c ncr.c ncr.h
| * | Make it possible to import private keysMiloslav Trmač2010-08-242-0/+5
| | |
| * | Reject prohibited key flags immediatelyMiloslav Trmač2010-08-241-10/+8
| |/ | | | | | | Silently ignoring user's requests is unexpected.
* | Replace ncr_wrap_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-252-11/+11
| |
* | Replace ncr_derive_t by NLA_NUL_STRINGMiloslav Trmač2010-08-241-3/+3
| |
* | Replace ncr_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-243-112/+135
| |
* | Convert *_SESSION_*Miloslav Trmač2010-08-243-190/+410
| |
* | Convert *_KEY_STORAGE_UNWRAPMiloslav Trmač2010-08-241-4/+4
| |
* | Convert *_KEY_STORAGE_WRAPMiloslav Trmač2010-08-241-11/+12
| |
* | Convert *_KEY_UNWRAPMiloslav Trmač2010-08-242-15/+41
| |
* | Convert *_KEY_WRAPMiloslav Trmač2010-08-242-59/+82
| |
* | Convert *_KEY_IMPORTMiloslav Trmač2010-08-242-131/+308
| |
* | Convert *_KEY_EXPORTMiloslav Trmač2010-08-242-92/+82
| |
* | Convert *_KEY_GET_INFOMiloslav Trmač2010-08-241-0/+85
| |
* | Convert *_KEY_DERIVEMiloslav Trmač2010-08-241-17/+43
| |
* | Convert *_KEY_GENERATE_PAIRMiloslav Trmač2010-08-241-41/+125
| |
* | Convert *_KEY_GENERATEMiloslav Trmač2010-08-242-20/+64
| |
* | Convert *_KEY_INITMiloslav Trmač2010-08-243-22/+44
| |
* | Drop <cryptodev.h>Miloslav Trmač2010-08-244-542/+5
|/ | | | Also drop implementation of its ioctls, examples, openssl patch.
* 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.