xref: /openbmc/linux/drivers/crypto/Kconfig (revision 9fe757b0)
11da177e4SLinus Torvaldsmenu "Hardware crypto devices"
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK
45644bda5SMichal Ludvig	tristate "Support for VIA PadLock ACE"
5cce9e06dSHerbert Xu	depends on X86_32
6cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
75644bda5SMichal Ludvig	default m
81da177e4SLinus Torvalds	help
91da177e4SLinus Torvalds	  Some VIA processors come with an integrated crypto engine
101da177e4SLinus Torvalds	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
111191f0a4SMichal Ludvig	  that provides instructions for very fast cryptographic
121191f0a4SMichal Ludvig	  operations with supported algorithms.
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds	  The instructions are used only when the CPU supports them.
155644bda5SMichal Ludvig	  Otherwise software encryption is used.
165644bda5SMichal Ludvig
175644bda5SMichal Ludvig	  Selecting M for this option will compile a helper module
185644bda5SMichal Ludvig	  padlock.ko that should autoload all below configured
195644bda5SMichal Ludvig	  algorithms. Don't worry if your hardware does not support
205644bda5SMichal Ludvig	  some or all of them. In such case padlock.ko will
215644bda5SMichal Ludvig	  simply write a single line into the kernel log informing
225644bda5SMichal Ludvig	  about its failure but everything will keep working fine.
235644bda5SMichal Ludvig
245644bda5SMichal Ludvig	  If you are unsure, say M. The compiled module will be
255644bda5SMichal Ludvig	  called padlock.ko
261da177e4SLinus Torvalds
271da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK_AES
281191f0a4SMichal Ludvig	tristate "PadLock driver for AES algorithm"
291da177e4SLinus Torvalds	depends on CRYPTO_DEV_PADLOCK
3028ce728aSHerbert Xu	select CRYPTO_BLKCIPHER
311191f0a4SMichal Ludvig	default m
321da177e4SLinus Torvalds	help
331da177e4SLinus Torvalds	  Use VIA PadLock for AES algorithm.
341da177e4SLinus Torvalds
351191f0a4SMichal Ludvig	  Available in VIA C3 and newer CPUs.
361191f0a4SMichal Ludvig
371191f0a4SMichal Ludvig	  If unsure say M. The compiled module will be
381191f0a4SMichal Ludvig	  called padlock-aes.ko
391191f0a4SMichal Ludvig
406c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA
416c833275SMichal Ludvig	tristate "PadLock driver for SHA1 and SHA256 algorithms"
426c833275SMichal Ludvig	depends on CRYPTO_DEV_PADLOCK
436c833275SMichal Ludvig	select CRYPTO_SHA1
446c833275SMichal Ludvig	select CRYPTO_SHA256
456c833275SMichal Ludvig	default m
466c833275SMichal Ludvig	help
476c833275SMichal Ludvig	  Use VIA PadLock for SHA1/SHA256 algorithms.
486c833275SMichal Ludvig
496c833275SMichal Ludvig	  Available in VIA C7 and newer processors.
506c833275SMichal Ludvig
516c833275SMichal Ludvig	  If unsure say M. The compiled module will be
526c833275SMichal Ludvig	  called padlock-sha.ko
536c833275SMichal Ludvig
549fe757b0SJordan Crouseconfig CRYPTO_DEV_GEODE
559fe757b0SJordan Crouse	tristate "Support for the Geode LX AES engine"
569fe757b0SJordan Crouse	depends on CRYPTO && X86_32
579fe757b0SJordan Crouse	select CRYPTO_ALGAPI
589fe757b0SJordan Crouse	select CRYPTO_BLKCIPHER
599fe757b0SJordan Crouse	default m
609fe757b0SJordan Crouse	help
619fe757b0SJordan Crouse	  Say 'Y' here to use the AMD Geode LX processor on-board AES
629fe757b0SJordan Crouse	  engine for the CryptoAPI AES alogrithm.
639fe757b0SJordan Crouse
649fe757b0SJordan Crouse	  To compile this driver as a module, choose M here: the module
659fe757b0SJordan Crouse	  will be called geode-aes.
669fe757b0SJordan Crouse
671da177e4SLinus Torvaldsendmenu
68