aboutsummaryrefslogtreecommitdiffstats
path: root/features/cryptodev
AgeCommit message (Collapse)Author
2019-10-07meta: add SPDX License Identifier and updates 00-README with License policyYann CARDAILLAC
Signed-off-by: Yann CARDAILLAC <ycnakajsph@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2017-04-11kver: update -dev to v4.11-rc6+Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-11-07cryptodev: fix compile error when enable CONFIG_CRYPTODEVBruce Ashfield
1/2 [ Author: Liwei Song Email: liwei.song@windriver.com Subject: cryptodev: fix compile error when enable CONFIG_CRYPTODEV Date: Sun, 6 Nov 2016 21:52:43 -0500 Fix the following compile error: error: implicit declaration of function 'aead_request_set_assoc' error: implicit declaration of function 'crypto_alloc_ablkcipher' error: too many arguments to function ‘get_user_pages’ error: implicit declaration of function ‘page_cache_release’ error: implicit declaration of function ‘get_unused_fd’ This is due to the old function was used in cryptodev driver, as the kernel updated, the function in cryptodev was not touched. To fix this, use the new version of function instead of the old ones. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Paul Gortmaker Email: paul.gortmaker@windriver.com Subject: cryptodev: stomp dynamic version numbering for in tree builds Date: Sun, 6 Nov 2016 21:52:44 -0500 The temporary creation of a version header adds complications for builds where src != build (of which it doesn't use $(src) at all) and plus the dependencies on version.h were not working, leading to compile failures. For an in tree build, the version will be never changing, so just make a static version header and junk all the Makefile complexity that we don't need. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-11-06cryptodev: add Kbuild hooksBruce Ashfield
1/1 [ Author: Jianchuan Wang Email: jianchuan.wang@windriver.com Subject: cryptodev: add Kbuild hooks Date: Thu, 5 Nov 2015 10:21:58 +0800 Hook cryptodev-linux into the kernel build as a tristate option. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-29cryptodev: refresh for 3.19Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-10cryptodev: stomp dynamic version numbering for in tree buildsBruce Ashfield
1/1 [ Author: Paul Gortmaker Email: paul.gortmaker@windriver.com Subject: cryptodev: stomp dynamic version numbering for in tree builds Date: Sat, 27 Sep 2014 11:49:34 -0400 The temporary creation of a version header adds complications for builds where src != build (of which it doesn't use $(src) at all) and plus the dependencies on version.h were not working, leading to compile failures. For an in tree build, the version will be never changing, so just make a static version header and junk all the Makefile complexity that we don't need. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-10cryptodev: updating cryptodev kbuild patchBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-10Added files.Bruce Ashfield
1/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added files. Date: Sat, 28 Nov 2009 15:47:11 +0200 ] 2/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected example Date: Fri, 19 Feb 2010 17:18:56 +0100 ] 3/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: enable all tests Date: Sat, 28 Nov 2009 19:35:33 +0200 ] 4/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added CIOCCRYPTV that will encrypt/hash iovectors. Date: Sat, 28 Nov 2009 19:35:35 +0200 ] 5/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Only check that size is multiple of blocksize on ciphers. Date: Sun, 29 Nov 2009 01:04:10 +0200 ] 6/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: License is GPL Date: Fri, 4 Dec 2009 01:27:22 +0200 ] 7/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Added CIOCCRYPTV that will encrypt/hash iovectors.". This is a cryptodev release that intends to be fully compatible with OpenBSD and FreeBSD APIs. Date: Fri, 4 Dec 2009 01:34:03 +0200 This reverts commit 30181c1a49a63fddc97dd10dbac1b49568aede1f. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Conflicts: cryptodev.c ] 8/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Improved HMAC examples. Date: Fri, 4 Dec 2009 01:38:29 +0200 ] 9/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Better name for example1. Date: Fri, 4 Dec 2009 01:39:01 +0200 ] 10/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added README Date: Sat, 23 Jan 2010 09:04:08 +0100 ] 11/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added GPLv3 license files and text. Date: Sat, 23 Jan 2010 09:12:30 +0100 ] 12/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected copyright statements and other minir fixes. Date: Fri, 19 Feb 2010 15:15:49 +0100 ] 13/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added support for asynchronous block ciphers. Date: Fri, 19 Feb 2010 17:01:52 +0100 ] 14/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected example Date: Fri, 19 Feb 2010 17:18:56 +0100 ] 15/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added async hash support. Date: Fri, 19 Feb 2010 19:27:19 +0100 ] 16/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added .gitignore Date: Fri, 19 Feb 2010 19:28:46 +0100 ] 17/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected bug in IV setting for ciphers. Date: Fri, 19 Feb 2010 20:10:30 +0100 ] 18/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Applied Michael's patch for 3des. Date: Fri, 19 Feb 2010 23:38:44 +0100 ] 19/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Reintroduced dprintk() everywhere. Date: Fri, 19 Feb 2010 23:48:10 +0100 ] 20/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added short history. Date: Fri, 19 Feb 2010 23:56:20 +0100 ] 21/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Switched type with __user. Date: Fri, 19 Feb 2010 23:58:11 +0100 ] 22/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use only async API since it is a superset of the synchronous one. Cleanup in structures. Date: Sat, 20 Feb 2010 09:12:51 +0100 ] 23/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use wait_for_completion instead of wait_for_completion_interruptible since we cannot restart the system call so far. Date: Sat, 20 Feb 2010 09:14:00 +0100 ] 24/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added verification of few AES vectors. Date: Sat, 20 Feb 2010 09:27:50 +0100 ] 25/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected usage of wait_for_completion Date: Sat, 20 Feb 2010 10:45:48 +0100 ] 26/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added "make check" that will actually run the examples. Date: Sat, 20 Feb 2010 10:49:48 +0100 ] 27/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Examples were moved to examples/ directory. Date: Sat, 20 Feb 2010 10:54:35 +0100 ] 28/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added modified cryptodev.h to avoid copyright issues with no license from previous one (suggestion from savanah admins) Date: Fri, 26 Feb 2010 18:35:46 +0100 ] 29/292 [ Author: Michael Weiser Email: michael@weiser.dinsnail.net Subject: cryptodev initialises its sg with sg_set_buf. Although I'm not sure, what the repercussions are, I changed it to sg_init_one with no ill effects. Date: Fri, 26 Feb 2010 18:35:49 +0100 Added comment for wait_for_completion(). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 30/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: The kernel driver compiles and works fine. But cryptodev.h is now incompatible with openssl's cryptodev engine. Reported by Michael Weiser. Date: Tue, 2 Mar 2010 21:19:35 +0100 ] 31/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Finally rewritten to avoid copyright issues. Date: Wed, 3 Mar 2010 15:59:15 +0100 ] 32/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use unlikely() on unlikely situations. Date: Wed, 3 Mar 2010 16:03:39 +0100 ] 33/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected make clean, and corrected examples to use the current cryptodev.h definitions. Date: Wed, 17 Mar 2010 13:31:59 +0100 ] 34/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added openssl patch. Date: Wed, 17 Mar 2010 13:47:48 +0100 ] 35/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Removed old time linux-cryptodev compatibility stuff. They are no longer needed and we now use the common with other systems crypto/cryptodev.h. Reported by M. Braun. Date: Wed, 17 Mar 2010 17:56:47 +0100 ] 36/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added maintainer and minor fix. Date: Wed, 17 Mar 2010 18:04:57 +0100 ] 37/292 [ Author: Michael Weiser Email: michael@esgaroth.weiser.dinsnail.net Subject: Added patch that makes AES192 and 256 known to the openssl cryptodev engine. Date: Wed, 17 Mar 2010 20:22:47 +0100 ] 38/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Renamed patch name from cryptodev -> cryptodev-linux. Date: Thu, 18 Mar 2010 17:13:04 +0100 ] 39/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated for releases and scripts. Date: Mon, 12 Apr 2010 20:51:06 +0200 ] 40/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected handling of error conditions (properly release memory). Date: Wed, 26 May 2010 10:16:47 +0200 ] 41/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: If alg->max_keysize==0, allow any key size. Date: Tue, 15 Jun 2010 16:47:39 +0200 ] 42/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add compat_ioctl code Date: Tue, 15 Jun 2010 18:17:50 +0200 ] 43/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: whitespace cleanup Date: Tue, 15 Jun 2010 18:24:16 +0200 ] 44/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected typos. Date: Wed, 16 Jun 2010 19:38:24 +0200 ] 45/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: *_to_compat, compat_to_*: fix different size pointer casting Date: Thu, 17 Jun 2010 11:40:07 +0200 In order to warning-free convert a 32bit integer into a 64bit pointer, casting in two steps is needed: first to adjust the variable size to 64bit, then to actually convert the integer into a pointer. The other direction is easier: after converting the pointer to an integer, assignment to a smaller variable can be done without warning. ] 46/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: crypto_op_to_*: fix typo into the correct direction Date: Thu, 17 Jun 2010 11:46:00 +0200 As these functions only exist to convert from one data structure into the other, their names should stick to the structure names for clarity. ] 47/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: ioctl_compat: hide code from user, enable conditionally Date: Thu, 17 Jun 2010 14:45:17 +0200 ] 48/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: eliminate warnings about unused result of copy_*_user Date: Thu, 17 Jun 2010 15:00:30 +0200 ] 49/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Avoid the use of packed attribute by directly assigning variables. Date: Thu, 17 Jun 2010 20:41:18 +0200 ] 50/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Some updates in copy_from_user. Date: Thu, 17 Jun 2010 21:15:04 +0200 ] 51/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use compat_uptr_t to identify pointers in compat_ioctl structures.. Date: Fri, 18 Jun 2010 18:32:01 +0200 ] 52/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Prepare for a new release. Date: Fri, 18 Jun 2010 18:41:04 +0200 ] 53/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Made new release Date: Fri, 18 Jun 2010 23:48:33 +0200 ] 54/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Version is shown on module load. Date: Sat, 19 Jun 2010 11:12:35 +0200 ] 55/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Released 0.3 Date: Sat, 19 Jun 2010 11:22:37 +0200 ] 56/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: compat: use compat_ptr() and ptr_to_compat() Date: Mon, 21 Jun 2010 15:22:25 +0200 ] 57/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: implement zero-copy Date: Thu, 17 Jun 2010 18:28:06 +0200 ] 58/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow run-time selection of zero-copy or not Date: Tue, 22 Jun 2010 12:34:35 +0200 ] 59/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow using the null cipher Date: Tue, 22 Jun 2010 10:51:49 +0200 ] 60/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add cryptodev_test.c, my little benchmark tool Date: Tue, 22 Jun 2010 20:27:04 +0200 ] 61/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Reduced tests performed by starting tests from 256bytes Date: Wed, 23 Jun 2010 00:18:27 +0200 ] 62/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cryptodev_test renamed to speed. Date: Wed, 23 Jun 2010 00:19:08 +0200 ] 63/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: ignore examples/speed. Date: Wed, 23 Jun 2010 00:19:40 +0200 ] 64/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added credits for zero copy Date: Wed, 23 Jun 2010 08:41:30 +0200 ] 65/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 66/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Zero-copy operations are now the default behavior. Date: Sat, 3 Jul 2010 15:20:51 +0200 ] 67/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released Date: Sat, 3 Jul 2010 15:22:02 +0200 ] 68/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed ZCOPY flag. It was not used. Date: Sat, 3 Jul 2010 15:30:57 +0200 ] 69/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Benchmark now tests both NULL and AES ciphers. Tests are being done in fixed time to have rational waiting time in slow engines. Date: Sun, 4 Jul 2010 10:46:37 +0200 ] 70/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: More files to ignore. Date: Sun, 4 Jul 2010 10:47:51 +0200 ] 71/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Internal functions no longer work with __user buffers. Date: Tue, 6 Jul 2010 13:24:09 +0200 ] 72/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Fallback to non zero copy if get_user_pages fails. Date: Tue, 6 Jul 2010 13:31:02 +0200 ] 73/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Some more checks. Date: Tue, 6 Jul 2010 14:02:13 +0200 ] 74/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Reduce the test limits. Date: Tue, 6 Jul 2010 16:23:34 +0200 ] 75/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected issue in assigning other pages than the first. Date: Tue, 6 Jul 2010 16:23:58 +0200 ] 76/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 77/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: release src pages on error Date: Mon, 12 Jul 2010 00:18:56 +0200 When the second call to __get_userbuf fails, the already reserved user pages for data input need to be released first before bailing out. ] 78/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: make get_userbuf error messages distinguishable Date: Mon, 12 Jul 2010 00:22:40 +0200 ] 79/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: allow reserving pages read-only Date: Mon, 12 Jul 2010 00:37:36 +0200 This actually fixes examples/hmac.c, as it's src data is read-only which makes get_user_pages fail when trying to reserve writable pages. ] 80/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: useless whitespace cleanup Date: Mon, 12 Jul 2010 00:56:28 +0200 ] 81/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: zero-copy: protect against null-pointer passing Date: Mon, 12 Jul 2010 23:58:45 +0200 ] 82/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Documented fix. Date: Tue, 13 Jul 2010 18:22:47 +0200 ] 83/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added AES in CTR mode. Date: Sat, 24 Jul 2010 18:56:53 +0200 ] 84/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Relicensed under GPLv2. Date: Tue, 27 Jul 2010 10:15:06 +0200 ] 85/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: backported changes from newapi branch Date: Tue, 7 Sep 2010 09:19:07 +0300 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 86/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: checkpatch errors and warnings fixed Date: Tue, 7 Sep 2010 09:19:08 +0300 Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 87/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: semaphore replaced by mutex upon checkpatch warning Date: Tue, 7 Sep 2010 09:19:09 +0300 Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 88/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: multi-update support for hash calculation Date: Tue, 7 Sep 2010 10:02:46 +0300 While calculating a hash over large amount of data it is necessary to call update() function multiple times. Old implementation always reset the hash upon calling crypto operation. This patch introduces the flag which allows to disable hash initialization upon every call to crypto API. Also it allows to retrieve final hash by requesting using 0 length. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 89/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 0.6. Date: Thu, 16 Sep 2010 08:57:32 +0200 ] 90/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: avoid remake for version.h Date: Sat, 2 Oct 2010 14:19:32 +0200 ] 91/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: DISABLE_ZCOPY definition removed. Date: Sat, 2 Oct 2010 14:33:20 +0200 ] 92/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added CRIOGET_NOT_NEEDED definition to allow applications detecting when it is not required. Date: Sat, 2 Oct 2010 14:37:53 +0200 ] 93/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added flag COP_FLAG_FINAL Date: Sat, 2 Oct 2010 23:15:05 +0200 ] 94/292 [ Author: Dmitry Kasatkin Email: dmitry.kasatkin@nokia.com Subject: use of _FINAL flag when calling _final() Date: Mon, 4 Oct 2010 12:27:53 +0300 Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 95/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version to 0.7 Date: Fri, 8 Oct 2010 00:22:01 +0200 ] 96/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected version Date: Fri, 8 Oct 2010 00:27:34 +0200 ] 97/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: introduce struct kernel_crypt_op Date: Thu, 21 Oct 2010 18:26:02 +0200 This struct is meant as an internal wrapper around struct crypt_op, so additional information can be passed around within the kernel module without giving userspace access to it. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 98/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: keep a copy of the IV and size in struct kernel_crypt_op Date: Thu, 21 Oct 2010 18:26:03 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 99/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: store the hash output inside struct kernel_crypt_op Date: Thu, 21 Oct 2010 18:26:04 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 100/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add some unlikely() hints to get_userbuf() Date: Thu, 21 Oct 2010 18:26:05 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 101/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: implement asynchronous operation mode Date: Thu, 21 Oct 2010 18:26:06 +0200 In order to submit a job for asynchronous completion, one uses the ioctl CIOCASYNCCRYPT, which is syntactically equal to CIOCCRYPT. But, the former will return immediately, the result has to be fetched later using CIOCASYNCFETCH (which will always return the first completed job, asking for a specific one is not possible). These ioctls can return -EBUSY in case there are either no free slots left for enqueueing a new job or there are no completed jobs waiting, depending on the ioctl's direction. For now, the number of slots (i.e. maximum length of the job queue) is limited to 16 items, defined in DEF_COP_RINGSIZE. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 102/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: increase the number of slots for asynchronous completion dynamically Date: Thu, 21 Oct 2010 18:26:07 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 103/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: implement the poll() file operation Date: Thu, 21 Oct 2010 18:26:08 +0200 Since there is an asynchronous operation mode, poll() is useful to find out whether data can be written out or read in. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 104/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add async versions of the code samples Date: Thu, 21 Oct 2010 18:26:09 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 105/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed warnings on zero copy. Date: Sun, 24 Oct 2010 13:41:26 +0200 ] 106/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cryptodev_cipher_set_iv() made inline. Date: Sun, 24 Oct 2010 13:49:45 +0200 ] 107/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: kcop->digestsize and copy_to_user for mac result only occurs if MAC finalization operation has been performed. Date: Sun, 24 Oct 2010 13:50:19 +0200 ] 108/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: increased version nr. Date: Sun, 24 Oct 2010 13:51:36 +0200 ] 109/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: add support for CRYPTO_AES_ECB Date: Thu, 4 Nov 2010 17:31:12 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 110/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: async_speed: no need to allocate more than 64 buffers Date: Thu, 4 Nov 2010 17:31:13 +0100 The number of outstanding jobs is limited by the cryptodev ring size, which may raise to 64 entries at max. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 111/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: make cryptodev aware of alignment constraints Date: Thu, 4 Nov 2010 17:31:14 +0100 Certain hardware crypto engines need input data to be correctly aligned. Due to copyless operation, data alignment has to be done in userspace. To assist in that, find out the smallest possible alignment boundary upon session creation, depending on the actual cipher/hash mode(s) being selected (and the automatically chosen crypto backend, of course). Since now the information is present internally, check directly used (zero-copy) userspace buffers for correct alignment. Handling of temporary, internal buffers is unclear for now. Maybe one should align them to a high value (e.g. 64 bytes) to be sure. Allocating everything dynamically instead is probably not a good alternative. The only buffers userspace applications have to align are the 'src' and 'dst' fields of struct crypt_op. All other userspace buffers are copied internally, since their small size doesn't justify the overhead of mapping userspace pages for them. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 112/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: do not break long strings using backslash Date: Thu, 4 Nov 2010 17:31:15 +0100 Using a backslash at EOL and not closing the string quotes leads to inclusion of the next line's leading tab characters in the string. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 113/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: examples: align cipher and plaintext in the tests Date: Thu, 4 Nov 2010 17:31:16 +0100 For now, only cipher tests were changed. Maybe the same applies to hashes (not so much because of performance, but certain engines may crash on unaligned data). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 114/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: examples/*cipher: print buffers on mismatch Date: Thu, 4 Nov 2010 17:31:17 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 115/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 0.8 Date: Sat, 6 Nov 2010 12:25:07 +0100 ] 116/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: since COP_FLAG_* are bits, we can OR them together for checks Date: Mon, 13 Dec 2010 17:55:51 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 117/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: crypto_run: cop->len is likely not zero Date: Mon, 13 Dec 2010 17:55:52 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 118/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: minor whitespace cleanup Date: Mon, 13 Dec 2010 17:55:53 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 119/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: speed, async_speed: fix measurement and units Date: Fri, 17 Dec 2010 19:04:20 +0100 Since measurement is done in bytes, use a capital B as unit. Also, stepping by 1024 from one magnitude to the next is more common. This is indicated by the 'i' in between the magnitude and unit symbols. ] 120/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Allow support for SI and the ad-hoc 1024 system in value2human using the --kib option. Date: Sun, 19 Dec 2010 05:15:44 +0100 ] 121/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: CIOCGSESSINFO: retrieve information about a session Date: Fri, 17 Dec 2010 18:52:32 +0100 For now, the only information returned are the verbose names of the requested cipher and hash algos along with their driver names. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 122/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: cipher, hmac: retrieve and print info for each session Date: Fri, 17 Dec 2010 18:52:33 +0100 In order to stay compatible with the original BSD interface, one can check for existence of the CIOCGSESSINFO define, like done here. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 123/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Made speed SI system configurable. Date: Mon, 20 Dec 2010 18:29:00 +0100 ] 124/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: fix for kernel crash on passing incorrect session ID Date: Mon, 3 Jan 2011 17:37:56 +0100 Since the variable ses_ptr is used as iterator in the loop, unsuccessful lookups will always return the last element in the list. (Or something undefined, making the kernel crash when the list is empty.) Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 125/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: fix description of struct crypt_op's flags field Date: Mon, 3 Jan 2011 17:37:57 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 126/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: export the alignmask but stay compatible to OCF Date: Mon, 17 Jan 2011 18:29:37 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 127/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow updating the IV in userspace Date: Tue, 18 Jan 2011 13:18:29 +0100 When the user has specified COP_FLAG_WRITE_IV in crypt_op.flags, the updated IV will be written back to userspace. This is useful for encryption of continuous data in several steps, without having to care for each cipher's inerna. Protecting this functionality by a flag allows for backwards compatibility as well as using a read-only (i.e. const) buffer holding the IV. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 128/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: enable CIOCGSESSINFO for compat-calls, too Date: Tue, 18 Jan 2011 18:33:29 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 129/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: alignment checks: prevent spurious warnings when ses->alignmask == 0 Date: Tue, 18 Jan 2011 18:33:30 +0100 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 130/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: examples: add some additional speed testing tools Date: Tue, 18 Jan 2011 18:33:31 +0100 - sha_speed does performance testing of SHA1 and SHA256 - hashcrypt_speed additionally encrypts with AES128 and AES256 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 131/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated news since 0.8 Date: Sun, 23 Jan 2011 10:39:29 +0100 ] 132/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: minor updates for release Date: Fri, 11 Feb 2011 08:53:10 +0100 ] 133/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cryptodev.h moved to crypto/ Date: Sat, 26 Mar 2011 09:48:44 +0100 ] 134/292 [ Author: Vladimir Zapolskiy Email: vzapolskiy@gmail.com Subject: examples: do not use relative path for cryptodev.h Date: Fri, 25 Mar 2011 01:07:08 +0200 Having absolute path for cryptodev.h allows to compile cryptodev examples out of source tree. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com> ] 135/292 [ Author: Vladimir Zapolskiy Email: vzapolskiy@gmail.com Subject: examples: use alignmask from session info Date: Fri, 25 Mar 2011 01:07:09 +0200 This change adds setting up of alignment mask for buffers according to the value, which is obtained from the kernel algorithm definition. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com> ] 136/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use crypto/cryptodev.h while compiling sources. Date: Sat, 26 Mar 2011 10:00:47 +0100 ] 137/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: rationalized test cases in sha_speed. Date: Sat, 26 Mar 2011 10:05:59 +0100 ] 138/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Corrected the hashcrypt_speed example. It properly operates on 32 and 64 bit systems. Date: Sat, 26 Mar 2011 10:14:46 +0100 ] 139/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version Date: Sat, 4 Aug 2012 21:18:16 +0200 ] 140/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated NEWS for 1.0 Date: Tue, 12 Apr 2011 20:36:34 +0200 ] 141/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Define HASH_MAX_LEN. Date: Sun, 31 Jul 2011 03:04:14 +0200 ] 142/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: fixed alignment issue Date: Mon, 22 Aug 2011 10:49:23 +0200 ] 143/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added speed check program to test the full operation speed (init, encrypt, deinit). Date: Mon, 22 Aug 2011 12:42:50 +0200 ] 144/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 145/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added flag to prevent zero copy. Date: Sat, 19 Nov 2011 10:40:19 +0100 ] 146/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added CIOCAUTHCRYPT ioctl() that allows encrypting TLS records. Date: Wed, 23 Nov 2011 20:35:33 +0100 ] 147/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Allow to encrypt SRTP records. Date: Wed, 23 Nov 2011 23:35:42 +0100 ] 148/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected bug when having additional data in TLS. Date: Wed, 23 Nov 2011 23:47:11 +0100 ] 149/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected scatterlist allocation. Date: Thu, 24 Nov 2011 19:09:25 +0100 ] 150/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added unit tests for SRTP and TLS records. Date: Thu, 24 Nov 2011 20:44:03 +0100 ] 151/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: reorganization of source to simplify reading. Removed stats module option. Date: Thu, 1 Dec 2011 09:45:33 +0100 ] 152/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Preliminary code for AES-GCM. Date: Thu, 1 Dec 2011 10:49:00 +0100 ] 153/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: zero copy functions separated from rest. Date: Thu, 1 Dec 2011 21:22:13 +0100 ] 154/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: AES-GCM support is at a working state. Test vectors pass. Date: Sat, 3 Dec 2011 19:19:44 +0100 ] 155/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented new mode Date: Sat, 3 Dec 2011 19:22:04 +0100 ] 156/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: make srtp test. Date: Sat, 3 Dec 2011 19:25:34 +0100 ] 157/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: TLS mode flag is being ignored for AEAD ciphers. Date: Sat, 3 Dec 2011 19:54:18 +0100 ] 158/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added real usage examples, and moved test code to tests/ Date: Sun, 4 Dec 2011 12:47:13 +0100 ] 159/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: When inplace encryption is required then enforce it rather than doing a low-performance emulation. Date: Sun, 4 Dec 2011 12:53:18 +0100 ] 160/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: sha.c includes correct header. Date: Sun, 4 Dec 2011 13:00:18 +0100 ] 161/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: sanity checks moved to __crypto_auth_run_zc(). Date: Sun, 4 Dec 2011 13:10:32 +0100 ] 162/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added initial code to compare cost in-kernel and in userspace encryption. Date: Sun, 4 Dec 2011 17:36:24 +0100 ] 163/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed binary Date: Sun, 4 Dec 2011 17:36:47 +0100 ] 164/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: removed debugging Date: Sun, 4 Dec 2011 17:38:04 +0100 ] 165/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added example of AES-GCM usage. Date: Tue, 6 Dec 2011 10:40:37 +0100 ] 166/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added a TLS example. Date: Tue, 6 Dec 2011 10:52:48 +0100 ] 167/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: generate libthreshold.a to find out a threshold after which kernel based operation is optimal. Date: Sun, 11 Dec 2011 12:03:43 +0100 ] 168/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added SIOP_FLAG_KERNEL_DRIVER_ONLY to correspond to CRYPTO_ALG_KERN_DRIVER_ONLY if it is defined. Date: Sun, 11 Dec 2011 13:44:22 +0100 ] 169/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cleanups Date: Sun, 11 Dec 2011 14:13:17 +0100 ] 170/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected make clean and make check Date: Mon, 12 Dec 2011 19:20:48 +0100 ] 171/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: No need to check for CIOCGSESSINFO in tests. Date: Fri, 16 Dec 2011 04:35:36 +0100 ] 172/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated copyright information Date: Fri, 6 Jan 2012 22:39:37 +0100 ] 173/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version Date: Sat, 4 Aug 2012 21:18:16 +0200 ] 174/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 175/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated release Date: Mon, 20 Feb 2012 09:03:31 +0100 ] 176/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 177/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: If kernel doesn't support CRYPTO_ALG_KERN_DRIVER_ONLY then always set the flag SIOP_FLAG_KERNEL_DRIVER_ONLY. Date: Mon, 20 Feb 2012 19:16:47 +0100 ] 178/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 179/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: camelia was renamed to camellia Date: Tue, 21 Feb 2012 00:37:05 +0100 ] 180/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added COP_FLAG_RESET Date: Tue, 21 Feb 2012 18:53:11 +0100 ] 181/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added hack for mv_cesa driver that requires a delay after completion. Date: Wed, 22 Feb 2012 23:32:25 +0100 ] 182/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Added hack for mv_cesa driver that requires a delay after completion." Date: Thu, 23 Feb 2012 17:14:36 +0100 This reverts commit b756e5aceb89d45f98f314374fc5e914acae79de. ] 183/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: artistic changes. Date: Thu, 23 Feb 2012 19:02:09 +0100 ] 184/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Adapted Phil Sutter's ARM fix in new codebase. Date: Thu, 23 Feb 2012 23:44:17 +0100 ] 185/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: If kernel doesn't indicate the accelerated ciphers base the decision on known chips. Date: Fri, 24 Feb 2012 16:50:53 +0100 ] 186/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: more files to ignore Date: Fri, 24 Feb 2012 16:53:17 +0100 ] 187/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 1.2 Date: Fri, 24 Feb 2012 16:53:55 +0100 ] 188/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented updates Date: Thu, 29 Nov 2012 11:42:41 +0100 ] 189/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected typo Date: Fri, 24 Feb 2012 23:00:25 +0100 ] 190/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: cleanup Date: Fri, 24 Feb 2012 23:09:05 +0100 ] 191/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: return EBADMSG instead of ECANCELED on tag verification failure. Date: Fri, 24 Feb 2012 23:09:34 +0100 ] 192/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added patch to make openssl digests operational. Date: Sat, 25 Feb 2012 00:48:25 +0100 ] 193/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: FLAG_RESET can be combined with UPDATE Date: Sun, 26 Feb 2012 14:50:05 +0100 ] 194/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented update Date: Sun, 26 Feb 2012 21:22:09 +0100 ] 195/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: set by default public permissions for the device Date: Tue, 28 Feb 2012 16:08:38 +0100 ] 196/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: tests: add cryptodev simulating openssl wrapper Date: Tue, 28 Feb 2012 18:27:42 +0100 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 197/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: tests: add three compare tools using openssl_wrapper Date: Tue, 28 Feb 2012 18:27:43 +0100 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 198/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Tests were made silent Date: Tue, 28 Feb 2012 22:37:17 +0100 ] 199/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped versions Date: Wed, 29 Feb 2012 23:23:02 +0100 ] 200/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented openssl and gnutls /dev/crypto support. Date: Wed, 29 Feb 2012 23:28:19 +0100 ] 201/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: corrected mv cesa check. Date: Wed, 7 Mar 2012 22:36:12 +0100 ] 202/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 1.4 Date: Thu, 15 Mar 2012 19:55:44 +0100 ] 203/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added eng_cryptodev.c. Date: Fri, 23 Mar 2012 00:13:45 +0100 ] 204/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 205/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Bug fixes by Jaren Johnston. Date: Thu, 17 May 2012 13:54:00 +0200 ] 206/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: renamed readable_pages to readonly_pages Date: Fri, 15 Jun 2012 08:35:56 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 207/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: unsigned some ints Date: Fri, 15 Jun 2012 08:36:54 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 208/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: null ptr check & resource release fix Date: Fri, 15 Jun 2012 08:37:22 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 209/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: properly init sg in empty case Date: Fri, 15 Jun 2012 08:37:53 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 210/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: handle null IO buffers gracefully Date: Fri, 15 Jun 2012 08:42:46 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 211/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: added newline to dprintk Date: Fri, 15 Jun 2012 08:43:14 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 212/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: User pages deallocation fix. Date: Fri, 15 Jun 2012 08:43:46 +0200 Previously, would attempt to release user pages even if they failed to allocate. Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 213/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: Fix PAGECOUNT when buf == buflen == 0 Date: Fri, 15 Jun 2012 08:44:43 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nikos@esat.kuleuven.be> ] 214/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: Removed the guards against empty PT and empty AAD. It's an edge case that -- while it may not be too useful in practice -- is tested against during crypto validation. Date: Fri, 15 Jun 2012 15:45:28 +0200 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 215/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented updates Date: Thu, 29 Nov 2012 11:42:41 +0100 ] 216/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: added previous page count to log. minor formatting. Date: Fri, 15 Jun 2012 10:09:51 -0700 Change-Id: Ie234fef01ce795f207f6b3f3345255717a545ce2 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 217/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: removed redundant __func__s from dprintk statements. Date: Fri, 15 Jun 2012 11:16:50 -0700 dprink already includes __func__ in its definition. Change-Id: If98ce72617f1bb54ba0880075c69a3b9d3186007 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 218/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: set null auth on decr too. Date: Thu, 28 Jun 2012 14:45:40 -0700 Encr had code to especially set null auth data if there was none. Turns out to be important for decr too. Moved the special empty-auth setting out of auth_n_crypt and into cryptodev_cipher_auth. Change-Id: I32206eb5755782f6f9adebd68590f59fb35613d5 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 219/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: whitespace and indenting cleanup Date: Mon, 16 Jul 2012 15:10:10 +0200 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 220/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: zc.c: simplify code a bit by exiting early Date: Mon, 16 Jul 2012 15:10:11 +0200 Also, hiding expressions in one-liners is not worth the lines saved. Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 221/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: no need to hold mm->mmap_sem in write lock Date: Mon, 16 Jul 2012 15:10:12 +0200 As other examples show, read lock suffices although pages are being written later on. Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 222/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: cryptlib: simplify cryptodev_cipher_auth() Date: Mon, 16 Jul 2012 15:10:13 +0200 Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> ] 223/292 [ Author: Jaren Johnston Email: jaren.johnston Subject: fix sizing of decrypt's output buffer Date: Fri, 27 Jul 2012 10:35:15 -0700 Output buffer doesn't hold tag on decrypt, so no need to account for it in the sizing. Change-Id: I1a464c8f7e9e702dbc0446c38831c87a9d4a9a70 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 224/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: bumped version Date: Sat, 4 Aug 2012 21:18:16 +0200 ] 225/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: eng_cryptodev.c was modified in an openssl 0.9.8 friendly way. Date: Wed, 21 Nov 2012 22:39:41 +0100 ] 226/292 [ Author: Yashpal Dutta Email: yashpal.dutta@freescale.com Subject: Updated the install target for cryptodev module Date: Wed, 28 Nov 2012 16:24:51 +0545 1) Cryptodev-linux being a linux kernel module require a build target for module_install and not for install. 2) Some cross-compiler target need installation of module to different directory than host's module directory path. PREFIX allow to override default module installation path. Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> ] 227/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: install target is alias for modules_install Date: Thu, 29 Nov 2012 11:38:08 +0100 ] 228/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: documented updates Date: Thu, 29 Nov 2012 11:42:41 +0100 ] 229/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Use the COP_FLAG_UPDATE/FINAL flags. Patch by Glenn Schmottlach. Date: Mon, 14 Jan 2013 22:07:44 +0100 ] 230/292 [ Author: Nikos Mavrogiannopoulos Email: nikos@esat.kuleuven.be Subject: Simplified previous patch. Date: Tue, 15 Jan 2013 11:43:43 +0100 ] 231/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 232/292 [ Author: Yashpal Dutta Email: yashpal.dutta@freescale.com Subject: Added support SHA224 Date: Fri, 25 Jan 2013 04:40:02 +0545 Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> ] 233/292 [ Author: Yashpal Dutta Email: yashpal.dutta@freescale.com Subject: Fixes in DH Engine Interface Date: Fri, 25 Jan 2013 04:07:20 +0545 1) The keylen in cryptodev_dh_compute_key is already in bits. So, avoid multiplying it with 8 while passing it to cryptodev. 2) cryptodev_dh_compute_key must return size of secret generated as expected by openssl. Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> ] 234/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: doc update Date: Thu, 5 Dec 2013 21:41:55 +0100 ] 235/292 [ Author: Nikos Mavrogiannopoulos Email: nikos@esat.kuleuven.be Subject: updated URL Date: Thu, 31 Jan 2013 10:14:00 +0100 ] 236/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Asynchronous operations will not be scheduled if zero copy is disabled. Date: Sat, 23 Feb 2013 10:06:08 +0100 ] 237/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Simplified previous patch." Date: Sat, 2 Mar 2013 13:07:17 +0100 This reverts commit 582adb9d9e5193206e3a3a9a244c0d2b7ac4b2a0. ] 238/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Revert "Use the COP_FLAG_UPDATE/FINAL flags. Patch by Glenn Schmottlach." Date: Sat, 2 Mar 2013 13:07:26 +0100 This reverts commit 9d1ef57a8c9206fcedf4f0def2260d10436d43a2. ] 239/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated Date: Sat, 2 Mar 2013 13:07:59 +0100 ] 240/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: async operations are conditionally enabled. Date: Mon, 4 Mar 2013 04:56:42 +0100 ] 241/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: released 1.6 Date: Wed, 20 Mar 2013 21:50:41 +0100 ] 242/292 [ Author: Nikos Mavrogiannopoulos Email: nikos@esat.kuleuven.be Subject: text update Date: Tue, 9 Apr 2013 15:16:08 +0200 ] 243/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Added install file Date: Sat, 20 Apr 2013 19:59:24 +0300 ] 244/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added testing after installation. Date: Sat, 20 Apr 2013 20:28:51 +0300 ] 245/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: added systemd option Date: Tue, 23 Apr 2013 15:29:26 +0300 ] 246/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: updated install instructions Date: Tue, 23 Apr 2013 16:54:12 +0300 ] 247/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: made instructions symmetric Date: Tue, 7 May 2013 02:22:44 +0300 ] 248/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: Allow user override for kernel and installation directory Date: Thu, 27 Jun 2013 16:42:21 +0300 This is useful for cross-building for embedded systems Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 249/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix comment typo Date: Mon, 1 Jul 2013 16:41:50 +0300 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 250/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Add cryptodev_verbosity to the sysctl table. Date: Tue, 13 Aug 2013 17:47:24 +0300 The attached patch contains the required modifications in order to get and set the cryptodev_verbosity variable using the following commands root@OCSME:~# sysctl ioctl.cryptodev_verbosity ioctl.cryptodev_verbosity = 0 root@OCSME:~# sysctl ioctl.cryptodev_verbosity=3 ioctl.cryptodev_verbosity = 3 Patch by Nikolaos Tsakalakis (nikolaos.tsakalakis@gmail.com). ] 251/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix incorrect debug message about hmac key length Date: Wed, 18 Sep 2013 14:09:02 +0300 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 252/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: remove redundant struct initialization Date: Tue, 22 Oct 2013 12:51:33 +0300 struct cipher_data *out (sess_new->cdata) is already initiallized to zero as 'ses_new = kzalloc(...)' in the caller function crypto_create_session Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 253/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: initialize struct memory to zero in a single call Date: Tue, 22 Oct 2013 12:51:34 +0300 kmalloc + memset(0) can be replaced with a single call to kzalloc for the same results Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 254/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix test condition to allow non-stream, aead ciphers Date: Thu, 31 Oct 2013 11:56:58 +0200 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 255/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: set file private data to zero during allocation Date: Wed, 27 Nov 2013 18:44:14 +0200 The net result is the same and it makes more clear some problems with freeing this memory (addressed in a later patch) Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 256/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix memleak avalanche when system is low on memory Date: Wed, 27 Nov 2013 18:44:15 +0200 If one of kzalloc(todo_list_item) fail, filp->private_data remains garbage and cryptodev_release will fail during free. To fix that, filp->private_data is set early so that at release, there will be knowledge about allocated memory. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 257/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix typo in test condition for error exits Date: Wed, 27 Nov 2013 18:44:16 +0200 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 258/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: destroy mutexes in reverse order of their initialization Date: Wed, 27 Nov 2013 18:44:17 +0200 - for completion destroy also &pcr->fcrypt_sem and session mutexes during shutdown Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 259/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: doc update Date: Thu, 5 Dec 2013 21:41:55 +0100 ] 260/292 [ Author: Karl Hiramoto Email: karl@hiramoto.org Subject: Fix compiler warning when CRYPTO_ALG_KERN_DRIVER_ONLY is defined: ioctl.c:714:21: warning: 'is_known_accelerated' defined but not used [-Wunused-function] Date: Tue, 3 Dec 2013 11:18:47 +0100 Add check for "atmel-" HW accelerator. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> ] 261/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: Disable zero-copy when alignmask is set. Date: Thu, 5 Dec 2013 21:37:55 +0100 This slows down processing but prevents failures due to the driver refusing to operate on unaligned data. ] 262/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@gnutls.org Subject: doc update Date: Thu, 5 Dec 2013 21:41:55 +0100 ] 263/292 [ Author: Cosmin Paraschiv Email: cosmin.paraschiv@freescale.com Subject: In the 3.13-rc1 Linux kernel, the INIT_COMPLETION macro has been replaced with an inline function, reinit_completion [1][2]. We are currently using the 3.13-rc3 Linux kernel, which leads to the following error: Date: Thu, 23 Jan 2014 03:40:00 +0100 cryptlib.c:279:2: error: implicit declaration of function 'INIT_COMPLETION' [-Werror=implicit-function-declaration] INIT_COMPLETION(cdata->async.result->completion); [1] https://github.com/torvalds/linux/commit/c32f74ab2872994bc8336ed367313da3139350ca [2] https://github.com/torvalds/linux/commit/62026aedaacedbe1ffe94a3599ad4acd8ecdf587 Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com> Reviewed-by: Cristian Stoica <cristian.stoica@freescale.com> Tested-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 264/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: Makefile: add checkpatch target Date: Tue, 28 Jan 2014 04:23:06 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 265/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: change 'type* var' to 'type *var' Date: Wed, 29 Jan 2014 03:24:18 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 266/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: drop space after opening brace of functions Date: Wed, 29 Jan 2014 03:28:32 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 267/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: authenc fixes: add spaces according to kernel coding style Date: Wed, 29 Jan 2014 03:37:17 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 268/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: put conditionals' opening curly brace on the same line Date: Wed, 29 Jan 2014 03:41:56 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 269/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: do not hide expressions behind conditionals Date: Wed, 29 Jan 2014 03:44:03 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 270/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixup: eliminate two-space indenting, cleanup code while here Date: Wed, 29 Jan 2014 03:52:44 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 271/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: drop braces around single expressions in conditionals Date: Wed, 29 Jan 2014 04:00:16 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 272/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: fix incorrect indenting and other leading spaces Date: Wed, 29 Jan 2014 04:08:52 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 273/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: remove trailing whitespace Date: Wed, 29 Jan 2014 04:18:28 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 274/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: replace C99 comments Date: Wed, 29 Jan 2014 04:19:45 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 275/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: use pr_info and pr_err instead of printk Date: Wed, 29 Jan 2014 04:33:12 +0100 Normally we use dprintk which respects the module's own log level, but at this early stage (driver registration), being noisy should be fine. Signed-off-by: Phil Sutter <phil@nwl.cc> ] 276/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: checkpatch fixes: put inline keyword between storage class and type Date: Wed, 29 Jan 2014 04:40:37 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 277/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: introduce ddebug, dinfo, dwarning and derr macros Date: Thu, 30 Jan 2014 02:50:23 +0100 Use them instead of directly calling dprintk. Also, line continuations are to be indented with two tabs, unless there is good reason not to. Signed-off-by: Phil Sutter <phil@nwl.cc> ] 278/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: drop unneeded casts of arguments in print statements Date: Thu, 30 Jan 2014 03:01:05 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 279/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: allow for parameterising checkpatch.pl Date: Fri, 31 Jan 2014 02:33:05 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 280/292 [ Author: Phil Sutter Email: phil.sutter@viprinet.com Subject: allow for cross-compiling cryptodev Date: Mon, 24 Jan 2011 17:44:30 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 281/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: tests/hmac_comp: use COP_FLAG_WRITE_IV and compare the updated IVs as well Date: Sat, 1 Feb 2014 02:55:54 +0100 Signed-off-by: Phil Sutter <phil@nwl.cc> ] 282/292 [ Author: Phil Sutter Email: phil@nwl.cc Subject: tests/hmac_comp: initialise compared output to different values Date: Sat, 1 Feb 2014 03:01:59 +0100 This makes the test complain if the output fields were not altered at all. Signed-off-by: Phil Sutter <phil@nwl.cc> ] 283/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: clean-up allocated resources after a failed open Date: Wed, 12 Feb 2014 09:52:17 +0200 If 'open /dev/crypto' fails, all allocated resources must be freed before "open" returns; "close" can't be called to clean-up since there is no file descriptor after a failed "open". Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 284/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: When obtaining a userspace buffer, use the maximum size of dst or src. Date: Thu, 17 Apr 2014 17:00:56 +0200 That is because in AEAD modes we need to write more data than we read (the tag value). Reported and investigated by Dian Nguyen. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> ] 285/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: use function-local storage for cipher and hmac keys Date: Fri, 30 May 2014 13:59:02 +0300 Composite ciphers (cipher + hmac) use both keys at the same time. This patch is the first in a series that adds support for composite ciphers keys. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 286/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: refactoring: enclose keys to support composition Date: Fri, 30 May 2014 13:59:03 +0300 The enclosing structure refers to both keys either as individuals or as a group. For block ciphers and hmacs, both keys are used independently. For composite ciphers the whole structure will be used as a single key. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 287/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: add support for composite aead keys Date: Fri, 30 May 2014 13:59:04 +0300 - block and stream ciphers have their keys copied from userspace just like before - for aead composite ciphers, the cipher and hmac keys are combined into a single key Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Phil Sutter <phil@nwl.cc> ] 288/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: documented issue with openssl Date: Mon, 7 Jul 2014 14:01:08 +0200 ] 289/292 [ Author: Cristian Stoica Email: cristian.stoica@freescale.com Subject: fix tag and dst_len calculation for aead ciphers Date: Thu, 10 Jul 2014 13:32:59 +0300 Calculate tag and destination buffer length in a single place to avoid code duplication. The TLS case is fixed by rounding the destination length to cipher block size. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> ] 290/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: updated text on verbosity and installation instructions. Date: Wed, 6 Aug 2014 12:03:07 +0200 ] 291/292 [ Author: Nikos Mavrogiannopoulos Email: nmav@redhat.com Subject: updated NEWS Date: Wed, 6 Aug 2014 12:00:21 +0200 ] 292/292 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: cryptodev: add Kbuild hooks Date: Tue, 23 Sep 2014 15:54:01 -0400 Hook cryptodev-linux into the kernel build as a tristate option. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ]
2013-08-22crypto: import cryptodev-linux 1.6Bruce Ashfield
1/2 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: crypto: import cryptodev-linux 1.6 Date: Thu, 22 Aug 2013 00:20:38 -0400 Adding crtypdev 1.6 support from: http://download.gna.org/cryptodev-linux/cryptodev-linux-1.6.tar.gz to the kernel source tree as an integrated (versus out of tree) component. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Bruce Ashfield Email: bruce.ashfield@windriver.com Subject: cryptodev: add Kbuild hooks Date: Thu, 22 Aug 2013 00:22:15 -0400 Hook cryptodev-linux into the kernel build as a tristate option. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>