linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable Qualcomm Crypto Engine on sm8150
@ 2021-10-13 16:58 Bhupesh Sharma
  2021-10-13 16:58 ` [PATCH 1/2] crypto: qce: Add 'sm8150-qce' compatible string check Bhupesh Sharma
  2021-10-13 16:58 ` [PATCH 2/2] arm64/dts: qcom: sm8150: Add dt entries to support crypto engine Bhupesh Sharma
  0 siblings, 2 replies; 6+ messages in thread
From: Bhupesh Sharma @ 2021-10-13 16:58 UTC (permalink / raw)
  To: linux-arm-msm, linux-crypto
  Cc: bhupesh.sharma, bhupesh.linux, linux-kernel, devicetree, robh+dt,
	agross, herbert, davem, Thara Gopinath, Bjorn Andersson

Qualcomm crypto engine is available on sm8150 SoC as well.
It supports hardware accelerated algorithms for encryption
and authentication. It also provides support for aes, des, 3des
encryption algorithms and sha1, sha256, hmac(sha1), hmac(sha256)
authentication algorithms.

Tested the enabled crypto algorithms with cryptsetup test utilities
on sm8150-mtp and sa8155p-adp boards (see [1]) and also with crypto self-tests,
including the fuzz tests (CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y).

Note that this series is rebased on the corresponding 
crypto engine enablement series for sm8250 SoCs (see [2]).

[1]. https://linux.die.net/man/8/cryptsetup
[2]. https://lore.kernel.org/lkml/20211013105541.68045-1-bhupesh.sharma@linaro.org/T/#t 

Cc: Thara Gopinath <thara.gopinath@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>

Bhupesh Sharma (2):
  crypto: qce: Add 'sm8150-qce' compatible string check
  arm64/dts: qcom: sm8150: Add dt entries to support crypto engine.

 arch/arm64/boot/dts/qcom/sm8150.dtsi | 28 ++++++++++++++++++++++++++++
 drivers/crypto/qce/core.c            |  1 +
 2 files changed, 29 insertions(+)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-24 23:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 16:58 [PATCH 0/2] Enable Qualcomm Crypto Engine on sm8150 Bhupesh Sharma
2021-10-13 16:58 ` [PATCH 1/2] crypto: qce: Add 'sm8150-qce' compatible string check Bhupesh Sharma
2021-10-24 17:18   ` Bjorn Andersson
2021-10-24 17:59     ` Bhupesh Sharma
2021-10-24 23:19       ` Bjorn Andersson
2021-10-13 16:58 ` [PATCH 2/2] arm64/dts: qcom: sm8150: Add dt entries to support crypto engine Bhupesh Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).