Re: next-20151231 - aes crypto algorithm went missing?

2016-01-04 Thread Valdis . Kletnieks
On Sun, 03 Jan 2016 11:20:03 +0100, Milan Broz said: > On 01/03/2016 06:34 AM, Valdis Kletnieks wrote: > > So booting into a next-20151222 kernel, I can mount an external drive > > that uses cryptLuks. I try -1231, and I get this failure: > > > > Failed to setup dm-crypt key mapping for device /de

Re: [PATCH] crypto: Make CRYPTO_CBC select CRYPTO_ECHAINIV

2016-01-04 Thread Thomas Egerer
Similar to CTR mode selecting CRYPTO_SEQIV, CBC mode requires echainiv and has to select CRYPTO_ECHAINIV in order to work properly. This solves the issues caused by a misconfiguration as described in [1]. [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html Signed-off-by: Th

Re: [PATCH] crypto: Make CRYPTO_CBC select CRYPTO_ECHAINIV

2016-01-04 Thread Stephan Mueller
Am Montag, 4. Januar 2016, 19:56:59 schrieb Thomas Egerer: Hi Thomas, > Similar to CTR mode selecting CRYPTO_SEQIV, CBC mode requires echainiv > and has to select CRYPTO_ECHAINIV in order to work properly. This solves > the issues caused by a misconfiguration as described in [1]. > > [1] https:/

[PATCH] crypto: Make CRYPTO_CBC select CRYPTO_ECHAINIV

2016-01-04 Thread Thomas Egerer
Similar to CTR mode selecting CRYPTO_SEQIV, CBC mode requires echainiv and has to select CRYPTO_ECHAINIV in order to work properly. This solves the issues caused by a misconfiguration as described in [1]. [1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html Signed-off-by: T

Re: [RFC PATCH 2/5] crypto: sunxi-ss: fix min3() call to match types

2016-01-04 Thread Uwe Kleine-König
On Tue, Dec 22, 2015 at 12:27:44PM +, Andre Przywara wrote: > The min3() macro expects all arguments to be of the same type (or > size at least). While two arguments are ints or u32s, one is size_t, > which does not match on 64-bit architectures. > Cast the size_t to u32 to make min3() happy. I

Re: [PATCH 1/2] crypto: af_alg - Add nokey compatibility path

2016-01-04 Thread Milan Broz
On 01/04/2016 05:35 AM, Herbert Xu wrote: > On Sun, Jan 03, 2016 at 10:42:28AM +0100, Milan Broz wrote: >> >> yes, basically it prepares socket()/bind()/accept() and then it calls setkey >> once. >> (I'll try to fix in next releases to call setkey first though.) > > OK please try these two patch