]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: export arc4 defines
authorIuliana Prodan <iuliana.prodan@nxp.com>
Fri, 8 Feb 2019 13:50:08 +0000 (15:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Feb 2019 05:21:55 +0000 (13:21 +0800)
commit6056bd179e98eb00ec04fe2ad2a426271ad4dbd9
treeac98fc4fef223060b37e255578258c941544afaf
parentadb48e9138283a3997eff55e0aaf262958ef6150
crypto: export arc4 defines

Some arc4 cipher algorithm defines show up in two places:
crypto/arc4.c and drivers/crypto/bcm/cipher.h.
Let's export them in a common header and update their users.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/arc4.c
drivers/crypto/bcm/cipher.h
include/crypto/arc4.h [new file with mode: 0644]