[PATCH] crypto: padlock-aes: Add ecx to outputs for rep instructions

2018-09-06 Thread Ben Hutchings
) Fixes: 46d8c4b28652 ("crypto: padlock-aes - Fix Nano workaround data ...") Signed-off-by: Ben Hutchings --- This is totally untested, so don't assume I know what I'm talking about. :-) Ben. drivers/crypto/padlock-aes.c | 25 + 1 file changed, 13 insertions(+), 12 d

Re: [PATCH] crypto: gcm - Fix rfc4543 decryption crash

2016-05-15 Thread Ben Hutchings
On Wed, 2016-04-27 at 12:17 +0800, Herbert Xu wrote: > On Tue, Apr 26, 2016 at 01:42:56PM +0200, Ben Hutchings wrote: > > > > > > It looks like the bug was introduced in 3.10 by: > > > > d733ac90f9fe8ac284e523f9920b507555b12f6d > > Author: Jussi Kivi

Re: [PATCH] crypto: gcm - Fix rfc4543 decryption crash

2016-04-26 Thread Ben Hutchings
  req); > + if (!enc) > + aead_request_set_callback(subreq, req->base.flags, > +   req->base.complete, req->base.data); >   aead_request_set_crypt(subreq, cipher, cipher, enc ? 0 : authsize, iv); >   aead_request_set_ass

Re: [PATCH] crypto: gcm - Fix rfc4543 decryption crash

2016-04-26 Thread Ben Hutchings
3.10 by: d733ac90f9fe8ac284e523f9920b507555b12f6d Author: Jussi Kivilinna <jussi.kivili...@iki.fi> Date:   Sun Apr 7 16:43:46 2013 +0300 crypto: gcm - fix rfc4543 to handle async crypto correctly      So 3.2.y and 3.4.y don't need this fix - or should they get bo

[PATCH] crypto x86/camellia_aesni_avx: Fix CPU feature checks

2015-10-06 Thread Ben Hutchings
https://bugs.debian.org/800934 Fixes: ce4f5f9b65ae ("x86/fpu, crypto x86/camellia_aesni_avx: Simplify...") Signed-off-by: Ben Hutchings <b...@decadent.org.uk> Cc: stable <sta...@vger.kernel.org> # 4.2 --- arch/x86/crypto/camellia_aesni_avx_glue.c | 5 + 1 file changed, 5 insertio

Re: crypto: algif - avoid excessive use of socket buffer in skcipher

2014-12-11 Thread Ben Hutchings
in original changelog). Some background for the bug (with reproducer and report from users) - http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg11787.html - http://bugzilla.redhat.com/show_bug.cgi?id=1160289 [...] I've queued this up for 3.2, thanks. Ben. -- Ben Hutchings Kids

Re: [PATCH] firmware: Added fw for qat_dh895xxcc hw crypto accelerator

2014-06-03 Thread Ben Hutchings
++ qat_895xcc.bin| Bin 0 - 453248 bytes 3 files changed, 45 insertions(+) create mode 100644 LICENCE.qat_dh895xcc_firmware create mode 100755 qat_895xcc.bin [...] Applied, thanks. Ben. -- Ben Hutchings If more than one person is responsible for a bug, no one

Re: [PATCH 01/51] DMA-API: provide a helper to set both DMA and coherent DMA masks

2013-09-19 Thread Ben Hutchings
to the same or a smaller mask than the streaming mask. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line unsubscribe

Re: [patch v3 01/11] netlink: add reference of module in netlink_dump_start

2012-10-04 Thread Ben Hutchings
); netlink_destroy_callback(cb); - sock_put(sk); - return -EBUSY; + ret = -EBUSY; + goto out; } + /* add reference of module witch cb-dump belong to */ [...] 'which' not 'witch' :-) Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my

Re: [PATCH 04/16] PGP: Add definitions (RFC 4880) and packet parser [ver #2]

2011-12-04 Thread Ben Hutchings
by default. It may be better to play safe by declaring them '__packed'. Ben. -- Ben Hutchings Klipstein's 4th Law of Prototyping and Production: A fail-safe circuit will destroy others. signature.asc Description: This is a digitally signed message part

Re: Bug#485070: cryptsetup: FATAL padlock_{aes,sha} error during boot

2011-07-30 Thread Ben Hutchings
Version: 3.7-pre2-1 On Sat, 2011-07-30 at 14:13 +0800, Herbert Xu wrote: Ralf Jung ralfjun...@gmx.de wrote: Hi, as per request of Jonathan at http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=485070, I am reporting the mentioned bug to this list as well: With current Debian

Re: linux-image-2.6.24-1-686: airo hang when loading because of aes

2009-05-31 Thread Ben Hutchings
be fixed by either (1) removing the MODULE_ALIAS declaration or (2) making the module initialisation function fail if the device is not present. The latter behaviour is generally wrong for PCI drivers, but this device presumably cannot be hotplugged. Ben. -- Ben Hutchings Logic doesn't apply