Is there a file (in /dev perhaps) that allows me to compute AES or SHA1 on data? There are analogs like /dev/urandom /dev/zero
etc.
It would work like this: open said file, write data to it and read results out of it. Using sendfile
syscall would be useful here as well, copying data directly within kernel space.