Home
last modified time | relevance | path

Searched hist:"48 ee41bf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/crypto/
H A Dcmac.c48ee41bf Mon Oct 10 12:15:14 CDT 2016 Eric Biggers <ebiggers@google.com> crypto: cmac - return -EINVAL if block size is unsupported

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
48ee41bf Mon Oct 10 12:15:14 CDT 2016 Eric Biggers <ebiggers@google.com> crypto: cmac - return -EINVAL if block size is unsupported

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>