1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Common values for ARC4 Cipher Algorithm
9 #include <linux/types.h>
11 #define ARC4_MIN_KEY_SIZE 1
12 #define ARC4_MAX_KEY_SIZE 256
13 #define ARC4_BLOCK_SIZE 1
20 int cifs_arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len);
21 void cifs_arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len);
23 #endif /* _CRYPTO_ARC4_H */