summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-aes.c
diff options
context:
space:
mode:
authorKavyasree Kotagiri <kavyasree.kotagiri@microchip.com>2022-01-28 08:17:55 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-05 05:10:51 +0100
commit16d20a08f15ee6ad9a4c1e17ede613927d1c553e (patch)
tree2707f0771b70dca12cee30994bc0feb12f1a8aac /drivers/crypto/atmel-aes.c
parenthwrng: core - credit entropy for low quality sources of randomness (diff)
downloadlinux-16d20a08f15ee6ad9a4c1e17ede613927d1c553e.tar.xz
linux-16d20a08f15ee6ad9a4c1e17ede613927d1c553e.zip
crypto: atmel - add support for AES and SHA IPs available on lan966x SoC
This patch adds support for hardware version of AES and SHA IPs available on lan966x SoC. Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Tested-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
-rw-r--r--drivers/crypto/atmel-aes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index fe0558403191..f72c6b3e4ad8 100644
--- a/drivers/crypto/atmel-aes.c
+++ b/drivers/crypto/atmel-aes.c
@@ -2509,6 +2509,7 @@ static void atmel_aes_get_cap(struct atmel_aes_dev *dd)
/* keep only major version number */
switch (dd->hw_version & 0xff0) {
+ case 0x700:
case 0x500:
dd->caps.has_dualbuff = 1;
dd->caps.has_cfb64 = 1;