]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel-ecc - introduce Microchip / Atmel ECC driver
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Wed, 5 Jul 2017 10:07:59 +0000 (13:07 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:50:58 +0000 (17:50 +0800)
commit220f5c620c26e69e641cd27493f5f59ee28ce956
treeeada990ea9826a11a3d0ba1ce18571aa6bdce84f
parent13c0ddde3d5c3e447244877e5b4689c44e10ab97
crypto: atmel-ecc - introduce Microchip / Atmel ECC driver

Add ECDH support for ATECC508A (I2C) device.

The device features hardware acceleration for the NIST standard
P256 prime curve and supports the complete key life cycle from
private key generation to ECDH key agreement.

Random private key generation is supported internally within
the device to ensure that the private key can never be known
outside of the device. If the user wants to use its own private
keys, the driver will fallback to the ecdh software implementation.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/atmel-crypto.txt
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/atmel-ecc.c [new file with mode: 0644]
drivers/crypto/atmel-ecc.h [new file with mode: 0644]