SHA-1 hash calculate in Kernel.
From: Bernd Petrovitsch <hidden>
Date: 2015-08-29 11:49:19
From: Bernd Petrovitsch <hidden>
Date: 2015-08-29 11:49:19
On Fre, 2015-08-28 at 15:36 +0800, lx wrote: [...]
//way 2
/*
char *plaintext = kmalloc(sizeof(char), GFP_KERNEL);
plaintext = "c";
I don't think that this line doesn't give any warning ...
Kind regards,
Bernd
--
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
- Linus Torvalds