Horia Geantă
df80bfd343
crypto: caam/jr - update gcm detection logic
...
GCM detection logic has to change for two reasons:
-some CAAM instantiations with Era < 10, even though they have AES LP,
they now support GCM mode
-Era 10 upwards, there is a dedicated bit in AESA_VERSION[AESA_MISC]
field for GCM support
For Era 9 and earlier, all AES accelerator versions support GCM,
except for AES LP (CHAVID_LS[AESVID]=3) with revision CRNR[AESRN] < 8.
For Era 10 and later, bit 9 of the AESA_VERSION register should be used
to detect GCM support in AES accelerator.
Note: caam/qi and caam/qi2 are drivers for QI (Queue Interface), which
is used in DPAA-based SoCs; for now, we rely on CAAM having an AES HP
and this AES accelerator having support for GCM.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com >
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2019-04-25 15:38:12 +08:00
..
2019-03-16 13:05:32 -07:00
2019-02-26 11:23:49 +00:00
2019-02-19 14:50:11 +01:00
2019-03-09 16:53:47 -08:00
2019-02-15 19:48:39 +01:00
2019-03-16 13:05:32 -07:00
2019-04-25 15:38:12 +08:00
2019-03-02 19:51:23 +01:00
2019-03-06 09:41:12 -08:00
2019-02-08 06:46:59 -07:00
2019-04-15 17:35:10 +08:00
2019-03-14 08:46:17 -07:00
2019-03-15 15:00:28 -07:00
2019-03-08 15:06:38 -08:00
2019-03-12 09:47:30 +01:00
2019-03-12 23:46:55 +01:00
2019-04-25 15:38:12 +08:00
2019-03-16 13:05:32 -07:00
2019-03-14 09:11:54 -07:00
2019-03-08 09:11:39 -08:00
2019-02-11 17:21:38 +09:00
2019-03-12 10:04:02 -07:00
2019-02-11 09:05:58 +01:00
2019-02-15 16:54:38 +01:00
2019-03-09 14:57:08 -08:00
2019-03-15 13:58:35 -07:00
2019-03-05 15:43:05 +01:00
2019-02-14 12:36:21 +01:00
2019-03-06 14:18:59 -08:00
2019-02-25 09:06:00 -08:00
2019-03-15 14:37:46 -07:00
2019-03-13 18:07:10 +01:00
2019-03-04 19:05:02 -08:00
2019-03-11 09:34:00 -07:00
2019-02-15 10:49:14 +01:00
2019-03-08 10:02:58 -08:00
2019-04-25 15:38:12 +08:00
2019-03-11 10:57:11 -07:00
2019-03-15 14:41:30 -07:00
2019-03-10 10:17:23 -07:00
2019-03-12 14:36:02 -07:00
2019-03-10 13:16:37 -07:00
2019-03-07 08:59:26 -07:00
2019-03-12 10:04:02 -07:00
2019-03-11 02:51:43 -05:00
2019-04-25 15:38:12 +08:00
2019-03-10 11:54:48 -07:00
2019-03-10 11:54:48 -07:00
2019-03-09 15:53:03 -08:00
2019-03-08 14:12:17 -08:00
2019-03-13 09:34:35 -07:00
2019-04-25 15:38:12 +08:00
2019-04-25 15:38:12 +08:00
2019-03-15 14:32:59 -07:00
2019-03-16 13:05:32 -07:00
2019-03-16 12:36:39 -07:00
2019-03-06 14:18:59 -08:00
2019-03-12 10:04:02 -07:00
2019-03-12 09:45:56 +01:00
2019-03-10 11:54:48 -07:00
2019-02-13 19:45:56 +01:00
2019-03-10 12:29:52 -07:00
2019-03-10 10:17:23 -07:00
2019-03-08 08:23:15 -08:00
2019-03-11 11:12:50 -07:00
2019-03-12 09:46:32 -07:00
2019-02-24 21:12:01 +01:00
2019-02-20 00:41:01 +01:00
2019-02-18 11:31:39 +01:00
2019-03-05 14:08:26 -08:00
2019-03-04 12:52:49 +01:00
2019-03-07 18:32:02 -08:00
2019-03-04 00:01:08 +00:00
2019-03-14 09:00:06 -07:00
2019-02-15 17:21:32 +01:00
2019-02-20 21:15:54 -08:00
2019-03-12 09:46:32 -07:00
2019-03-15 15:00:28 -07:00
2019-03-16 12:51:50 -07:00
2019-03-06 09:41:12 -08:00
2019-03-09 14:57:08 -08:00
2019-02-14 09:14:50 +01:00
2019-04-25 15:38:12 +08:00
2019-04-25 15:38:12 +08:00
2019-03-06 09:41:12 -08:00
2019-03-08 09:52:41 -08:00
2019-04-25 15:38:12 +08:00
2019-03-14 09:11:54 -07:00
2019-01-31 16:36:52 +01:00
2019-03-12 10:04:02 -07:00
2019-03-07 12:56:26 -08:00
2019-03-10 12:47:57 -07:00
2019-03-15 14:22:59 -07:00
2019-02-27 16:00:20 +01:00
2019-03-06 11:19:57 -05:00
2019-03-11 11:22:15 -07:00
2019-03-15 15:35:35 +01:00
2019-03-10 12:29:52 -07:00