Recently I’ve been experimenting with Hash-based Message Authentication Code (HMAC) and I got to the point where I had to implement it inside a kernel module. Not having any experience with how I could go about doing it, I went searching for the Crypto API on the Internet. Surprise surprise, there isn’t much to search on. I really can’t understand why there’s so much obfuscation when it comes to kernel APIs. Oh well…
All that was left for me to do was to start digging through the kernel source files and to try to piece the puzzle together. Without further ado, here is what I managed to create.
read more

WebIDauth Project