11da177e4SLinus Torvaldsmenu "Hardware crypto devices" 21da177e4SLinus Torvalds 31da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK 4*5644bda5SMichal Ludvig tristate "Support for VIA PadLock ACE" 5cce9e06dSHerbert Xu depends on X86_32 6cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7*5644bda5SMichal 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. 15*5644bda5SMichal Ludvig Otherwise software encryption is used. 16*5644bda5SMichal Ludvig 17*5644bda5SMichal Ludvig Selecting M for this option will compile a helper module 18*5644bda5SMichal Ludvig padlock.ko that should autoload all below configured 19*5644bda5SMichal Ludvig algorithms. Don't worry if your hardware does not support 20*5644bda5SMichal Ludvig some or all of them. In such case padlock.ko will 21*5644bda5SMichal Ludvig simply write a single line into the kernel log informing 22*5644bda5SMichal Ludvig about its failure but everything will keep working fine. 23*5644bda5SMichal Ludvig 24*5644bda5SMichal Ludvig If you are unsure, say M. The compiled module will be 25*5644bda5SMichal 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 301191f0a4SMichal Ludvig default m 311da177e4SLinus Torvalds help 321da177e4SLinus Torvalds Use VIA PadLock for AES algorithm. 331da177e4SLinus Torvalds 341191f0a4SMichal Ludvig Available in VIA C3 and newer CPUs. 351191f0a4SMichal Ludvig 361191f0a4SMichal Ludvig If unsure say M. The compiled module will be 371191f0a4SMichal Ludvig called padlock-aes.ko 381191f0a4SMichal Ludvig 396c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA 406c833275SMichal Ludvig tristate "PadLock driver for SHA1 and SHA256 algorithms" 416c833275SMichal Ludvig depends on CRYPTO_DEV_PADLOCK 426c833275SMichal Ludvig select CRYPTO_SHA1 436c833275SMichal Ludvig select CRYPTO_SHA256 446c833275SMichal Ludvig default m 456c833275SMichal Ludvig help 466c833275SMichal Ludvig Use VIA PadLock for SHA1/SHA256 algorithms. 476c833275SMichal Ludvig 486c833275SMichal Ludvig Available in VIA C7 and newer processors. 496c833275SMichal Ludvig 506c833275SMichal Ludvig If unsure say M. The compiled module will be 516c833275SMichal Ludvig called padlock-sha.ko 526c833275SMichal Ludvig 531da177e4SLinus Torvaldsendmenu 54