[cryptodev:master 118/131] arch/s390/crypto/aes_s390.c:271:1: warning: 'fallback_blk_dec' uses dynamic stack allocation

2016-07-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master head: 98eca72fa04a9bbf28dba95efaec5aa95588fe23 commit: 64e26807bb93b4accaa395d98e118ab893cac074 [118/131] crypto: s390/aes - Use skcipher for fallback config: s390-allyesconfig (attached as .config) compile

[cryptodev:master 116/131] drivers/crypto/qce/ablkcipher.c:229:1: warning: 'qce_ablkcipher_crypt' uses dynamic stack allocation

2016-07-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master head: 98eca72fa04a9bbf28dba95efaec5aa95588fe23 commit: 2d20ce070d3b78f0974408ef648223967d0efb0a [116/131] crypto: qce - Use skcipher for fallback config: s390-allyesconfig (attached as .config) compiler: s3

[v9 PATCH] crypto: caam - add support for RSA algorithm

2016-07-01 Thread Tudor Ambarus
Add RSA support to caam driver. Initial author is Yashpal Dutta . Signed-off-by: Tudor Ambarus --- Changes in v9: - do not drop leading zeros for the RSA output. Changes in v8: - store raw keys on stack - use d_sz instead of n_sz for RSA private exponent - add caam_read_raw_data function for re

Re: [RFC] WireGuard: next generation secure network tunnel

2016-07-01 Thread Matthias Urlichs
Richard Weinberger gmail.com> writes: > So every logical tunnel will allocate a new net device? > Doesn't this scale badly? I have ipsec alike setups > with many, many road warriors in mind. > No. >> When a locally generated packet hits the device, it looks at the dst IP, >> looks up this dst I

Re: [RFC] WireGuard: next generation secure network tunnel

2016-07-01 Thread Richard Weinberger
Jason, Am 01.07.2016 um 16:25 schrieb Jason A. Donenfeld: > Hi Richard, > > On Fri, Jul 1, 2016 at 1:42 PM, Richard Weinberger > wrote: >> So every logical tunnel will allocate a new net device? >> Doesn't this scale badly? I have ipsec alike setups >> with many, many road warriors in mind. > >

Re: [RFC] WireGuard: next generation secure network tunnel

2016-07-01 Thread Jason A. Donenfeld
Hi Richard, On Fri, Jul 1, 2016 at 1:42 PM, Richard Weinberger wrote: > So every logical tunnel will allocate a new net device? > Doesn't this scale badly? I have ipsec alike setups > with many, many road warriors in mind. No, this isn't the case. Each net device has multiple peers. Check out th

Re: [RFC] WireGuard: next generation secure network tunnel

2016-07-01 Thread Richard Weinberger
On Tue, Jun 28, 2016 at 4:49 PM, Jason A. Donenfeld wrote: > WireGuard acts as a virtual interface, doing layer 3 IP tunneling, > addable with "ip link add dev wg0 type wireguard". You can set the > interface's local IP and routes using the usual ip-address and So every logical tunnel will alloca

Re: [patch] crypto: sha256-mb - cleanup a || vs | typo

2016-07-01 Thread Ingo Molnar
* Herbert Xu wrote: > On Fri, Jul 01, 2016 at 09:55:59AM +0200, Ingo Molnar wrote: > > > > Plus: > > > > > > >   /* Compute how many bytes to copy from user buffer into > > > > >    * extra block > > > > >    */ > > > > please use the customary (multi-line)

Re: [PATCH] crypto: qat - Switch to new rsa_helper functions

2016-07-01 Thread Herbert Xu
On Thu, Jun 30, 2016 at 05:59:07PM +0100, Salvatore Benedetto wrote: > Drop all asn1 related code in qat and use the new rsa_helper > functions rsa_parse_[pub|priv]_key for parsing the key > > Signed-off-by: Salvatore Benedetto > --- > crypto/testmgr.c | 1 + >

Re: [PATCH 2/2] crypto: powerpc: Add POWER8 optimised crc32c

2016-07-01 Thread Herbert Xu
On Fri, Jul 01, 2016 at 08:19:45AM +1000, Anton Blanchard wrote: > From: Anton Blanchard > > Use the vector polynomial multiply-sum instructions in POWER8 to > speed up crc32c. > > This is just over 41x faster than the slice-by-8 method that it > replaces. Measurements on a 4.1 GHz POWER8 show i

Re: [PATCH] crypto: qat - make qat_asym_algs.o depend on asn1 headers

2016-07-01 Thread Herbert Xu
On Thu, Jun 30, 2016 at 12:23:51PM +0200, Jan Stancek wrote: > Parallel build can sporadically fail because asn1 headers may > not be built yet by the time qat_asym_algs.o is compiled: > drivers/crypto/qat/qat_common/qat_asym_algs.c:55:32: fatal error: > qat_rsapubkey-asn1.h: No such file or dir

Re: [patch] crypto: sha256-mb - cleanup a || vs | typo

2016-07-01 Thread Herbert Xu
On Fri, Jul 01, 2016 at 09:55:59AM +0200, Ingo Molnar wrote: > > Plus: > > > > >   /* Compute how many bytes to copy from user buffer into > > > >    * extra block > > > >    */ > > please use the customary (multi-line) comment style: This is the customa

Re: [patch] crypto: sha256-mb - cleanup a || vs | typo

2016-07-01 Thread Ingo Molnar
* Tim Chen wrote: > On Wed, 2016-06-29 at 10:05 -0700, H. Peter Anvin wrote: > > On 06/29/16 07:42, Dan Carpenter wrote: > > > > > > > > > > > > > > > > > and | behave basically the same here but || is intended.  It causes a > > > static checker warning to mix up bitwise and logical operation