Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1505434
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] crypto: cmac - return -EINVAL if block size is unsupported |
| Date | 2016-10-21 05:20 +0200 |
| Message-ID | <suyxb-8lc-1@gated-at.bofh.it> (permalink) |
| References | <sqMp3-3Xs-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] crypto: cmac - return -EINVAL if block size is unsupported Herbert Xu <herbert@gondor.apana.org.au> - 2016-10-21 05:20 +0200
csiph-web