| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix error paths in ncr_key_storage_wrap | Miloslav Trmač | 2010-07-19 | 1 | -1/+2 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Fix error paths in ncr_key_wrap | Miloslav Trmač | 2010-07-19 | 1 | -1/+2 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | On async request error report the request error | Miloslav Trmač | 2010-07-19 | 1 | -1/+1 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Avoid overflows when unwrapping from storage | Miloslav Trmač | 2010-07-19 | 1 | -1/+5 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Use the supplied pid even if creating a new record | Miloslav Trmač | 2010-07-19 | 1 | -1/+1 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Fix error paths in ncr_key_init | Miloslav Trmač | 2010-07-19 | 1 | -1/+6 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Simplify clonefd | Miloslav Trmač | 2010-07-19 | 1 | -2/+0 |
| | | | | | | | | get_unused_fd() already sets the right bit in open_fds, no need to do it again (compare e.g. sys_dup()). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Fix error paths in crypto_run | Miloslav Trmač | 2010-07-19 | 1 | -3/+3 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Remove a redundant variable assignment | Miloslav Trmač | 2010-07-19 | 1 | -2/+0 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Fix cryptodev_hash_deinit | Miloslav Trmač | 2010-07-19 | 1 | -1/+5 |
| | | | | | | This function may be called even if hdata was never initialized, so only free the crypto API data structures if they are not NULL. | ||||
| * | Fix error paths in cryptodev_hash_init | Miloslav Trmač | 2010-07-19 | 1 | -0/+1 |
| | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
| * | Fix cipher_data deinitialization. | Miloslav Trmač | 2010-07-19 | 1 | -4/+8 |
| | | | | | | | | | | Guard crypto API *free* with "if (ptr)"; it works without the guards, but that seems to be an implementation detail - at least in the case of crypto_ablkcipher. Free them in the opposite order of allocation, async.request points to async.result and async.s. | ||||
| * | Fix a race in ncr_data_set. | Miloslav Trmač | 2010-07-19 | 1 | -3/+6 |
| | | | | | | | | | | | | More than one thread could could pass the if (... > max_data_size) test, leading to multiple executions of "data->data_size += get.data_size", resulting in data->data_size > data->max_data_size. This is a minimal fix that ensures kernel data structure consistency, but the behavior won't look atomic from user space (two threads appending N and M bytes could result in N, M, or N+M more bytes). It relies on the assumption that reads and writes of size_t are atomic. | ||||
| * | Describe why there is no integer overflow. | Miloslav Trmač | 2010-07-19 | 1 | -0/+4 |
| | | |||||
| * | Fix error paths in ncr_data_init | Miloslav Trmač | 2010-07-19 | 1 | -6/+13 |
| | | |||||
| * | Fix error paths in ncr_limits_add_and_check | Miloslav Trmač | 2010-07-19 | 1 | -2/+17 |
| | | |||||
| * | Reduce stack usage. | Nikos Mavrogiannopoulos | 2010-07-14 | 1 | -1/+2 |
| | | |||||
| * | use mp_int* instead of void* | Nikos Mavrogiannopoulos | 2010-07-14 | 2 | -4/+4 |
| | | |||||
| * | Corrected RSA signature generation/verification. | Nikos Mavrogiannopoulos | 2010-07-14 | 6 | -48/+352 |
| | | | | | Added Test for RSA and DSA signature generation and verification. | ||||
| * | DSA private keys are exported to a format that is compatible with openssl ↵ | Nikos Mavrogiannopoulos | 2010-07-14 | 2 | -19/+24 |
| | | | | | and gnutls. | ||||
| * | OP_MAC was deprecated by OP_SIGN. | Nikos Mavrogiannopoulos | 2010-07-14 | 1 | -5/+5 |
| | | |||||
| * | Separated PK operations. | Nikos Mavrogiannopoulos | 2010-07-14 | 2 | -43/+49 |
| | | |||||
| * | Added signature generation and verification. | Nikos Mavrogiannopoulos | 2010-07-12 | 6 | -82/+439 |
| | | |||||
| * | Initial additions to have PK encryption/decryption. Separated operations | Nikos Mavrogiannopoulos | 2010-07-12 | 10 | -128/+343 |
| | | | | | | on keys to read/write to prevent overwriting a key while using it. Several other cleanups. | ||||
| * | Allow import and export of keys. | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -1/+1 |
| | | |||||
| * | Allow import and export of keys. | Nikos Mavrogiannopoulos | 2010-07-12 | 4 | -12/+60 |
| | | |||||
| * | Removed the public key params get/set functionality. This can be achieved ↵ | Nikos Mavrogiannopoulos | 2010-07-12 | 2 | -89/+0 |
| | | | | | with import/export functionality and DER decoding. | ||||
| * | Several fixes. RSA key generation tested and works. | Nikos Mavrogiannopoulos | 2010-07-07 | 9 | -61/+100 |
| | | |||||
| * | additions to compile on 32-bit machines. | Nikos Mavrogiannopoulos | 2010-07-07 | 1 | -2/+7 |
| | | |||||
| * | Added test program for key generation. | Nikos Mavrogiannopoulos | 2010-07-07 | 1 | -0/+345 |
| | | |||||
| * | Public and private keys are being generated in a new workqueue. Some other ↵ | Nikos Mavrogiannopoulos | 2010-07-07 | 11 | -57/+144 |
| | | | | | fixes and optimizations. | ||||
| * | Corrected permissions. | Nikos Mavrogiannopoulos | 2010-07-07 | 2 | -0/+0 |
| | | |||||
| * | Added ability to generate DSA and RSA keys and store them. | Nikos Mavrogiannopoulos | 2010-07-07 | 6 | -26/+309 |
| | | |||||
| * | Added a modified libtomcrypt with DSA and RSA algorithms. | Nikos Mavrogiannopoulos | 2010-07-07 | 66 | -6036/+586 |
| | | |||||
| * | set_iv() function accepts argument from kernel memory. | Nikos Mavrogiannopoulos | 2010-07-07 | 3 | -6/+11 |
| | | |||||
| * | Added libtomcrypt | Nikos Mavrogiannopoulos | 2010-07-06 | 112 | -3/+15187 |
| | | |||||
| * | exported _ncr_algo_to_str and _ncr_algo_digest_size | Nikos Mavrogiannopoulos | 2010-07-06 | 2 | -4/+7 |
| | | |||||
| * | Added libtommath for bignum operations. | Nikos Mavrogiannopoulos | 2010-07-05 | 124 | -2/+11044 |
| | | |||||
| * | compat: use compat_ptr() and ptr_to_compat() | Phil Sutter | 2010-06-22 | 1 | -13/+13 |
| | | |||||
| * | Version is shown on module load. | Nikos Mavrogiannopoulos | 2010-06-19 | 2 | -12/+14 |
| | | |||||
| * | Documented stuff about the newapi. | Nikos Mavrogiannopoulos | 2010-06-19 | 1 | -4/+15 |
| | | |||||
| * | Added missing makefile. | Nikos Mavrogiannopoulos | 2010-06-18 | 1 | -0/+9 |
| | | |||||
| * | Use compat_uptr_t to identify pointers in compat_ioctl structures.. | Nikos Mavrogiannopoulos | 2010-06-18 | 1 | -6/+7 |
| | | |||||
| * | Several fixes related to checks with copy_from/to_user. | Nikos Mavrogiannopoulos | 2010-06-17 | 4 | -5/+11 |
| | | |||||
| * | Added checking in copy_from_user and copy_to_user. | Nikos Mavrogiannopoulos | 2010-06-17 | 6 | -88/+221 |
| | | |||||
| * | Fixed warnings. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -2/+2 |
| | | |||||
| * | Fixed key storage wrapping. | Nikos Mavrogiannopoulos | 2010-06-17 | 3 | -32/+186 |
| | | |||||
| * | Be more strict when loading master key. | Nikos Mavrogiannopoulos | 2010-06-17 | 2 | -3/+26 |
| | | |||||
| * | Corrected hash algorithms initialization. Test vectors pass. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -4/+23 |
| | | |||||
| * | Use current_euid() and task_pid_nr(current) to get identifiers for owners ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 6 | -42/+107 |
| | | | | | (for imposed limits). | ||||
