From: Eric Biggers
Convert the bcm crypto driver to use crypto_authenc_extractkeys() so
that it picks up the fix for broken validation of rtattr::rta_len.
This also fixes the DES weak key check to actually be done on the right
key. (It was checking the authentication key, not the encryption key.
From: Eric Biggers
Keys for "authenc" AEADs are formatted as an rtattr containing a 4-byte
'enckeylen', followed by an authentication key and an encryption key.
crypto_authenc_extractkeys() parses the key to find the inner keys.
However, it fails to consider the case where the rtattr's payload i
From: Eric Biggers
Convert the ccree crypto driver to use crypto_authenc_extractkeys() so
that it picks up the fix for broken validation of rtattr::rta_len.
Fixes: ff27e85a85bb ("crypto: ccree - add AEAD support")
Cc: # v4.17+
Signed-off-by: Eric Biggers
---
drivers/crypto/ccree/cc_aead.c | 4
Fix incorrect validation of the key passed to "authenc" AEADs that
allowed crashing the kernel via AF_ALG. The real fix is in patch 1, but
two drivers had to be converted to use crypto_authenc_extractkeys() too.
Please note: for the bcm and ccree driver changes I haven't re-run the
self-tests, as
From: Eric Biggers
'struct cipher_desc' is unused. Remove it.
Signed-off-by: Eric Biggers
---
include/linux/crypto.h | 8
1 file changed, 8 deletions(-)
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index c2f5baed522cc..21153515db515 100644
--- a/include/linux/crypto.
--
Lieber Freund,
Ich bin Herr Tayeb Souami, New Jersey, Vereinigte Staaten von Amerika, der
Mega-Gewinner von $ 315million In Mega Millions Jackpot, spende ich an 5
zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail
nach einem Spinball ausgewählt.Ich habe den größte
From: Eric Biggers
Remove dead code related to internal IV generators, which are no longer
used since they've been replaced with the "seqiv" and "echainiv"
templates. The removed code includes:
- The "givcipher" (GIVCIPHER) algorithm type. No algorithms are
registered with this type anymore,
From: Eric Biggers
Fixes: cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")
Signed-off-by: Eric Biggers
---
drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/crypto/cavium/nitrox/nitrox_debugfs.h
b/drivers