xref: /OK3568_Linux_fs/buildroot/package/cryptodev/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "cryptodev needs a Linux kernel to be built"
2	depends on !BR2_LINUX_KERNEL
3
4config BR2_PACKAGE_CRYPTODEV
5	bool "cryptodev"
6	depends on BR2_LINUX_KERNEL
7	help
8	  Select the desired cryptodev implementation.
9
10if BR2_PACKAGE_CRYPTODEV
11
12choice
13	prompt "cryptodev variant"
14	default BR2_PACKAGE_CRYPTODEV_LINUX if !BR2_microblaze
15	help
16	  Select the cryptodev implementation.
17
18config BR2_PACKAGE_CRYPTODEV_LINUX
19	bool "cryptodev-linux"
20	depends on !BR2_microblaze
21	select BR2_PACKAGE_HAS_CRYPTODEV
22	help
23	  Cryptodev-linux is a device that allows access to Linux kernel
24	  cryptographic drivers; thus allowing userspace applications
25	  to take advantage of hardware accelerators.
26
27	  http://cryptodev-linux.org/index.html
28
29config BR2_PACKAGE_OCF_LINUX
30	bool "ocf-linux"
31	select BR2_PACKAGE_HAS_CRYPTODEV
32	help
33	  OCF-Linux is a Linux port of the OpenBSD/FreeBSD Cryptographic
34	  Framework (OCF). This port aims to bring full asynchronous
35	  HW/SW crypto acceleration to the Linux kernel and applications
36	  running under Linux.
37
38	  http://ocf-linux.sourceforge.net/
39
40endchoice
41
42config BR2_PACKAGE_HAS_CRYPTODEV
43	bool
44
45config BR2_PACKAGE_PROVIDES_CRYPTODEV
46	string
47	default "cryptodev-linux" if BR2_PACKAGE_CRYPTODEV_LINUX
48	default "ocf-linux"       if BR2_PACKAGE_OCF_LINUX
49
50endif
51