mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] crypto: atmel-sha204a - read out otp zone
@ 2024-05-03 21:10 Lothar Rubusch
  2024-05-03 21:10 ` [PATCH v2 1/4] crypto: atmel-i2c - add missing arg description Lothar Rubusch
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Lothar Rubusch @ 2024-05-03 21:10 UTC (permalink / raw)
  To: herbert, davem
  Cc: nicolas.ferre, alexandre.belloni, claudiu.beznea, linux-crypto,
	linux-arm-kernel, linux-kernel, l.rubusch

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.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
---
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(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-05-10  9:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03 21:10 [PATCH v2 0/4] crypto: atmel-sha204a - read out otp zone Lothar Rubusch
2024-05-03 21:10 ` [PATCH v2 1/4] crypto: atmel-i2c - add missing arg description Lothar Rubusch
2024-05-03 21:10 ` [PATCH v2 2/4] crypto: atmel-i2c - rename read function Lothar Rubusch
2024-05-03 21:10 ` [PATCH v2 3/4] crypto: atmel-sha204a - add reading from otp zone Lothar Rubusch
2024-05-03 21:10 ` [PATCH v2 4/4] crypto: atmel-sha204a - provide the otp content Lothar Rubusch
2024-05-10  9:23 ` [PATCH v2 0/4] crypto: atmel-sha204a - read out otp zone Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®