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


Groups > linux.kernel > #1505434 > unrolled thread

Re: [PATCH] crypto: cmac - return -EINVAL if block size is unsupported

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2016-10-21 05:20 +0200
Last post2016-10-21 05:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] crypto: cmac - return -EINVAL if block size is  unsupported Herbert Xu <herbert@gondor.apana.org.au> - 2016-10-21 05:20 +0200

#1505434 — Re: [PATCH] crypto: cmac - return -EINVAL if block size is unsupported

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-10-21 05:20 +0200
SubjectRe: [PATCH] crypto: cmac - return -EINVAL if block size is unsupported
Message-ID<suyxb-8lc-1@gated-at.bofh.it>
On Mon, Oct 10, 2016 at 10:15:14AM -0700, Eric Biggers wrote:
> cmac_create() previously returned 0 if a cipher with a block size other
> than 8 or 16 bytes was specified.  It should return -EINVAL instead.
> Granted, this doesn't actually change any behavior because cryptomgr
> currently ignores any return value other than -EAGAIN from template
> ->create() functions.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web