[PATCH 0/2] Enable Qualcomm Crypto Engine on sm8150

From: Bhupesh Sharma
Date: Wed Oct 13 2021 - 12:58:52 EST


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@xxxxxxxxxx/T/#t

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

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