Skip to content
Snippets Groups Projects
Select Git revision
0 results

atsha204a-i2c.h

  • Marek Behún's avatar
    aa5eb9a3
    drivers/misc: Add basic support for ATSHA204A Crypto module · aa5eb9a3
    Marek Behún authored
    
    This module can be found on the Turris Omnia board connected
    via the I2C interface.
    
    Among some cryptographic functions, the chip has a 512 bit
    One Time Programmable memory, 88 byte configuration memory
    and 512 byte general purpose memory.
    
    The Turris Omnia stores serial number and device MAC address in
    the OTP memory.
    
    This commit adds basic support for reading the EEPROM and also
    exposes the chips Random Number Generator.
    
    The driver is based on code by
      Josh Datko, Cryptotronix, jbd@cryptotronix.com
    and also
      Tomas Hlavacek, CZ.NIC, tomas.hlavacek@nic.cz
    
    Signed-off-by: default avatarTomas Hlavacek <tomas.hlavacek@nic.cz>
    Signed-off-by: default avatarMarek Behun <marek.behun@nic.cz>
    
     create mode 100644 drivers/misc/atsha204a-i2c.c
     create mode 100644 include/atsha204a-i2c.h
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    aa5eb9a3
    History
    drivers/misc: Add basic support for ATSHA204A Crypto module
    Marek Behún authored
    
    This module can be found on the Turris Omnia board connected
    via the I2C interface.
    
    Among some cryptographic functions, the chip has a 512 bit
    One Time Programmable memory, 88 byte configuration memory
    and 512 byte general purpose memory.
    
    The Turris Omnia stores serial number and device MAC address in
    the OTP memory.
    
    This commit adds basic support for reading the EEPROM and also
    exposes the chips Random Number Generator.
    
    The driver is based on code by
      Josh Datko, Cryptotronix, jbd@cryptotronix.com
    and also
      Tomas Hlavacek, CZ.NIC, tomas.hlavacek@nic.cz
    
    Signed-off-by: default avatarTomas Hlavacek <tomas.hlavacek@nic.cz>
    Signed-off-by: default avatarMarek Behun <marek.behun@nic.cz>
    
     create mode 100644 drivers/misc/atsha204a-i2c.c
     create mode 100644 include/atsha204a-i2c.h
    Signed-off-by: default avatarStefan Roese <sr@denx.de>