MIPS: OCTEON: add crypto helper functions
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 21 Dec 2014 20:53:58 +0000 (22:53 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 23 Dec 2014 21:14:21 +0000 (08:14 +1100)
commitf421258d5bf883b68b1cdaa299a8a1da3eb92e0f
treea41b9c794dab80b4c88b2b65302d95e833c3d676
parentd3f6c142865badc82fa4d151766634b895d693e8
MIPS: OCTEON: add crypto helper functions

Add crypto helper functions which are needed for kernel level usage.
The code for these has been extracted from the EdgeRouter Pro GPL tarball.

While at it, also delete duplicate definitions of the functions.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/mips/cavium-octeon/Makefile
arch/mips/cavium-octeon/crypto/Makefile [new file with mode: 0644]
arch/mips/cavium-octeon/crypto/octeon-crypto.c [new file with mode: 0644]
arch/mips/cavium-octeon/crypto/octeon-crypto.h [new file with mode: 0644]
arch/mips/include/asm/octeon/octeon.h