diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-11-13 09:43:14 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-12-06 09:16:26 (GMT) |
commit | 044ab5257806310a0150146df3b74b8adaa4ebcf (patch) | |
tree | 0396b6068d9547c28841c1808c48adf97e474e60 /include/crypto/cast_common.h | |
parent | f0fcf2002bf122afe8fe1b74b2cee3710c7e6cd9 (diff) | |
download | linux-044ab5257806310a0150146df3b74b8adaa4ebcf.tar.xz |
crypto: cast5/cast6 - move lookup tables to shared module
CAST5 and CAST6 both use same lookup tables, which can be moved shared module
'cast_common'.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/cast_common.h')
-rw-r--r-- | include/crypto/cast_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/crypto/cast_common.h b/include/crypto/cast_common.h new file mode 100644 index 0000000..b7df35c --- /dev/null +++ b/include/crypto/cast_common.h @@ -0,0 +1,9 @@ +#ifndef _CRYPTO_CAST_COMMON_H +#define _CRYPTO_CAST_COMMON_H + +extern const u32 cast_s1[256]; +extern const u32 cast_s2[256]; +extern const u32 cast_s3[256]; +extern const u32 cast_s4[256]; + +#endif |