]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel-ecc - factor out code that can be shared
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 24 May 2019 16:26:48 +0000 (18:26 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 May 2019 07:35:45 +0000 (15:35 +0800)
commitb6ab84db290bf65e7d0654c52a58845a2a5e13e7
treebfd1e21b2b68dad8d2f213b9a7b59c70bde84e81
parent4db3152182ccc08eaae45d5d6ae0cc30bff1ae56
crypto: atmel-ecc - factor out code that can be shared

In preparation of adding support for the random number generator in
Atmel atsha204a devices, refactor the existing atmel-ecc driver (which
drives hardware that is closely related) so we can share the basic
I2C and command queuing routines.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/atmel-ecc.c
drivers/crypto/atmel-ecc.h [deleted file]
drivers/crypto/atmel-i2c.c [new file with mode: 0644]
drivers/crypto/atmel-i2c.h [new file with mode: 0644]