forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
kernel/include/crypto/cast6.h
....@@ -15,11 +15,10 @@
1515 u8 Kr[12][4];
1616 };
1717
18
-int __cast6_setkey(struct cast6_ctx *ctx, const u8 *key,
19
- unsigned int keylen, u32 *flags);
18
+int __cast6_setkey(struct cast6_ctx *ctx, const u8 *key, unsigned int keylen);
2019 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
2120
22
-void __cast6_encrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
23
-void __cast6_decrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
21
+void __cast6_encrypt(const void *ctx, u8 *dst, const u8 *src);
22
+void __cast6_decrypt(const void *ctx, u8 *dst, const u8 *src);
2423
2524 #endif