diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2011-05-26 13:30:34 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-06-30 07:43:27 +0800 |
commit | a18b989a5c12ca82ed37f94279273ddbc073758a (patch) | |
tree | 496c4c043d7712a52691cadf5df8025ab32a63c9 /crypto | |
parent | 258e43fdb00c73d424b114ae3850accd55b27cbb (diff) | |
download | linux-stable-a18b989a5c12ca82ed37f94279273ddbc073758a.tar.gz linux-stable-a18b989a5c12ca82ed37f94279273ddbc073758a.tar.bz2 linux-stable-a18b989a5c12ca82ed37f94279273ddbc073758a.zip |
crypto: caam - fix operator precedence in shared descriptor allocation
setkey allocates 16 bytes (CAAM_CMD_SZ *
DESC_AEAD_SHARED_TEXT_LEN) shy of what is needed to
store the shared descriptor, resulting in memory
corruption. Fix this.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions