20 #include <linux/module.h>
48 unsigned int slen,
u8 *
dst,
unsigned int *
dlen)
51 size_t tmp_len = *
dlen;
63 static int lzo_decompress(
struct crypto_tfm *tfm,
const u8 *src,
64 unsigned int slen,
u8 *dst,
unsigned int *dlen)
67 size_t tmp_len = *
dlen;
82 .cra_ctxsize =
sizeof(
struct lzo_ctx),
86 .cra_u = { .compress = {
87 .coa_compress = lzo_compress,
88 .coa_decompress = lzo_decompress } }
91 static int __init lzo_mod_init(
void)
96 static void __exit lzo_mod_fini(
void)