]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: amlogic - Use kmemdup in meson_aes_setkey()
authorYueHaibing <yuehaibing@huawei.com>
Tue, 29 Oct 2019 01:55:23 +0000 (01:55 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Nov 2019 15:00:46 +0000 (23:00 +0800)
commitb196364e729cf1343c0ba5c94fce7fdbf22e1de1
tree1f2c708e4be6d61ad62d9de78b6ed4280767754d
parent46cf13cc9f0fd576bca705bdcd094731c628d92c
crypto: amlogic - Use kmemdup in meson_aes_setkey()

Use kmemdup rather than duplicating its implementation

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amlogic/amlogic-gxl-cipher.c