Skip to content

crypto: atmel-sha204a - read out otp zone

Lothar Rubusch linux-arm-kernel linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v15 patches 1 replySuperseded

Changes in v2 from the cover letter

- fix typo in commit title
- drop patch: remove unused includes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: atmel-i2c - add missing arg descriptiondrivers/crypto/atmel-i2c.h+1 -00 replies
2/4crypto: atmel-i2c - rename read functiondrivers/crypto/atmel-i2c.c drivers/crypto/atmel-i2c.h+4 -40 replies
3/4crypto: atmel-sha204a - add reading from otp zonedrivers/crypto/atmel-i2c.c drivers/crypto/atmel-i2c.h drivers/crypto/atmel-sha204a.c+52 -00 replies
4/4crypto: atmel-sha204a - provide the otp contentdrivers/crypto/atmel-sha204a.c+45 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] crypto: atmel-sha204a - read out otp zone

Read out otp memory zone of this secure eeprom and rng chip. The chip has an otp zone and data zone, both still not accessed. The otp zone can be used to store persistently serial numbers or similar, if externally pre-configured. In any way the Atmel SHA204a needs to be preconfgured and fuse locked in order to be useful also for the already implemented RNG functionality. Placing data into the otp zone is optional. If empty, the chip returns 0xff on all field. The implementation passes the content to a new sysfs handle to userspace. If the chip is locked or not accessible no sysfs handle is set.

---
v1 -> v2
- fix typo in commit title
- drop patch: remove unused includes

Lothar Rubusch (4):
crypto: atmel-i2c - add missing arg description
crypto: atmel-i2c - rename read function
crypto: atmel-sha204a - add reading from otp zone
crypto: atmel-sha204a - provide the otp content

 drivers/crypto/atmel-i2c.c     | 30 +++++++++++++--
 drivers/crypto/atmel-i2c.h     |  8 +++-
 drivers/crypto/atmel-sha204a.c | 68 ++++++++++++++++++++++++++++++++++
 3 files changed, 102 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1