?

Log in

openbsd

Previous Entry Share Next Entry
ginaspider @ 12:24 pm: /dev/crypto
using /dev/crypto doesn't strike me as the fastest model for encryption. Simply because I my intuition would suggest that context switching, e.i. changing your memory maps and flushing your cache to enter kernel-space would be too much overhead. Even, I would presume, if a hardware crypto device were behind /dev/crypto. What is everyone's opinions on this? Should crypto be in userspace where it doesn't necessarily cause expensive context switches or should is it best to use /dev/crypto? Perhaps there could be a hybrid approach where your crypto framework uses user-space crypto until you reach some threshold where it then starts using /dev/crypto.

Powered by LiveJournal.com