kumquat-buildroot/package/libkcapi/Config.in
Tan En De 1ce9af6ccf package/libkcapi: support enabling lib-asym and lib-kpp
Add Kconfig options to allow enabling asymmetric cipher support
(--enable-lib-asym) and key protocol primitives support
(--enable-lib-kpp) in library.

Signed-off-by: Tan En De <ende.tan@linux.starfivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-30 11:41:39 +01:00

49 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_LIBKCAPI
bool "libkcapi"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
help
Linux Kernel Crypto API userspace interface library
http://www.chronox.de/libkcapi.html
if BR2_PACKAGE_LIBKCAPI
config BR2_PACKAGE_LIBKCAPI_ASYM
bool "build asymmetric ciphers library"
help
Using this library requires the Linux kernel to be patched
with libkcapi Linux kernel patches found in libkcapi
kernel-patches/ directory.
config BR2_PACKAGE_LIBKCAPI_DGSTAPP
bool "build dgst application"
config BR2_PACKAGE_LIBKCAPI_ENCAPP
bool "build enc application"
config BR2_PACKAGE_LIBKCAPI_HASHER
bool "build hasher application"
depends on !BR2_STATIC_LIBS # dlfcn.h
comment "hasher application needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_LIBKCAPI_KPP
bool "build KPP library"
help
Using this library requires the Linux kernel to be patched
with libkcapi Linux kernel patches found in libkcapi
kernel-patches/ directory.
config BR2_PACKAGE_LIBKCAPI_RNGAPP
bool "build rng read application"
config BR2_PACKAGE_LIBKCAPI_SPEED
bool "build speed-test program"
config BR2_PACKAGE_LIBKCAPI_TEST
bool "build test program"
depends on BR2_USE_MMU # fork()
endif