]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - crypto/testmgr.c
crypto: testmgr - limit IV copy length in aead tests
authorCristian Stoica <cristian.stoica@freescale.com>
Wed, 28 Jan 2015 09:03:05 +0000 (11:03 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 4 Feb 2015 09:59:41 +0000 (20:59 +1100)
commit424a5da6919073392c11345d1b7baa9f31c62734
tree7bab3bfde78c5be061b7dd28e0a18934221d3702
parentc47689931fff5f8882a923bbd8d8590f038fa097
crypto: testmgr - limit IV copy length in aead tests

The working copy of IV is the same size as the transformation's IV.
It is not necessary to copy more than that from the template since
iv_len is usually less than MAX_IVLEN and the rest of the copied data
is garbage.

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c