13 #include <asm/byteorder.h>
15 #include <linux/module.h>
16 #include <linux/string.h>
17 #include <linux/types.h>
33 return ((val & 0x00ff00ff) << 8) | ((val & 0xff00ff00) >> 8);
37 #define michael_block(l, r) \
86 src = (
const __le32 *)data;
115 mctx->
l ^= data[0] | 0x5a00;
118 mctx->
l ^= data[0] | (data[1] << 8) | 0x5a0000;
121 mctx->
l ^= data[0] | (data[1] << 8) | (data[2] << 16) |
155 .setkey = michael_setkey,
156 .init = michael_init,
157 .update = michael_update,
158 .final = michael_final,
161 .cra_name =
"michael_mic",
169 static int __init michael_mic_init(
void)
175 static void __exit michael_mic_exit(
void)