remarkable-linux/drivers/crypto/caam
Russell King a0118c8b2b crypto: caam - fix non-hmac hashes
Since 6de62f15b5 ("crypto: algif_hash - Require setkey before
accept(2)"), the AF_ALG interface requires userspace to provide a key
to any algorithm that has a setkey method.  However, the non-HMAC
algorithms are not keyed, so setting a key is unnecessary.

Fix this by removing the setkey method from the non-keyed hash
algorithms.

Fixes: 6de62f15b5 ("crypto: algif_hash - Require setkey before accept(2)")
Cc: <stable@vger.kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-08-09 18:25:11 +08:00
..
caamalg.c crypto: caam - defer aead_set_sh_desc in case of zero authsize 2016-08-08 23:43:53 +08:00
caamhash.c crypto: caam - fix non-hmac hashes 2016-08-09 18:25:11 +08:00
caampkc.c crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
caampkc.h crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
caamrng.c crypto: caam - Use the preferred style for memory allocations 2015-08-24 22:07:42 +08:00
compat.h crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
ctrl.c crypto: caam - handle core endianness != caam endianness 2016-05-31 16:41:54 +08:00
ctrl.h crypto: caam - fix ERA retrieval function 2014-02-09 09:59:27 +08:00
desc.h crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
desc_constr.h crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
error.c crypto: caam - don't emit ICV check failures to dmesg 2015-01-26 11:34:23 +11:00
error.h crypto: caam - Contain caam_jr_strstatus() ugliness 2014-05-08 21:58:06 +08:00
intern.h crypto: caam - Enable and disable clocks on Freescale i.MX platforms 2015-08-10 23:18:56 +08:00
jr.c crypto: caam - handle core endianness != caam endianness 2016-05-31 16:41:54 +08:00
jr.h crypto: caam - Add API's to allocate/free Job Rings 2013-10-30 12:02:57 +08:00
Kconfig crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
key_gen.c crypto: caam - fix missing dma unmap on error path 2014-11-06 23:10:20 +08:00
key_gen.h crypto: caam - change key gen functions to return signed int 2013-04-25 21:01:43 +08:00
Makefile crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
pdb.h crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
pkc_desc.c crypto: caam - add support for RSA algorithm 2016-07-05 23:05:24 +08:00
regs.h crypto: caam - fix misspelled upper_32_bits 2016-06-20 19:24:39 +08:00
sg_sw_sec4.h crypto: caam - handle core endianness != caam endianness 2016-05-31 16:41:54 +08:00