summaryrefslogtreecommitdiffstats
path: root/userspace
Commit message (Collapse)AuthorAgeFilesLines
* Port key wrapping tests to *_lib.cMiloslav Trmač2010-08-242-2/+5
|
* 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-241-0/+1
|
* Allow overriding CFLAGSMiloslav Trmač2010-08-241-3/+8
|
* Abstract <linux/ncr.h> from <ncrypto.h> usersMiloslav Trmač2010-08-248-8/+16
| | | | | | | | | 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 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-242-5/+62
| | | | | | 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-242-6/+10
|
* 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
|
* 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-248-142/+846
|
* Use types from <linux/types.h> for public headers.Miloslav Trmač2010-08-081-0/+1
| | | | | | | | | | | | | 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.
* NCR_CIPHER_MAX_KEY_LEN no longer exist in userspace API.Nikos Mavrogiannopoulos2010-07-281-1/+3
|
* Initial additions to have PK encryption/decryption. Separated operationsNikos Mavrogiannopoulos2010-07-122-5/+13
| | | | | on keys to read/write to prevent overwriting a key while using it. Several other cleanups.
* Added missing makefile.Nikos Mavrogiannopoulos2010-06-181-0/+9
|
* Be more strict when loading master key.Nikos Mavrogiannopoulos2010-06-171-3/+19
|
* Use current_euid() and task_pid_nr(current) to get identifiers for owners ↵Nikos Mavrogiannopoulos2010-06-171-0/+63
| | | | (for imposed limits).
* Removed the userspace storage server.Nikos Mavrogiannopoulos2010-06-174-501/+0
|
* Some updates in the server approach (not working yet).Nikos Mavrogiannopoulos2010-06-172-28/+57
|
* Added some initial support for a userspace server to receive requests.Nikos Mavrogiannopoulos2010-06-174-0/+472
|
* Added ncr_key_import/export, generate and info. Those work with secret keys.Nikos Mavrogiannopoulos2010-06-171-0/+8
| | | | Added test program for those.
* updatesNikos Mavrogiannopoulos2010-06-171-0/+133