#ifndef _CRYPTO_CAST5_H #define _CRYPTO_CAST5_H #include #include #include #define CAST5_BLOCK_SIZE 8 #define CAST5_MIN_KEY_SIZE 5 #define CAST5_MAX_KEY_SIZE 16 struct cast5_ctx { u32 Km[16]; u8 Kr[16]; int rr; /* rr ? rounds = 12 : rounds = 16; (rfc 2144) */ }; int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen); void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src); void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src); #endif ='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 15:23:17 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-27 10:30:48 -0700
commit14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9 (patch)
tree422111bb36412a82af3b1efa1a1b4a93cd106dec /drivers
parent1037b2787b6df12f31b7051f7cdbb289f7972ee7 (diff)
misc: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')