lkml.org 
[lkml]   [2024]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] crypto: atmel-sha204a - read out otp zone
Date
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>
---

Lothar Rubusch (5):
crypto: atmel-i2 - add missing arg description
crypto: atmel-sha204a - remove unused includes
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 | 77 ++++++++++++++++++++++++++++++----
3 files changed, 102 insertions(+), 13 deletions(-)

--
2.39.2


\
 
 \ /
  Last update: 2024-05-27 18:06    [W:0.047 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site