summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-01-08 06:56:46 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 21:40:32 +0100
commitc6578f509312e4b6503f423b54bf6b9784b782ea (patch)
tree4cdd5b8c92a4579b41614759924ccb925164231f /samples
parent44c67402c3f738b7048de4464c02461bc8d0fd37 (diff)
downloadlinux-stable-c6578f509312e4b6503f423b54bf6b9784b782ea.tar.gz
linux-stable-c6578f509312e4b6503f423b54bf6b9784b782ea.tar.bz2
linux-stable-c6578f509312e4b6503f423b54bf6b9784b782ea.zip
crypto: talitos - reorder code in talitos_edesc_alloc()
commit c56c2e173773097a248fd3bace91ac8f6fc5386d upstream. This patch moves the mapping of IV after the kmalloc(). This avoids having to unmap in case kmalloc() fails. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Cc: stable@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions