summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright notice to userspace/ncrypto.hMiloslav Trmač2010-08-241-0/+28
|
* Add Red Hat copyright notices to libcryptodevMiloslav Trmač2010-08-247-0/+193
|
* Avoid unnecessary internal relocationsMiloslav Trmač2010-08-246-9/+21
| | | | | | | | | | Use __attribute__((visibility("hidden"))) for __ncr_file_descriptor to take advantage of PIC addressing instead of going through the dynamic linker. Add an internal alias for ncr_global_init() for the same reason. Add an internal header file to consolidate the "extern" references in the process.
* Don't assume <ncr.h> includes <stdint.h>Miloslav Trmač2010-08-243-0/+3
|
* Drop a few unnecessary #includes from examplesMiloslav Trmač2010-08-242-8/+0
|
* Provide a nicer example on including <ncrypto.h>Miloslav Trmač2010-08-242-4/+4
|
* Allow overriding CFLAGSMiloslav Trmač2010-08-241-3/+8
|
* Abstract <linux/ncr.h> from <ncrypto.h> usersMiloslav Trmač2010-08-2410-9/+18
| | | | | | | | | 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.
* Attach "userspace/" into top-level MakefileMiloslav Trmač2010-08-241-0/+3
|
* Add port of examples/pk.c to libcryptodevMiloslav Trmač2010-08-243-2/+753
|
* Add derivation algorithm param to ncr_key_derive()Miloslav Trmač2010-08-242-2/+3
|
* Add remaining accessors for ncr_key_params_tMiloslav Trmač2010-08-242-0/+63
|
* Implement DH key paramsMiloslav Trmač2010-08-242-4/+9
| | | | | New function ncr_key_params_set_dh_pub(), replacing ncr_key_params_set_dh_key().
* Add ncr_key_get_algorithm()Miloslav Trmač2010-08-242-0/+11
|
* Add helper function ncr_key_get_infoMiloslav Trmač2010-08-241-36/+17
| | | | This avoids code duplication in the various ncr_key_get_* functions.
* Implement missing algorithm-specific keygen paramsMiloslav Trmač2010-08-243-7/+64
| | | | | | Rename ncr_key_generate_params_set_bits to ncr_key_generate_params_set_secret_bits in the process, an incompatible change.
* Allow empty id_sizeMiloslav Trmač2010-08-241-1/+1
| | | | The ids are not really used for anything so far
* Use EOVERFLOW if input data is too largeMiloslav Trmač2010-08-242-3/+9
|
* Support NCR_OP_VERIFY in *_once_*Miloslav Trmač2010-08-241-2/+22
|
* Support output data in NCRIO_SESSION_UPDATEMiloslav Trmač2010-08-243-8/+12
|
* Use NCR_KEY_INVALID for clarityMiloslav Trmač2010-08-241-1/+1
|
* Remove somewhat confusing castsMiloslav Trmač2010-08-241-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-241-2/+0
| | | | | That is an operation reserved for root, and should be done during system initialization.
* Fix and reenable unwrapping testMiloslav Trmač2010-08-241-2/+3
|
* Use the correct wrapping keyMiloslav Trmač2010-08-241-2/+2
| | | | ... as specified in the RFC3394 test vector in section 4.1.
* Remove an unused variableMiloslav Trmač2010-08-241-2/+0
|
* Don't prohibit NCR_ALG_NULL.Miloslav Trmač2010-08-241-1/+1
| | | | It's used in examples/speed.c for testing.
* Don't assume NCR_SESSION_INVALID is 0Miloslav Trmač2010-08-241-4/+4
|
* Don't assume NCR_KEY_INVALID is 0Jan Chadima2010-08-241-13/+13
|
* Use O_CLOEXEC for the internal file descriptorJan Chadima2010-08-241-1/+1
|
* Delete libcryptodev.so* on (make clean)Miloslav Trmač2010-08-241-1/+1
|
* Integrate examples/ncr_lib.cMiloslav Trmač2010-08-242-1/+7
|
* Add Jan's port of ncr.c to libcryptodev.Jan Chadima2010-08-241-0/+476
|
* Don't repeat the list of example programsMiloslav Trmač2010-08-241-1/+1
|
* Userspace library updates from JanJan Chadima2010-08-242-12/+13
|
* Add missing "return";Miloslav Trmač2010-08-241-0/+1
|
* Include the header file for close()Miloslav Trmač2010-08-241-0/+1
|
* Update prototype of ncr_key_generate_params_set_rsa_eMiloslav Trmač2010-08-241-1/+1
|
* Initial userspace library versionJan Chadima2010-08-249-142/+848
|
* Compare cryptodev to NCR on a fair basis.Nikos Mavrogiannopoulos2010-08-231-24/+24
|
* When calculating algorithm strength consider 3DES as 112 bit cipher.Nikos Mavrogiannopoulos2010-08-221-0/+5
|
* more textNikos Mavrogiannopoulos2010-08-211-1/+4
|
* Document that assymetric keys cannot wrap symmetric ones.Nikos Mavrogiannopoulos2010-08-211-0/+1
|
* Improvements in key wrapping. Allowed symmetric keys to wrap assymetric ones.Nikos Mavrogiannopoulos2010-08-215-24/+188
|
* key generation must be done interruptible.Nikos Mavrogiannopoulos2010-08-211-0/+1
|
* Fix in export of DH keys.Nikos Mavrogiannopoulos2010-08-211-1/+2
|
* Corrected bug in importing RSA private keys.Nikos Mavrogiannopoulos2010-08-211-1/+1
|
* export ncr_key_clear(). And disallow key derivation from wrapping keys.Nikos Mavrogiannopoulos2010-08-212-3/+11
|
* Prevent usage of wrapping keys for anything else except wrapping.Nikos Mavrogiannopoulos2010-08-211-0/+17
|
* Increased RSA size to 8192. Return error on wrong arguments.Nikos Mavrogiannopoulos2010-08-203-5/+5
|