Skip to content

crypto: driver for Tegra AES hardware

Varun Wadekar linux-crypto linux-tegra 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest0 of 2 patches 3 repliesIn review
  2. v60 of 2 patches 0 repliesSuperseded
  3. v41 patch 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch0 repliesSuperseded
v11 patch8 repliesSuperseded

Changes in v8 from the cover letter

---
Fixed James's comments for patch v7.

Patches in v8 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchOlof Johansson
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/2] crypto: driver for Tegra AES hardware

The tegra crypto driver uses the tegra_chip_uid API for the RNG calculation. If one wants to build tegra-aes as a module, then tegra_chip_uid needs to be exported.

I have also posted "arm: tegra: export tegra_chip_uid" to the mach-tegra maintainers to get this patch into their tree, but for compiling the "crypto: driver for Tegra AES hardware" patch, "arm: tegra: export tegra_chip_uid" has to be present.

I leave it to the linux-crypto maintainers to decide how they want to tackle this situation. In order to facilitate smooth compilation of the actual crytpo driver patch sending the tegra_chip_uid patch as well.

v8:
---
Fixed James's comments for patch v7.

v7:
---
Changed the memset/memcpy logic for copying of the key. Now memset and memcpy work on mutually exclusive addresses.

v6:
---
Fixed the subject line in the cover letter and removed the 'Change-Id: xxxx' lines from the commits

v5:
---
Specifically mention the dependancy between "arm: tegra: export tegra_chip_uid" and "crypto: driver for Tegra AES hardware"

v4:
---
Mentioned the dependancy on the "arm: tegra: export tegra_chip_uid" patch

v3:
---
Add the following code from KimP in tegra_aes_handle_req

tfm = crypto_ablkcipher_reqtfm(req);
...
ctx = crypto_ablkcipher_ctx(tfm);
...
dd->ivlen = crypto_ablkcipher_ivsize(tfm);

v2:
---
Fixed the enable/disable irq related comments from Kim Phillips and some other cosmetic changes.

v1:
---
Fixed the compilation issues that Henning reported. The driver now builds as a module. Use devm_* apis. Fixed other comments from StephenW and KimP.

Henning Heinold (1):
arm: tegra: export tegra_chip_uid

Varun Wadekar (1):
crypto: driver for Tegra AES hardware

 arch/arm/mach-tegra/fuse.c |    2 +
 drivers/crypto/Kconfig     |   11 +
 drivers/crypto/Makefile    |    1 +
 drivers/crypto/tegra-aes.c | 1102 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/crypto/tegra-aes.h |  103 ++++
 5 files changed, 1219 insertions(+), 0 deletions(-)
 create mode 100644 drivers/crypto/tegra-aes.c
 create mode 100644 drivers/crypto/tegra-aes.h