[PATCH] crypto/ccree: fix spelling typo of allocated

2021-01-25 Thread dingsenjie
From: dingsenjie allocted -> allocated Signed-off-by: dingsenjie --- drivers/crypto/ccree/cc_cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c index cdfee50..78833491 100644 --- a/drivers/crypto/ccre

kcryptd, copy big file, unresponsive system (GUI)

2021-01-25 Thread Janusz Dziedzic
Hello, Not sure this is correct group. Problem I have. PC: - hp elitebook 850 g5 + nvme SSD 512G - Ubuntu 20.x - kernel janusz@eb850:~$ uname -a Linux eb850 5.4.0-62-generic #70-Ubuntu SMP Tue Jan 12 12:45:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Also check linux-image-5.11.0-rc4+ - but d

Re: [GIT PULL] Crypto Fixes for 5.11

2021-01-25 Thread pr-tracker-bot
The pull request you sent on Tue, 26 Jan 2021 09:36:19 +1100: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/13391c60da3308ed9980de0168f74cce6c62ac1d Thank you! -- Deet-doot-dot, I am a bot

[GIT PULL] Crypto Fixes for 5.11

2021-01-25 Thread Herbert Xu
Hi Linus: This push fixes a regression in the cesa driver. The following changes since commit 382811940303f7cd01d0f3dcdf432dfd89c5a98e: crypto: omap-sham - Fix link error without crypto-engine (2021-01-08 15:37:55 +1100) are available in the Git repository at: git://git.kernel.org/pub/scm

Re: [PATCH v2] KVM/SVM: add support for SEV attestation command

2021-01-25 Thread Paolo Bonzini
On 04/01/21 16:17, Brijesh Singh wrote: The SEV FW version >= 0.23 added a new command that can be used to query the attestation report containing the SHA-256 digest of the guest memory encrypted through the KVM_SEV_LAUNCH_UPDATE_{DATA, VMSA} commands and sign the report with the Platform Endorse

linux-next-20210125: drivers/crypto/marvell/octeontx2/ build errors

2021-01-25 Thread Randy Dunlap
on x86_64: ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `cptpf_flr_wq_handler': otx2_cptpf_main.c:(.text+0x2b): undefined reference to `otx2_mbox_alloc_msg_rsp' ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `otx2_cptpf_probe': otx2_cptpf_main.c:(.text

Re: [RFC V2 0/5] Introduce AVX512 optimized crypto algorithms

2021-01-25 Thread Dave Hansen
On 1/22/21 11:28 PM, Megha Dey wrote: > Other implementations of these crypto algorithms are possible, which would > result in lower crypto performance but would not cause collateral damage > from frequency drops (AVX512L vs AVX512VL). I don't think you told us anywhere what AVX512L and AVX512VL a

Re: [PATCH v3 6/6] drivers: crypto: qce: Remove totallen and offset in qce_start

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: > totallen is used to get the size of the data to be transformed. > This is also available via nbytes or cryptlen in the qce_sha_reqctx > and qce_cipher_ctx. Similarly offset convey nothing for the supported > encryption and authentication transf

Re: [PATCH v3 5/6] drivers: crypto: qce: Remover src_tbl from qce_cipher_reqctx

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: > src_table is unused and hence remove it from struct qce_cipher_reqctx > > Signed-off-by: Thara Gopinath > --- > drivers/crypto/qce/cipher.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/crypto/qce/cipher.h b/drivers/crypto

Re: [PATCH v3 4/6] drivers: crypto: qce: common: Set data unit size to message length for AES XTS transformation

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: > Set the register REG_ENCR_XTS_DU_SIZE to cryptlen for AES XTS > transformation. Anything else causes the engine to return back > wrong results. > > Signed-off-by: Thara Gopinath > --- > drivers/crypto/qce/common.c | 8 > 1 file chan

Re: [PATCH v3 3/6] drivers: crypto: qce: skcipher: Fix regressions found during fuzz testing

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: > This patch contains the following fixes for the supported encryption > algorithms in the Qualcomm crypto engine(CE) > 1. Return unsupported if key1 = key2 for AES XTS algorithm since CE > does not support this and the operation causes the engin

Re: [PATCH v3 1/6] drivers: crypto: qce: sha: Restore/save ahash state with custom struct in export/import

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: Please drop "drivers: " from $subject. > Export and import interfaces save and restore partial transformation > states. The partial states were being stored and restored in struct > sha1_state for sha1/hmac(sha1) transformations and sha256_state