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.5.45 and has since expanded to include essentially all popular [1 ] block ciphers and hash functions.
Userspace interfaces [ edit ]
Many platforms that provide hardware acceleration of
AES encryption expose this to programs through an extension of the instruction set architecture (ISA) of the various chipsets. (e.g. AES instruction set for x86) With this sort of implementation any program ( kernel-mode or user-space) may utilize these features directly.
Some platforms, such as the ARM Kirkwood
SheevaPlug and AMD Geode processors, however, are not implemented as ISA extensions, and are only accessible through kernel-mode drivers. In order for user-mode applications that utilize encryption, such as OpenSSL or GnuTLS, to take advantage of such acceleration, they must interface with the kernel.
netlink-based interface that adds an AF_ALG interface family; it was merged into version 2.6.38 of the [2 ] Linux kernel mainline. [3 ] There is a plugin to [4 ] OpenSSL to support AF_ALG, which has been submitted for merging. [5 ] [6 ]
OpenBSD Cryptographic Framework /dev/crypto interface of OpenBSD was ported to Linux, [7 ] [8 ] but never merged. [9 ]
See also [ edit ]
References [ edit ]