diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-01-08 07:56:46 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-01-10 14:37:32 +0100 |
commit | c56c2e173773097a248fd3bace91ac8f6fc5386d (patch) | |
tree | 8f0314f11fe049e32c8dde77fcb2e0141f889a16 /crypto/sm3_generic.c | |
parent | crypto: adiantum - initialize crypto_spawn::inst (diff) | |
download | linux-c56c2e173773097a248fd3bace91ac8f6fc5386d.tar.xz linux-c56c2e173773097a248fd3bace91ac8f6fc5386d.zip |
crypto: talitos - reorder code in talitos_edesc_alloc()
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>
Diffstat (limited to 'crypto/sm3_generic.c')
0 files changed, 0 insertions, 0 deletions