diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2018-01-29 11:38:37 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-15 18:26:55 +0300 |
commit | d3e41b50b46b5ee26793c9c28ccc2d3e45f4f9cc (patch) | |
tree | e07aae61f0dd418d734062b2b780ea91ace5f98b /drivers/crypto/stm32 | |
parent | 87ec3a0b1c2de80ffca532abb5d7acd18dc905e3 (diff) | |
download | linux-d3e41b50b46b5ee26793c9c28ccc2d3e45f4f9cc.tar.xz |
crypto: caam/qi - add GCM support
Add support for AES working in Galois Counter Mode.
The following algorithms are added:
gcm(aes)
rfc4106(gcm(aes))
rfc4543(gcm(aes))
There is a limitation related to IV size, similar to the one present in
SW implementation (crypto/gcm.c):
The only IV size allowed is 12 bytes. It will be padded by HW to the right
with 0x0000_0001 (up to 16 bytes - AES block size), according to the
GCM specification.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/stm32')
0 files changed, 0 insertions, 0 deletions