drm/radeon/kms: memset the allocated framebuffer before using it.
[linux-2.6/mini2440.git] / include / crypto / cryptd.h
blob55fa7bbdbc710f1a7562b1fc65c935dad9be3b4c
1 /*
2 * Software async crypto daemon
3 */
5 #ifndef _CRYPTO_CRYPT_H
6 #define _CRYPTO_CRYPT_H
8 #include <linux/crypto.h>
9 #include <linux/kernel.h>
11 struct cryptd_ablkcipher {
12 struct crypto_ablkcipher base;
15 static inline struct cryptd_ablkcipher *__cryptd_ablkcipher_cast(
16 struct crypto_ablkcipher *tfm)
18 return (struct cryptd_ablkcipher *)tfm;
21 /* alg_name should be algorithm to be cryptd-ed */
22 struct cryptd_ablkcipher *cryptd_alloc_ablkcipher(const char *alg_name,
23 u32 type, u32 mask);
24 struct crypto_blkcipher *cryptd_ablkcipher_child(struct cryptd_ablkcipher *tfm);
25 void cryptd_free_ablkcipher(struct cryptd_ablkcipher *tfm);
27 #endif