]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-9710-8 tcrypt: change memory allocation for test_ahash_speed output buffer
authorVictoria Milhoan <vicki.milhoan@freescale.com>
Wed, 5 Nov 2014 12:13:05 +0000 (05:13 -0700)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:19:54 +0000 (21:19 -0600)
commit3e6e5cf804ab763726236f6aa6b5702a333f265d
tree2cbdae6de0b7596cd96c5b9e15107e7c88ee7152
parentf407c623153a8b6a723bdc4fa0b3c63fda5b77f0
MLK-9710-8 tcrypt: change memory allocation for test_ahash_speed output buffer

Change allocation of the tcrypt module's test_ahash_speed() output buffer to
use kmalloc().  This avoids a segmentation fault when the buffer is used in a
dma_map_*() call.

Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
(cherry picked from commit 3c8c56d1bd82433af6a565d183bdb632fd01a13a)
crypto/tcrypt.c