Here Comes libkcapi To Easily Use The Kernel Crypto API In User-Space
Written by Michael Larabel in Linux Kernel on 9 November 2014 at 05:03 AM EST. Add A Comment
Stephan Mueller has announced the first release of libkcapi, a user-space library for tapping the Linux kernel's crypto API in an easy-to-use fashion.

The libkcapi library allows for using the kernel's low-level Netlink interface in an easy manner for accessing the cryptography APIs. The library passes all of its calls onto the kernel Netlink interface and returning the results to the consumer of the user-space library. The library does support use by unprivileged processes.

Right now libkcapi can be used by symmetric ciphers and message digests / keyed message digsets while kernel patches are forthcoming to allow the library to be used by AEAD ciphers and random number generators from user-space.

Developers looking to better tap the kernel crypto interfaces from an unprivileged user-space can learn more via the libkcapi announcement.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week