From: Srujana Challa
Date: Fri, 7 Aug 2020 19:39:17 +0530
> The following series adds support for Marvell Cryptographic Acceleration
> Unit(CPT) on OcteonTX2 CN96XX SoC.
> This series is tested with CRYPTO_EXTRA_TESTS enabled and
> CRYPTO_DISABLE_TESTS disabled.
net-next is closed, please do not
On 8/7/20 2:18 AM, David Laight wrote:
> From: Eric Dumazet
>> Sent: 06 August 2020 23:21
>>
>> On 7/22/20 11:09 PM, Christoph Hellwig wrote:
>>> Rework the remaining setsockopt code to pass a sockptr_t instead of a
>>> plain user pointer. This removes the last remaining set_fs(KERNEL_DS)
>>> o
Schöne Grüße,
Mein Name ist MATTIAS SJOBORG, ich bin Schweizer Staatsbürger und (Vorsitzender
des Vergütungs- und Nominierungsausschusses) von Tethys Petroleum, einem
multinationalen Ölkonzern mit Sitz in London-England, Großbritannien. Ich bitte
Sie um Ihre Hilfe, um die Summe von vierzig Mill
Hi,
Thanks for the patch!
On 8/7/20 7:20 PM, Andrei Botila wrote:
> From: Andrei Botila
>
> Standardize the way input lengths equal to 0 are handled in all skcipher
> algorithms. All the algorithms return 0 for input lengths equal to zero.
>
> Signed-off-by: Andrei Botila
> ---
> drivers/cry
Hi Andrei,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on cryptodev/master]
[also build test WARNING on crypto/master next-20200807]
[cannot apply to powerpc/next sparc-next/master v5.8]
[If your patch is applied to the wrong git tree, kindly drop us a note
Hello Julia,
Thanks for report this.
在 2020/8/3 下午9:26, Julia Lawall 写道:
Hello,
priv can't be kfreed because it was allocated with a devm function.
julia
-- Forwarded message --
Date: Mon, 3 Aug 2020 21:16:25 +0800
From: kernel test robot
To: kbu...@lists.01.org
Cc: l...@int
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Antoine Tenart
Signed-off-by: Andrei Botila
---
drivers/crypto/inside-secure/safexcel_cipher.c | 6 ++
1 file changed,
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Russell King
Signed-off-by: Andrei Botila
---
arch/arm/crypto/aes-ce-glue.c | 6 ++
1 file changed, 6 insertions(+)
di
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Signed-off-by: Andrei Botila
---
drivers/crypto/qce/skcipher.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/cr
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: George Cherian
Signed-off-by: Andrei Botila
---
drivers/crypto/cavium/cpt/cptvf_algs.c | 4
1 file changed, 4 insertio
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Zhang Shengju
Cc: Tang Bin
Signed-off-by: Andrei Botila
---
drivers/crypto/bcm/cipher.c | 3 +++
1 file changed, 3 inserti
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Tom Lendacky
Cc: John Allen
Signed-off-by: Andrei Botila
---
drivers/crypto/ccp/ccp-crypto-aes-xts.c | 3 +++
1 file chang
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Srikanth Jampala
Cc: Nagadheeraj Rottela
Signed-off-by: Andrei Botila
---
drivers/crypto/cavium/nitrox/nitrox_skcipher.c |
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
This change has implications not only for xts(aes) but also for cts(cbc(aes))
and cts(cbc(paes)).
Cc: Gilad Ben-Yossef
Signed-off
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: "Breno Leitão"
Cc: Nayna Jain
Cc: Paulo Flabiano Smorigo
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerm
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Ayush Sawal
Cc: Vinay Kumar Yadav
Cc: Rohit Maheshwari
Signed-off-by: Andrei Botila
---
drivers/crypto/chelsio/chcr_algo.
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Jesper Nilsson
Cc: Lars Persson
Signed-off-by: Andrei Botila
---
drivers/crypto/axis/artpec6_crypto.c | 6 ++
1 file c
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Signed-off-by: Andrei Botila
---
drivers/crypto/hisilicon/sec/sec_algs.c | 4
1 file changed, 4 insertions(+)
diff --git a
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Nicolas Ferre
Cc: Alexandre Belloni
Cc: Ludovic Desroches
Signed-off-by: Andrei Botila
---
drivers/crypto/atmel-aes.c | 4
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Signed-off-by: Andrei Botila
---
crypto/xts.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/crypto/xts.c b/crypto/xt
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Boris Brezillon
Cc: Arnaud Ebalard
Cc: Srujana Challa
Signed-off-by: Andrei Botila
---
drivers/crypto/marvell/octeontx/ot
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Borislav Petkov
Cc: "H. Peter Anvin"
Signed-off-by: Andrei Botila
---
arch/x86/crypt
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Russell King
Signed-off-by: Andrei Botila
---
arch/arm/crypto/aes-neonbs-glue.c | 3 +++
1 file changed, 3 insertions(+)
d
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerman
Signed-off-by: Andrei Botila
---
arch/powerpc/crypto/aes-s
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Heiko Carstens
Cc: Vasily Gorbik
Cc: Christian Borntraeger
Signed-off-by: Andrei Botila
---
arch/s390/crypto/paes_s390.c
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Catalin Marinas
Cc: Will Deacon
Signed-off-by: Andrei Botila
---
arch/arm64/crypto/aes-glue.c | 6 ++
1 file changed,
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Heiko Carstens
Cc: Vasily Gorbik
Cc: Christian Borntraeger
Signed-off-by: Andrei Botila
---
arch/s390/crypto/aes_s390.c |
From: Andrei Botila
Standardize the way input lengths equal to 0 are handled in all skcipher
algorithms. All the algorithms return 0 for input lengths equal to zero.
Cc: Catalin Marinas
Cc: Will Deacon
Signed-off-by: Andrei Botila
---
arch/arm64/crypto/aes-neonbs-glue.c | 3 +++
1 file chang
From: Andrei Botila
This patch set is a follow-up on the previous RFC discussion which can be found
here: https://lore.kernel.org/r/4145904.a5p2xsn...@tauon.chronox.de
This series converts all XTS implementations to return 0 when the input length
is equal to 0. This change is necessary in order
Hello,
在 2020/8/4 下午4:11, Wei Yongjun 写道:
It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.
Thanks for fix it.
Reviewed-by: 周琰杰 (Zhou Yanjie)
Fixes: 190873a0ea45 ("crypto: ingenic - Add hardware RNG for Ingenic JZ4780 and
X1000")
Repor
On Fri, 7 Aug 2020 19:39:19 +0530 Srujana Challa wrote:
> Add support for the cryptographic acceleration unit (CPT) on
> OcteonTX2 CN96XX SoC.
Please address the W=1 C=1 build warnings
../drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c:475:51: warning: cast
removes address space '__iomem' of
Schöne Grüße,
Mein Name ist MATTIAS SJOBORG, ich bin Schweizer Staatsbürger und (Vorsitzender
des Vergütungs- und Nominierungsausschusses) von Tethys Petroleum, einem
multinationalen Ölkonzern mit Sitz in London-England, Großbritannien. Ich bitte
Sie um Ihre Hilfe, um die Summe von vierzig Mill
Schöne Grüße,
Mein Name ist MATTIAS SJOBORG, ich bin Schweizer Staatsbürger und (Vorsitzender
des Vergütungs- und Nominierungsausschusses) von Tethys Petroleum, einem
multinationalen Ölkonzern mit Sitz in London-England, Großbritannien. Ich bitte
Sie um Ihre Hilfe, um die Summe von vierzig Mill
Add support for the cryptographic acceleration unit (CPT) on
OcteonTX2 CN96XX SoC.
Signed-off-by: Srujana Challa
---
drivers/crypto/marvell/Kconfig | 13 +
drivers/crypto/marvell/Makefile|1 +
drivers/crypto/marvell/octeontx2/Makefile |7
Add support for the cryptographic accelerator unit virtual functions on
OcteonTX2 96XX SoC.
Signed-off-by: Srujana Challa
---
drivers/crypto/marvell/Kconfig |4 +
drivers/crypto/marvell/octeontx2/Makefile |5 +-
.../crypto/marvell/octeontx2/otx2_cpt_hw_types.
The Admin function (AF) manages hardware resources on the cryptographic
acceleration unit(CPT). This patch adds a mailbox interface for PFs and
VFs to configure hardware resources for cryptography and inline-ipsec.
Signed-off-by: Srujana Challa
---
drivers/net/ethernet/marvell/octeontx2/af/Makef
The following series adds support for Marvell Cryptographic Acceleration
Unit(CPT) on OcteonTX2 CN96XX SoC.
This series is tested with CRYPTO_EXTRA_TESTS enabled and
CRYPTO_DISABLE_TESTS disabled.
Changes since v1:
* Moved Makefile changes from patch4 to patch2 and patch3.
Srujana Challa (3):
From: Eric Dumazet
> Sent: 06 August 2020 23:21
>
> On 7/22/20 11:09 PM, Christoph Hellwig wrote:
> > Rework the remaining setsockopt code to pass a sockptr_t instead of a
> > plain user pointer. This removes the last remaining set_fs(KERNEL_DS)
> > outside of architecture specific code.
> >
> >
On 2020/8/6 15:23, Markus Elfring wrote:
Would you become interested to look if any other software components
would be similarly affected?
Yeah, I'll check the rest and fix if any and send those in a
clean up patch.
Thanks,
Yang
On Thu, Aug 06, 2020 at 03:21:25PM -0700, Eric Dumazet wrote:
> converting get_user(...) to copy_from_sockptr(...) really assumed the
> optlen
> has been validated to be >= sizeof(int) earlier.
>
> Which is not always the case, for example here.
Yes. And besides the bpfilter mess the main re
40 matches
Mail list logo