hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/crypto/cryptd.h
....@@ -18,27 +18,11 @@
1818 #include <crypto/hash.h>
1919 #include <crypto/skcipher.h>
2020
21
-struct cryptd_ablkcipher {
22
- struct crypto_ablkcipher base;
23
-};
24
-
25
-static inline struct cryptd_ablkcipher *__cryptd_ablkcipher_cast(
26
- struct crypto_ablkcipher *tfm)
27
-{
28
- return (struct cryptd_ablkcipher *)tfm;
29
-}
30
-
31
-/* alg_name should be algorithm to be cryptd-ed */
32
-struct cryptd_ablkcipher *cryptd_alloc_ablkcipher(const char *alg_name,
33
- u32 type, u32 mask);
34
-struct crypto_blkcipher *cryptd_ablkcipher_child(struct cryptd_ablkcipher *tfm);
35
-bool cryptd_ablkcipher_queued(struct cryptd_ablkcipher *tfm);
36
-void cryptd_free_ablkcipher(struct cryptd_ablkcipher *tfm);
37
-
3821 struct cryptd_skcipher {
3922 struct crypto_skcipher base;
4023 };
4124
25
+/* alg_name should be algorithm to be cryptd-ed */
4226 struct cryptd_skcipher *cryptd_alloc_skcipher(const char *alg_name,
4327 u32 type, u32 mask);
4428 struct crypto_skcipher *cryptd_skcipher_child(struct cryptd_skcipher *tfm);