9f9df02fc3f173e16ea376c14a7202a5aca8cfcd
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / cryptodev / Config.in
1 comment "cryptodev needs a Linux kernel to be built"
2         depends on !BR2_LINUX_KERNEL
3
4 config BR2_PACKAGE_CRYPTODEV
5         bool "cryptodev"
6         depends on BR2_LINUX_KERNEL
7         help
8           Select the desired cryptodev implementation.
9
10 if BR2_PACKAGE_CRYPTODEV
11
12 choice
13         prompt "cryptodev variant"
14         default BR2_PACKAGE_CRYPTODEV_LINUX if !BR2_microblaze
15         help
16           Select the cryptodev implementation.
17
18 config 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
29 config 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 HW/SW
35           crypto acceleration to the Linux kernel and applications
36           running under Linux.
37
38           http://ocf-linux.sourceforge.net/
39
40 endchoice
41
42 config BR2_PACKAGE_HAS_CRYPTODEV
43         bool
44
45 config 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
50 endif