Crypto API (Linux)
Crypto API is a cryptography framework in the Linux kernel, for various parts of the kernel that deal with cryptography, such as IPsec and dm-crypt. It was introduced in kernel version 2.4.12[citation needed] and has since expanded to include essentially all popular block ciphers and hash functions.
Userspace interfaces
A userspace API to the kernel Crypto API is important when hardware crypto acceleration (typically AES) is exposed to the OS without an extension to the instruction set, such as with popular ARM Kirkwood SheevaPlug and AMD Geode processors.
AF_ALG
A netlink based interface, that adds an AF_ALG
interface family,[1] was merged in 2.6.38.[2][3] There is a plugin to OpenSSL to support AF_ALG,[4] which has been submitted for merging.[5]
cryptodev
The /dev/crypto
interface of OpenBSD was ported to Linux[6][7], but never merged.
References
- ^ Edge, Jake (October 20, 2010). "A netlink-based user-space crypto API". LWN.net. Retrieved 29 December 2011.
- ^ Linux_2_6_38 changes
- ^ 03c8efc fe869cd 8ff5909
- ^ "OpenSSL - AF_ALG". 2011-10-22 at 10:34. Retrieved 29 December 2011.
{{cite web}}
:|first=
missing|last=
(help); Check date values in:|date=
(help) - ^ "#2554: Patch: AF_ALG dynamic engine for linux >= 2.6.38". OpenSSL. Sun Jul 03 21:24:59 2011. Retrieved 29 December 2011.
{{cite web}}
:|first=
missing|last=
(help); Check date values in:|date=
(help) - ^ Ludvig, Michal. "CryptoDev for Linux". Retrieved 29 December 2011.
- ^ Edge, Jake (August 25, 2010). "An API for user-space access to kernel cryptography". LWN.net. Retrieved 29 December 2011.
See also