Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use <linux/uaccess.h> instead of <asm/uaccess.h> | Miloslav Trmač | 2010-08-07 | 1 | -1/+1 |
| | | | | Suggested by scripts/checkpatch.pl. | ||||
* | Use <linux/ioctl.h> instead of <asm/ioctl.h> | Miloslav Trmač | 2010-08-07 | 1 | -1/+1 |
| | | | | Suggested by scripts/checkpatch.pl. | ||||
* | More copyright fixes. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -0/+2 |
| | |||||
* | relicensed under GNU GPLv2. | Nikos Mavrogiannopoulos | 2010-07-27 | 1 | -8/+9 |
| | |||||
* | Added a support for reading session data directly from userspace. | Nikos Mavrogiannopoulos | 2010-07-24 | 1 | -4/+4 |
| | |||||
* | Fix error handling in cryptodev_hash_init | Miloslav Trmač | 2010-07-21 | 1 | -1/+3 |
| | |||||
* | hash_reset() was combined with hash_init() to avoid requiring two calls for ↵ | Nikos Mavrogiannopoulos | 2010-07-19 | 1 | -0/+7 |
| | | | | hash initialization. | ||||
* | Only set [ch]data->init = 1 on success. | Miloslav Trmač | 2010-07-19 | 1 | -5/+2 |
| | | | | | | Otherwise other members would be freed twice. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | sparse: Fix __user annotations | Miloslav Trmač | 2010-07-19 | 1 | -1/+1 |
| | | | | 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> | ||||
* | 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. | ||||
* | Added signature generation and verification. | Nikos Mavrogiannopoulos | 2010-07-12 | 1 | -6/+10 |
| | |||||
* | set_iv() function accepts argument from kernel memory. | Nikos Mavrogiannopoulos | 2010-07-07 | 1 | -2/+2 |
| | |||||
* | corrected decryption | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -1/+1 |
| | |||||
* | Added generic sessions to allow encryption/decryption hash and HMAC. | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -0/+32 |
| | | | | Removed the ncr-cipher.c. | ||||
* | Added initial wrapping and unwrapping key API. Adds an implementation of the ↵ | Nikos Mavrogiannopoulos | 2010-06-17 | 1 | -26/+4 |
| | | | | AES-WRAP (untested yet). | ||||
* | eliminate warnings about unused result of copy_*_user | Phil Sutter | 2010-06-17 | 1 | -4/+10 |
| | |||||
* | whitespace cleanup | Phil Sutter | 2010-06-16 | 1 | -13/+13 |
| | |||||
* | If alg->max_keysize==0, allow any key size. | Nikos Mavrogiannopoulos | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Use unlikely() on unlikely situations. | Nikos Mavrogiannopoulos | 2010-03-03 | 1 | -12/+12 |
| | |||||
* | cryptodev initialises its sg with sg_set_buf. Although I'm not | Michael Weiser | 2010-02-26 | 1 | -1/+5 |
| | | | | | | | | | sure, what the repercussions are, I changed it to sg_init_one with no ill effects. Added comment for wait_for_completion(). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||||
* | Corrected usage of wait_for_completion | Nikos Mavrogiannopoulos | 2010-02-20 | 1 | -5/+1 |
| | |||||
* | Use wait_for_completion instead of wait_for_completion_interruptible since | Nikos Mavrogiannopoulos | 2010-02-20 | 1 | -2/+1 |
| | | | | we cannot restart the system call so far. | ||||
* | Use only async API since it is a superset of the synchronous one. | Nikos Mavrogiannopoulos | 2010-02-20 | 1 | -256/+123 |
| | | | | Cleanup in structures. | ||||
* | Switched type with __user. | Nikos Mavrogiannopoulos | 2010-02-19 | 1 | -3/+3 |
| | |||||
* | Reintroduced dprintk() everywhere. | Nikos Mavrogiannopoulos | 2010-02-19 | 1 | -17/+23 |
| | |||||
* | Corrected bug in IV setting for ciphers. | Nikos Mavrogiannopoulos | 2010-02-19 | 1 | -5/+9 |
| | |||||
* | Added async hash support. | Nikos Mavrogiannopoulos | 2010-02-19 | 1 | -0/+426 |