Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port key wrapping tests to *_lib.c | Miloslav Trmač | 2010-08-24 | 2 | -2/+5 |
| | |||||
* | Add copyright notice to userspace/ncrypto.h | Miloslav Trmač | 2010-08-24 | 1 | -0/+28 |
| | |||||
* | Add Red Hat copyright notices to libcryptodev | Miloslav Trmač | 2010-08-24 | 7 | -0/+193 |
| | |||||
* | Avoid unnecessary internal relocations | Miloslav Trmač | 2010-08-24 | 6 | -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-24 | 1 | -0/+1 |
| | |||||
* | Allow overriding CFLAGS | Miloslav Trmač | 2010-08-24 | 1 | -3/+8 |
| | |||||
* | Abstract <linux/ncr.h> from <ncrypto.h> users | Miloslav Trmač | 2010-08-24 | 8 | -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-24 | 2 | -2/+3 |
| | |||||
* | Add remaining accessors for ncr_key_params_t | Miloslav Trmač | 2010-08-24 | 2 | -0/+63 |
| | |||||
* | Implement DH key params | Miloslav Trmač | 2010-08-24 | 2 | -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-24 | 2 | -0/+11 |
| | |||||
* | Add helper function ncr_key_get_info | Miloslav Trmač | 2010-08-24 | 1 | -36/+17 |
| | | | | This avoids code duplication in the various ncr_key_get_* functions. | ||||
* | Implement missing algorithm-specific keygen params | Miloslav Trmač | 2010-08-24 | 2 | -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_size | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | | | The ids are not really used for anything so far | ||||
* | Use EOVERFLOW if input data is too large | Miloslav Trmač | 2010-08-24 | 2 | -3/+9 |
| | |||||
* | Support NCR_OP_VERIFY in *_once_* | Miloslav Trmač | 2010-08-24 | 1 | -2/+22 |
| | |||||
* | Support output data in NCRIO_SESSION_UPDATE | Miloslav Trmač | 2010-08-24 | 2 | -6/+10 |
| | |||||
* | Don't prohibit NCR_ALG_NULL. | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | | | | It's used in examples/speed.c for testing. | ||||
* | Don't assume NCR_SESSION_INVALID is 0 | Miloslav Trmač | 2010-08-24 | 1 | -4/+4 |
| | |||||
* | Don't assume NCR_KEY_INVALID is 0 | Jan Chadima | 2010-08-24 | 1 | -13/+13 |
| | |||||
* | Use O_CLOEXEC for the internal file descriptor | Jan Chadima | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | Delete libcryptodev.so* on (make clean) | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | Userspace library updates from Jan | Jan Chadima | 2010-08-24 | 2 | -12/+13 |
| | |||||
* | Add missing "return"; | Miloslav Trmač | 2010-08-24 | 1 | -0/+1 |
| | |||||
* | Include the header file for close() | Miloslav Trmač | 2010-08-24 | 1 | -0/+1 |
| | |||||
* | Update prototype of ncr_key_generate_params_set_rsa_e | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | Initial userspace library version | Jan Chadima | 2010-08-24 | 8 | -142/+846 |
| | |||||
* | Use types from <linux/types.h> for public headers. | Miloslav Trmač | 2010-08-08 | 1 | -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 Mavrogiannopoulos | 2010-07-28 | 1 | -1/+3 |
| | |||||
* | Initial additions to have PK encryption/decryption. Separated operations | Nikos Mavrogiannopoulos | 2010-07-12 | 2 | -5/+13 |
| | | | | | on keys to read/write to prevent overwriting a key while using it. Several other cleanups. | ||||
* | Added missing makefile. | Nikos Mavrogiannopoulos | 2010-06-18 | 1 | -0/+9 |
| | |||||
* | Be more strict when loading master key. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -3/+19 |
| | |||||
* | Use current_euid() and task_pid_nr(current) to get identifiers for owners ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+63 |
| | | | | (for imposed limits). | ||||
* | Removed the userspace storage server. | Nikos Mavrogiannopoulos | 2010-06-17 | 4 | -501/+0 |
| | |||||
* | Some updates in the server approach (not working yet). | Nikos Mavrogiannopoulos | 2010-06-17 | 2 | -28/+57 |
| | |||||
* | Added some initial support for a userspace server to receive requests. | Nikos Mavrogiannopoulos | 2010-06-17 | 4 | -0/+472 |
| | |||||
* | Added ncr_key_import/export, generate and info. Those work with secret keys. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+8 |
| | | | | Added test program for those. | ||||
* | updates | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+133 |