diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2018-11-26 13:43:43 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-12-07 10:53:18 +0100 |
commit | 2d6711a0e3343f55f0b8c345c33ace3bc254d24b (patch) | |
tree | 92b4d337c71af47cbb270710614f55ec180c617b /rules/libkcapi.in | |
parent | c065184961ab1973c304ee31347205569b4f7536 (diff) | |
download | ptxdist-2d6711a0e3343f55f0b8c345c33ace3bc254d24b.tar.gz ptxdist-2d6711a0e3343f55f0b8c345c33ace3bc254d24b.tar.xz |
libkcapi: add new rule
Add the libkcapi package and include options to enable tests and install
AF_ALG based hashing functins.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libkcapi.in')
-rw-r--r-- | rules/libkcapi.in | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/rules/libkcapi.in b/rules/libkcapi.in new file mode 100644 index 000000000..c7474d61e --- /dev/null +++ b/rules/libkcapi.in @@ -0,0 +1,58 @@ +## SECTION=project_specific + +menuconfig LIBKCAPI + tristate + prompt "libkcapi" + help + The Linux kernel exports a Netlink interface of type AF_ALG to + allow user space to utilize the kernel crypto API. + +if LIBKCAPI + +config LIBKCAPI_MD5SUM + bool + depends on !COREUTILS_MD5SUM + depends on !BUSYBOX_MD5SUM + prompt "md5sum" + help + support md5sum cmdline util + +config LIBKCAPI_SHA1SUM + bool + depends on !COREUTILS_SHA1SUM + depends on !BUSYBOX_SHA1SUM + prompt "sha1sum" + help + support sha1sum cmdline util + +config LIBKCAPI_SHA256SUM + bool + depends on !COREUTILS_SHA256SUM + depends on !BUSYBOX_SHA256SUM + prompt "sha256sum" + help + support sha256sum cmdline util + +config LIBKCAPI_SHA384SUM + bool + depends on !COREUTILS_SHA384SUM + prompt "sha384sum" + help + support sha384sum cmdline util + +config LIBKCAPI_SHA512SUM + bool + depends on !COREUTILS_SHA512SUM + depends on !BUSYBOX_SHA512SUM + prompt "sha512sum" + help + support sha512sum cmdline util + +config LIBKCAPI_TEST + bool + depends on OPENSSL_BIN + prompt "test" + help + support kcapi tests + +endif |