Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1228865

Re: [PATCH v3] crypto: omap-aes: Add support for GCM mode

From Matthijs van Duin <matthijsvanduin@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3] crypto: omap-aes: Add support for GCM mode
Date 2015-09-20 12:40 +0200
Message-ID <qaKch-5Ic-5@gated-at.bofh.it> (permalink)
References <pJD8v-7nV-45@gated-at.bofh.it> <q8YCK-6fP-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 15 September 2015 at 15:28, Lokesh Vutla <lokeshvutla@ti.com> wrote:
> --- a/drivers/crypto/Kconfig
> +++ b/drivers/crypto/Kconfig
> @@ -293,6 +293,7 @@ config CRYPTO_DEV_OMAP_AES
>         depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
>         select CRYPTO_AES
>         select CRYPTO_BLKCIPHER
> +       select CRYPTO_AEAD

Is it appropriate that this also selects CRYPTO_AEAD on omap2/omap3,
even though they do not support GCM?



> +#define AES_REG_CTRL_GCM               GENMASK(17, 16)

Instead of adding these definitions one bit at a time, can't we get
the whole list over with at once? This thing supports:

ECB, CBC, and CFB-128 encryption
CTR and F8 encryption with 16/32/64/96/128-bit counter
XEX (disk encryption)
CBC-MAC authentication including the CMAC/OMAC/PMAC subflavors
F9 authentication
GCM and CCM aead
(and raw GHASH, if you happen to have a use for it)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3] crypto: omap-aes: Add support for GCM mode Lokesh Vutla <lokeshvutla@ti.com> - 2015-09-15 15:40 +0200
  Re: [PATCH v3] crypto: omap-aes: Add support for GCM mode Herbert Xu <herbert@gondor.apana.org.au> - 2015-09-18 15:20 +0200
  Re: [PATCH v3] crypto: omap-aes: Add support for GCM mode Matthijs van Duin <matthijsvanduin@gmail.com> - 2015-09-20 12:40 +0200

csiph-web