Re: [PATCH v3] crypto: prefix module autoloading with crypto-

2014-11-21 Thread Herbert Xu
On Fri, Nov 21, 2014 at 09:31:15AM +0100, Mathias Krause wrote: The last modlog call does not contain the crypto- prefix, therefore happily loads the vfat module. I guess crypto templates are handled special? Yes templates are loaded in crypto_lookup_template so a small change there (assuming

[PATCH v2 0/9] Replace smp_read_barrier_depends() with lockless_derefrence()

2014-11-21 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). http://lkml.iu.edu/hypermail/linux/kernel/1410.3/04561.html The following series tries to do this. There are still some hard-coded locations which I was not sure how to replace with.

[PATCH] crypto: algif - Mark sgl end at the end of data.

2014-11-21 Thread Tadeusz Struk
Hi, algif_skcipher sends 127 sgl buffers for encryption regardless of how many buffers acctually have data to process, where the few first with valid len and the rest with zero len. This is not very eficient and may cause problems when algs do something like this without checking the buff lenght:

[PATCH] crytpo: qat - Fix 64 bytes requests

2014-11-21 Thread Tadeusz Struk
Fix invalid inflights calculation for 64 bytes requests. Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com --- .../qat/qat_common/adf_transport_access_macros.h |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git