serpent.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) serpent.h (9c1e8836edbbaf3656bc07437b59c04be034ac4e)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Common values for serpent algorithms
4 */
5
6#ifndef _CRYPTO_SERPENT_H
7#define _CRYPTO_SERPENT_H
8

--- 8 unchanged lines hidden (view full) ---

17struct serpent_ctx {
18 u32 expkey[SERPENT_EXPKEY_WORDS];
19};
20
21int __serpent_setkey(struct serpent_ctx *ctx, const u8 *key,
22 unsigned int keylen);
23int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
24
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Common values for serpent algorithms
4 */
5
6#ifndef _CRYPTO_SERPENT_H
7#define _CRYPTO_SERPENT_H
8

--- 8 unchanged lines hidden (view full) ---

17struct serpent_ctx {
18 u32 expkey[SERPENT_EXPKEY_WORDS];
19};
20
21int __serpent_setkey(struct serpent_ctx *ctx, const u8 *key,
22 unsigned int keylen);
23int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
24
25void __serpent_encrypt(struct serpent_ctx *ctx, u8 *dst, const u8 *src);
26void __serpent_decrypt(struct serpent_ctx *ctx, u8 *dst, const u8 *src);
25void __serpent_encrypt(const void *ctx, u8 *dst, const u8 *src);
26void __serpent_decrypt(const void *ctx, u8 *dst, const u8 *src);
27
28#endif
27
28#endif