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)
commit11105693fa05f499532b330da65c78ff93ed4440
treeeada990ea9826a11a3d0ba1ce18571aa6bdce84f
parent66d3994c673d211a9ce5da3d7576d90c8e0cd377
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]