Unix & Linux: Using kernel cryptographic functions
Channel: Roel Van de Paar
Date: 03/09/2020

Unix & Linux: Using kernel cryptographic functions


The Question: Is it possible to use kernel cryptographic functions in the userspace? Let's
say, I don't have md5sum binary installed on my system, but my kernel has
md5sum support. Can I use the kernel function from userspace? How would I do
it?
Another scenario would be, if I don't trust the md5sum binary on my system (my
system could have been compromised), but I trust my kernel (I am using
cryptographically signed kernel modules).

Solutions: Please watch the whole video to see all solutions, in order of how many people found them helpful

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user slm (https://unix.stackexchange.com/users/7453), user Martin Vegter (https://unix.stackexchange.com/users/43007), user jasonwryan (https://unix.stackexchange.com/users/6761), and the Stack Exchange Network (http://unix.stackexchange.com/questions/93601). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.