crypto: inside-secure - add support for authenc(hmac(sha*),rfc3686(ctr(aes))) suites
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 5 Jul 2019 06:49:24 +0000 (08:49 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 12:08:01 +0000 (22:08 +1000)
commit0e17e3621a28a67871a8c69f5fccdf7d009fd939
tree58420024a2d5a9dac60a9faf6d97571251d5a4fa
parent54f9e8fa6668366620655df4e6ce5e7b9bf0de8c
crypto: inside-secure - add support for authenc(hmac(sha*),rfc3686(ctr(aes))) suites

This patch adds support for the following AEAD ciphersuites:
- authenc(hmac(sha1),rfc3686(ctr(aes)))
- authenc(hmac(sha224),rfc3686(ctr(aes)))
- authenc(hmac(sha256),rfc3686(ctr(aes)))
- authenc(hmac(sha384),rfc3686(ctr(aes)))
- authenc(hmac(sha512),rfc3686(ctr(aes)))

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c