1# SPDX-License-Identifier: GPL-2.0-only 2 3menuconfig CRYPTO_HW 4 bool "Hardware crypto devices" 5 default y 6 ---help--- 7 Say Y here to get to see options for hardware crypto devices and 8 processors. This option alone does not add any kernel code. 9 10 If you say N, all options in this submenu will be skipped and disabled. 11 12if CRYPTO_HW 13 14source "drivers/crypto/allwinner/Kconfig" 15 16config CRYPTO_DEV_PADLOCK 17 tristate "Support for VIA PadLock ACE" 18 depends on X86 && !UML 19 help 20 Some VIA processors come with an integrated crypto engine 21 (so called VIA PadLock ACE, Advanced Cryptography Engine) 22 that provides instructions for very fast cryptographic 23 operations with supported algorithms. 24 25 The instructions are used only when the CPU supports them. 26 Otherwise software encryption is used. 27 28config CRYPTO_DEV_PADLOCK_AES 29 tristate "PadLock driver for AES algorithm" 30 depends on CRYPTO_DEV_PADLOCK 31 select CRYPTO_BLKCIPHER 32 select CRYPTO_LIB_AES 33 help 34 Use VIA PadLock for AES algorithm. 35 36 Available in VIA C3 and newer CPUs. 37 38 If unsure say M. The compiled module will be 39 called padlock-aes. 40 41config CRYPTO_DEV_PADLOCK_SHA 42 tristate "PadLock driver for SHA1 and SHA256 algorithms" 43 depends on CRYPTO_DEV_PADLOCK 44 select CRYPTO_HASH 45 select CRYPTO_SHA1 46 select CRYPTO_SHA256 47 help 48 Use VIA PadLock for SHA1/SHA256 algorithms. 49 50 Available in VIA C7 and newer processors. 51 52 If unsure say M. The compiled module will be 53 called padlock-sha. 54 55config CRYPTO_DEV_GEODE 56 tristate "Support for the Geode LX AES engine" 57 depends on X86_32 && PCI 58 select CRYPTO_ALGAPI 59 select CRYPTO_BLKCIPHER 60 help 61 Say 'Y' here to use the AMD Geode LX processor on-board AES 62 engine for the CryptoAPI AES algorithm. 63 64 To compile this driver as a module, choose M here: the module 65 will be called geode-aes. 66 67config ZCRYPT 68 tristate "Support for s390 cryptographic adapters" 69 depends on S390 70 select HW_RANDOM 71 help 72 Select this option if you want to enable support for 73 s390 cryptographic adapters like: 74 + PCI-X Cryptographic Coprocessor (PCIXCC) 75 + Crypto Express 2,3,4 or 5 Coprocessor (CEXxC) 76 + Crypto Express 2,3,4 or 5 Accelerator (CEXxA) 77 + Crypto Express 4 or 5 EP11 Coprocessor (CEXxP) 78 79config ZCRYPT_MULTIDEVNODES 80 bool "Support for multiple zcrypt device nodes" 81 default y 82 depends on S390 83 depends on ZCRYPT 84 help 85 With this option enabled the zcrypt device driver can 86 provide multiple devices nodes in /dev. Each device 87 node can get customized to limit access and narrow 88 down the use of the available crypto hardware. 89 90config PKEY 91 tristate "Kernel API for protected key handling" 92 depends on S390 93 depends on ZCRYPT 94 help 95 With this option enabled the pkey kernel module provides an API 96 for creation and handling of protected keys. Other parts of the 97 kernel or userspace applications may use these functions. 98 99 Select this option if you want to enable the kernel and userspace 100 API for proteced key handling. 101 102 Please note that creation of protected keys from secure keys 103 requires to have at least one CEX card in coprocessor mode 104 available at runtime. 105 106config CRYPTO_PAES_S390 107 tristate "PAES cipher algorithms" 108 depends on S390 109 depends on ZCRYPT 110 depends on PKEY 111 select CRYPTO_ALGAPI 112 select CRYPTO_BLKCIPHER 113 help 114 This is the s390 hardware accelerated implementation of the 115 AES cipher algorithms for use with protected key. 116 117 Select this option if you want to use the paes cipher 118 for example to use protected key encrypted devices. 119 120config CRYPTO_SHA1_S390 121 tristate "SHA1 digest algorithm" 122 depends on S390 123 select CRYPTO_HASH 124 help 125 This is the s390 hardware accelerated implementation of the 126 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 127 128 It is available as of z990. 129 130config CRYPTO_SHA256_S390 131 tristate "SHA256 digest algorithm" 132 depends on S390 133 select CRYPTO_HASH 134 help 135 This is the s390 hardware accelerated implementation of the 136 SHA256 secure hash standard (DFIPS 180-2). 137 138 It is available as of z9. 139 140config CRYPTO_SHA512_S390 141 tristate "SHA384 and SHA512 digest algorithm" 142 depends on S390 143 select CRYPTO_HASH 144 help 145 This is the s390 hardware accelerated implementation of the 146 SHA512 secure hash standard. 147 148 It is available as of z10. 149 150config CRYPTO_SHA3_256_S390 151 tristate "SHA3_224 and SHA3_256 digest algorithm" 152 depends on S390 153 select CRYPTO_HASH 154 help 155 This is the s390 hardware accelerated implementation of the 156 SHA3_256 secure hash standard. 157 158 It is available as of z14. 159 160config CRYPTO_SHA3_512_S390 161 tristate "SHA3_384 and SHA3_512 digest algorithm" 162 depends on S390 163 select CRYPTO_HASH 164 help 165 This is the s390 hardware accelerated implementation of the 166 SHA3_512 secure hash standard. 167 168 It is available as of z14. 169 170config CRYPTO_DES_S390 171 tristate "DES and Triple DES cipher algorithms" 172 depends on S390 173 select CRYPTO_ALGAPI 174 select CRYPTO_BLKCIPHER 175 select CRYPTO_LIB_DES 176 help 177 This is the s390 hardware accelerated implementation of the 178 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 179 180 As of z990 the ECB and CBC mode are hardware accelerated. 181 As of z196 the CTR mode is hardware accelerated. 182 183config CRYPTO_AES_S390 184 tristate "AES cipher algorithms" 185 depends on S390 186 select CRYPTO_ALGAPI 187 select CRYPTO_BLKCIPHER 188 help 189 This is the s390 hardware accelerated implementation of the 190 AES cipher algorithms (FIPS-197). 191 192 As of z9 the ECB and CBC modes are hardware accelerated 193 for 128 bit keys. 194 As of z10 the ECB and CBC modes are hardware accelerated 195 for all AES key sizes. 196 As of z196 the CTR mode is hardware accelerated for all AES 197 key sizes and XTS mode is hardware accelerated for 256 and 198 512 bit keys. 199 200config S390_PRNG 201 tristate "Pseudo random number generator device driver" 202 depends on S390 203 default "m" 204 help 205 Select this option if you want to use the s390 pseudo random number 206 generator. The PRNG is part of the cryptographic processor functions 207 and uses triple-DES to generate secure random numbers like the 208 ANSI X9.17 standard. User-space programs access the 209 pseudo-random-number device through the char device /dev/prandom. 210 211 It is available as of z9. 212 213config CRYPTO_GHASH_S390 214 tristate "GHASH hash function" 215 depends on S390 216 select CRYPTO_HASH 217 help 218 This is the s390 hardware accelerated implementation of GHASH, 219 the hash function used in GCM (Galois/Counter mode). 220 221 It is available as of z196. 222 223config CRYPTO_CRC32_S390 224 tristate "CRC-32 algorithms" 225 depends on S390 226 select CRYPTO_HASH 227 select CRC32 228 help 229 Select this option if you want to use hardware accelerated 230 implementations of CRC algorithms. With this option, you 231 can optimize the computation of CRC-32 (IEEE 802.3 Ethernet) 232 and CRC-32C (Castagnoli). 233 234 It is available with IBM z13 or later. 235 236config CRYPTO_DEV_MARVELL_CESA 237 tristate "Marvell's Cryptographic Engine driver" 238 depends on PLAT_ORION || ARCH_MVEBU 239 select CRYPTO_LIB_AES 240 select CRYPTO_LIB_DES 241 select CRYPTO_BLKCIPHER 242 select CRYPTO_HASH 243 select SRAM 244 help 245 This driver allows you to utilize the Cryptographic Engines and 246 Security Accelerator (CESA) which can be found on MVEBU and ORION 247 platforms. 248 This driver supports CPU offload through DMA transfers. 249 250config CRYPTO_DEV_NIAGARA2 251 tristate "Niagara2 Stream Processing Unit driver" 252 select CRYPTO_LIB_DES 253 select CRYPTO_BLKCIPHER 254 select CRYPTO_HASH 255 select CRYPTO_MD5 256 select CRYPTO_SHA1 257 select CRYPTO_SHA256 258 depends on SPARC64 259 help 260 Each core of a Niagara2 processor contains a Stream 261 Processing Unit, which itself contains several cryptographic 262 sub-units. One set provides the Modular Arithmetic Unit, 263 used for SSL offload. The other set provides the Cipher 264 Group, which can perform encryption, decryption, hashing, 265 checksumming, and raw copies. 266 267config CRYPTO_DEV_HIFN_795X 268 tristate "Driver HIFN 795x crypto accelerator chips" 269 select CRYPTO_LIB_DES 270 select CRYPTO_BLKCIPHER 271 select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG 272 depends on PCI 273 depends on !ARCH_DMA_ADDR_T_64BIT 274 help 275 This option allows you to have support for HIFN 795x crypto adapters. 276 277config CRYPTO_DEV_HIFN_795X_RNG 278 bool "HIFN 795x random number generator" 279 depends on CRYPTO_DEV_HIFN_795X 280 help 281 Select this option if you want to enable the random number generator 282 on the HIFN 795x crypto adapters. 283 284source "drivers/crypto/caam/Kconfig" 285 286config CRYPTO_DEV_TALITOS 287 tristate "Talitos Freescale Security Engine (SEC)" 288 select CRYPTO_AEAD 289 select CRYPTO_AUTHENC 290 select CRYPTO_BLKCIPHER 291 select CRYPTO_HASH 292 select HW_RANDOM 293 depends on FSL_SOC 294 help 295 Say 'Y' here to use the Freescale Security Engine (SEC) 296 to offload cryptographic algorithm computation. 297 298 The Freescale SEC is present on PowerQUICC 'E' processors, such 299 as the MPC8349E and MPC8548E. 300 301 To compile this driver as a module, choose M here: the module 302 will be called talitos. 303 304config CRYPTO_DEV_TALITOS1 305 bool "SEC1 (SEC 1.0 and SEC Lite 1.2)" 306 depends on CRYPTO_DEV_TALITOS 307 depends on PPC_8xx || PPC_82xx 308 default y 309 help 310 Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0 311 found on MPC82xx or the Freescale Security Engine (SEC Lite) 312 version 1.2 found on MPC8xx 313 314config CRYPTO_DEV_TALITOS2 315 bool "SEC2+ (SEC version 2.0 or upper)" 316 depends on CRYPTO_DEV_TALITOS 317 default y if !PPC_8xx 318 help 319 Say 'Y' here to use the Freescale Security Engine (SEC) 320 version 2 and following as found on MPC83xx, MPC85xx, etc ... 321 322config CRYPTO_DEV_IXP4XX 323 tristate "Driver for IXP4xx crypto hardware acceleration" 324 depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE 325 select CRYPTO_LIB_DES 326 select CRYPTO_AEAD 327 select CRYPTO_AUTHENC 328 select CRYPTO_BLKCIPHER 329 help 330 Driver for the IXP4xx NPE crypto engine. 331 332config CRYPTO_DEV_PPC4XX 333 tristate "Driver AMCC PPC4xx crypto accelerator" 334 depends on PPC && 4xx 335 select CRYPTO_HASH 336 select CRYPTO_AEAD 337 select CRYPTO_LIB_AES 338 select CRYPTO_CCM 339 select CRYPTO_CTR 340 select CRYPTO_GCM 341 select CRYPTO_BLKCIPHER 342 help 343 This option allows you to have support for AMCC crypto acceleration. 344 345config HW_RANDOM_PPC4XX 346 bool "PowerPC 4xx generic true random number generator support" 347 depends on CRYPTO_DEV_PPC4XX && HW_RANDOM 348 default y 349 ---help--- 350 This option provides the kernel-side support for the TRNG hardware 351 found in the security function of some PowerPC 4xx SoCs. 352 353config CRYPTO_DEV_OMAP 354 tristate "Support for OMAP crypto HW accelerators" 355 depends on ARCH_OMAP2PLUS 356 help 357 OMAP processors have various crypto HW accelerators. Select this if 358 you want to use the OMAP modules for any of the crypto algorithms. 359 360if CRYPTO_DEV_OMAP 361 362config CRYPTO_DEV_OMAP_SHAM 363 tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator" 364 depends on ARCH_OMAP2PLUS 365 select CRYPTO_SHA1 366 select CRYPTO_MD5 367 select CRYPTO_SHA256 368 select CRYPTO_SHA512 369 select CRYPTO_HMAC 370 help 371 OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you 372 want to use the OMAP module for MD5/SHA1/SHA2 algorithms. 373 374config CRYPTO_DEV_OMAP_AES 375 tristate "Support for OMAP AES hw engine" 376 depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS 377 select CRYPTO_AES 378 select CRYPTO_BLKCIPHER 379 select CRYPTO_ENGINE 380 select CRYPTO_CBC 381 select CRYPTO_ECB 382 select CRYPTO_CTR 383 select CRYPTO_AEAD 384 help 385 OMAP processors have AES module accelerator. Select this if you 386 want to use the OMAP module for AES algorithms. 387 388config CRYPTO_DEV_OMAP_DES 389 tristate "Support for OMAP DES/3DES hw engine" 390 depends on ARCH_OMAP2PLUS 391 select CRYPTO_LIB_DES 392 select CRYPTO_BLKCIPHER 393 select CRYPTO_ENGINE 394 help 395 OMAP processors have DES/3DES module accelerator. Select this if you 396 want to use the OMAP module for DES and 3DES algorithms. Currently 397 the ECB and CBC modes of operation are supported by the driver. Also 398 accesses made on unaligned boundaries are supported. 399 400endif # CRYPTO_DEV_OMAP 401 402config CRYPTO_DEV_PICOXCELL 403 tristate "Support for picoXcell IPSEC and Layer2 crypto engines" 404 depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK 405 select CRYPTO_AEAD 406 select CRYPTO_AES 407 select CRYPTO_AUTHENC 408 select CRYPTO_BLKCIPHER 409 select CRYPTO_LIB_DES 410 select CRYPTO_CBC 411 select CRYPTO_ECB 412 select CRYPTO_SEQIV 413 help 414 This option enables support for the hardware offload engines in the 415 Picochip picoXcell SoC devices. Select this for IPSEC ESP offload 416 and for 3gpp Layer 2 ciphering support. 417 418 Saying m here will build a module named picoxcell_crypto. 419 420config CRYPTO_DEV_SAHARA 421 tristate "Support for SAHARA crypto accelerator" 422 depends on ARCH_MXC && OF 423 select CRYPTO_BLKCIPHER 424 select CRYPTO_AES 425 select CRYPTO_ECB 426 help 427 This option enables support for the SAHARA HW crypto accelerator 428 found in some Freescale i.MX chips. 429 430config CRYPTO_DEV_EXYNOS_RNG 431 tristate "EXYNOS HW pseudo random number generator support" 432 depends on ARCH_EXYNOS || COMPILE_TEST 433 depends on HAS_IOMEM 434 select CRYPTO_RNG 435 ---help--- 436 This driver provides kernel-side support through the 437 cryptographic API for the pseudo random number generator hardware 438 found on Exynos SoCs. 439 440 To compile this driver as a module, choose M here: the 441 module will be called exynos-rng. 442 443 If unsure, say Y. 444 445config CRYPTO_DEV_S5P 446 tristate "Support for Samsung S5PV210/Exynos crypto accelerator" 447 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST 448 depends on HAS_IOMEM 449 select CRYPTO_AES 450 select CRYPTO_BLKCIPHER 451 help 452 This option allows you to have support for S5P crypto acceleration. 453 Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES 454 algorithms execution. 455 456config CRYPTO_DEV_EXYNOS_HASH 457 bool "Support for Samsung Exynos HASH accelerator" 458 depends on CRYPTO_DEV_S5P 459 depends on !CRYPTO_DEV_EXYNOS_RNG && CRYPTO_DEV_EXYNOS_RNG!=m 460 select CRYPTO_SHA1 461 select CRYPTO_MD5 462 select CRYPTO_SHA256 463 help 464 Select this to offload Exynos from HASH MD5/SHA1/SHA256. 465 This will select software SHA1, MD5 and SHA256 as they are 466 needed for small and zero-size messages. 467 HASH algorithms will be disabled if EXYNOS_RNG 468 is enabled due to hw conflict. 469 470config CRYPTO_DEV_NX 471 bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration" 472 depends on PPC64 473 help 474 This enables support for the NX hardware cryptographic accelerator 475 coprocessor that is in IBM PowerPC P7+ or later processors. This 476 does not actually enable any drivers, it only allows you to select 477 which acceleration type (encryption and/or compression) to enable. 478 479if CRYPTO_DEV_NX 480 source "drivers/crypto/nx/Kconfig" 481endif 482 483config CRYPTO_DEV_UX500 484 tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration" 485 depends on ARCH_U8500 486 help 487 Driver for ST-Ericsson UX500 crypto engine. 488 489if CRYPTO_DEV_UX500 490 source "drivers/crypto/ux500/Kconfig" 491endif # if CRYPTO_DEV_UX500 492 493config CRYPTO_DEV_ATMEL_AUTHENC 494 tristate "Support for Atmel IPSEC/SSL hw accelerator" 495 depends on ARCH_AT91 || COMPILE_TEST 496 select CRYPTO_AUTHENC 497 select CRYPTO_DEV_ATMEL_AES 498 select CRYPTO_DEV_ATMEL_SHA 499 help 500 Some Atmel processors can combine the AES and SHA hw accelerators 501 to enhance support of IPSEC/SSL. 502 Select this if you want to use the Atmel modules for 503 authenc(hmac(shaX),Y(cbc)) algorithms. 504 505config CRYPTO_DEV_ATMEL_AES 506 tristate "Support for Atmel AES hw accelerator" 507 depends on ARCH_AT91 || COMPILE_TEST 508 select CRYPTO_AES 509 select CRYPTO_AEAD 510 select CRYPTO_BLKCIPHER 511 help 512 Some Atmel processors have AES hw accelerator. 513 Select this if you want to use the Atmel module for 514 AES algorithms. 515 516 To compile this driver as a module, choose M here: the module 517 will be called atmel-aes. 518 519config CRYPTO_DEV_ATMEL_TDES 520 tristate "Support for Atmel DES/TDES hw accelerator" 521 depends on ARCH_AT91 || COMPILE_TEST 522 select CRYPTO_LIB_DES 523 select CRYPTO_BLKCIPHER 524 help 525 Some Atmel processors have DES/TDES hw accelerator. 526 Select this if you want to use the Atmel module for 527 DES/TDES algorithms. 528 529 To compile this driver as a module, choose M here: the module 530 will be called atmel-tdes. 531 532config CRYPTO_DEV_ATMEL_SHA 533 tristate "Support for Atmel SHA hw accelerator" 534 depends on ARCH_AT91 || COMPILE_TEST 535 select CRYPTO_HASH 536 help 537 Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512 538 hw accelerator. 539 Select this if you want to use the Atmel module for 540 SHA1/SHA224/SHA256/SHA384/SHA512 algorithms. 541 542 To compile this driver as a module, choose M here: the module 543 will be called atmel-sha. 544 545config CRYPTO_DEV_ATMEL_I2C 546 tristate 547 548config CRYPTO_DEV_ATMEL_ECC 549 tristate "Support for Microchip / Atmel ECC hw accelerator" 550 depends on I2C 551 select CRYPTO_DEV_ATMEL_I2C 552 select CRYPTO_ECDH 553 select CRC16 554 help 555 Microhip / Atmel ECC hw accelerator. 556 Select this if you want to use the Microchip / Atmel module for 557 ECDH algorithm. 558 559 To compile this driver as a module, choose M here: the module 560 will be called atmel-ecc. 561 562config CRYPTO_DEV_ATMEL_SHA204A 563 tristate "Support for Microchip / Atmel SHA accelerator and RNG" 564 depends on I2C 565 select CRYPTO_DEV_ATMEL_I2C 566 select HW_RANDOM 567 select CRC16 568 help 569 Microhip / Atmel SHA accelerator and RNG. 570 Select this if you want to use the Microchip / Atmel SHA204A 571 module as a random number generator. (Other functions of the 572 chip are currently not exposed by this driver) 573 574 To compile this driver as a module, choose M here: the module 575 will be called atmel-sha204a. 576 577config CRYPTO_DEV_CCP 578 bool "Support for AMD Secure Processor" 579 depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM 580 help 581 The AMD Secure Processor provides support for the Cryptographic Coprocessor 582 (CCP) and the Platform Security Processor (PSP) devices. 583 584if CRYPTO_DEV_CCP 585 source "drivers/crypto/ccp/Kconfig" 586endif 587 588config CRYPTO_DEV_MXS_DCP 589 tristate "Support for Freescale MXS DCP" 590 depends on (ARCH_MXS || ARCH_MXC) 591 select STMP_DEVICE 592 select CRYPTO_CBC 593 select CRYPTO_ECB 594 select CRYPTO_AES 595 select CRYPTO_BLKCIPHER 596 select CRYPTO_HASH 597 help 598 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB 599 co-processor on the die. 600 601 To compile this driver as a module, choose M here: the module 602 will be called mxs-dcp. 603 604source "drivers/crypto/qat/Kconfig" 605source "drivers/crypto/cavium/cpt/Kconfig" 606source "drivers/crypto/cavium/nitrox/Kconfig" 607 608config CRYPTO_DEV_CAVIUM_ZIP 609 tristate "Cavium ZIP driver" 610 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 611 ---help--- 612 Select this option if you want to enable compression/decompression 613 acceleration on Cavium's ARM based SoCs 614 615config CRYPTO_DEV_QCE 616 tristate "Qualcomm crypto engine accelerator" 617 depends on ARCH_QCOM || COMPILE_TEST 618 depends on HAS_IOMEM 619 select CRYPTO_AES 620 select CRYPTO_LIB_DES 621 select CRYPTO_ECB 622 select CRYPTO_CBC 623 select CRYPTO_XTS 624 select CRYPTO_CTR 625 select CRYPTO_BLKCIPHER 626 help 627 This driver supports Qualcomm crypto engine accelerator 628 hardware. To compile this driver as a module, choose M here. The 629 module will be called qcrypto. 630 631config CRYPTO_DEV_QCOM_RNG 632 tristate "Qualcomm Random Number Generator Driver" 633 depends on ARCH_QCOM || COMPILE_TEST 634 select CRYPTO_RNG 635 help 636 This driver provides support for the Random Number 637 Generator hardware found on Qualcomm SoCs. 638 639 To compile this driver as a module, choose M here. The 640 module will be called qcom-rng. If unsure, say N. 641 642config CRYPTO_DEV_VMX 643 bool "Support for VMX cryptographic acceleration instructions" 644 depends on PPC64 && VSX 645 help 646 Support for VMX cryptographic acceleration instructions. 647 648source "drivers/crypto/vmx/Kconfig" 649 650config CRYPTO_DEV_IMGTEC_HASH 651 tristate "Imagination Technologies hardware hash accelerator" 652 depends on MIPS || COMPILE_TEST 653 select CRYPTO_MD5 654 select CRYPTO_SHA1 655 select CRYPTO_SHA256 656 select CRYPTO_HASH 657 help 658 This driver interfaces with the Imagination Technologies 659 hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256 660 hashing algorithms. 661 662config CRYPTO_DEV_SUN4I_SS 663 tristate "Support for Allwinner Security System cryptographic accelerator" 664 depends on ARCH_SUNXI && !64BIT 665 depends on PM 666 select CRYPTO_MD5 667 select CRYPTO_SHA1 668 select CRYPTO_AES 669 select CRYPTO_LIB_DES 670 select CRYPTO_BLKCIPHER 671 help 672 Some Allwinner SoC have a crypto accelerator named 673 Security System. Select this if you want to use it. 674 The Security System handle AES/DES/3DES ciphers in CBC mode 675 and SHA1 and MD5 hash algorithms. 676 677 To compile this driver as a module, choose M here: the module 678 will be called sun4i-ss. 679 680config CRYPTO_DEV_SUN4I_SS_PRNG 681 bool "Support for Allwinner Security System PRNG" 682 depends on CRYPTO_DEV_SUN4I_SS 683 select CRYPTO_RNG 684 help 685 Select this option if you want to provide kernel-side support for 686 the Pseudo-Random Number Generator found in the Security System. 687 688config CRYPTO_DEV_ROCKCHIP 689 tristate "Rockchip's Cryptographic Engine driver" 690 depends on OF && ARCH_ROCKCHIP 691 select CRYPTO_AES 692 select CRYPTO_LIB_DES 693 select CRYPTO_MD5 694 select CRYPTO_SHA1 695 select CRYPTO_SHA256 696 select CRYPTO_HASH 697 select CRYPTO_BLKCIPHER 698 699 help 700 This driver interfaces with the hardware crypto accelerator. 701 Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode. 702 703config CRYPTO_DEV_MEDIATEK 704 tristate "MediaTek's EIP97 Cryptographic Engine driver" 705 depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST 706 select CRYPTO_AES 707 select CRYPTO_AEAD 708 select CRYPTO_BLKCIPHER 709 select CRYPTO_CTR 710 select CRYPTO_SHA1 711 select CRYPTO_SHA256 712 select CRYPTO_SHA512 713 select CRYPTO_HMAC 714 help 715 This driver allows you to utilize the hardware crypto accelerator 716 EIP97 which can be found on the MT7623 MT2701, MT8521p, etc .... 717 Select this if you want to use it for AES/SHA1/SHA2 algorithms. 718 719source "drivers/crypto/chelsio/Kconfig" 720 721source "drivers/crypto/virtio/Kconfig" 722 723config CRYPTO_DEV_BCM_SPU 724 tristate "Broadcom symmetric crypto/hash acceleration support" 725 depends on ARCH_BCM_IPROC 726 depends on MAILBOX 727 default m 728 select CRYPTO_AUTHENC 729 select CRYPTO_LIB_DES 730 select CRYPTO_MD5 731 select CRYPTO_SHA1 732 select CRYPTO_SHA256 733 select CRYPTO_SHA512 734 help 735 This driver provides support for Broadcom crypto acceleration using the 736 Secure Processing Unit (SPU). The SPU driver registers ablkcipher, 737 ahash, and aead algorithms with the kernel cryptographic API. 738 739source "drivers/crypto/stm32/Kconfig" 740 741config CRYPTO_DEV_SAFEXCEL 742 tristate "Inside Secure's SafeXcel cryptographic engine driver" 743 depends on OF || PCI || COMPILE_TEST 744 select CRYPTO_LIB_AES 745 select CRYPTO_AUTHENC 746 select CRYPTO_BLKCIPHER 747 select CRYPTO_LIB_DES 748 select CRYPTO_HASH 749 select CRYPTO_HMAC 750 select CRYPTO_MD5 751 select CRYPTO_SHA1 752 select CRYPTO_SHA256 753 select CRYPTO_SHA512 754 select CRYPTO_CHACHA20POLY1305 755 select CRYPTO_SHA3 756 help 757 This driver interfaces with the SafeXcel EIP-97 and EIP-197 cryptographic 758 engines designed by Inside Secure. It currently accelerates DES, 3DES and 759 AES block ciphers in ECB and CBC mode, as well as SHA1, SHA224, SHA256, 760 SHA384 and SHA512 hash algorithms for both basic hash and HMAC. 761 Additionally, it accelerates combined AES-CBC/HMAC-SHA AEAD operations. 762 763config CRYPTO_DEV_ARTPEC6 764 tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration." 765 depends on ARM && (ARCH_ARTPEC || COMPILE_TEST) 766 depends on OF 767 select CRYPTO_AEAD 768 select CRYPTO_AES 769 select CRYPTO_ALGAPI 770 select CRYPTO_BLKCIPHER 771 select CRYPTO_CTR 772 select CRYPTO_HASH 773 select CRYPTO_SHA1 774 select CRYPTO_SHA256 775 select CRYPTO_SHA512 776 help 777 Enables the driver for the on-chip crypto accelerator 778 of Axis ARTPEC SoCs. 779 780 To compile this driver as a module, choose M here. 781 782config CRYPTO_DEV_CCREE 783 tristate "Support for ARM TrustZone CryptoCell family of security processors" 784 depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA 785 default n 786 select CRYPTO_HASH 787 select CRYPTO_BLKCIPHER 788 select CRYPTO_LIB_DES 789 select CRYPTO_AEAD 790 select CRYPTO_AUTHENC 791 select CRYPTO_SHA1 792 select CRYPTO_MD5 793 select CRYPTO_SHA256 794 select CRYPTO_SHA512 795 select CRYPTO_HMAC 796 select CRYPTO_AES 797 select CRYPTO_CBC 798 select CRYPTO_ECB 799 select CRYPTO_CTR 800 select CRYPTO_XTS 801 select CRYPTO_SM4 802 select CRYPTO_SM3 803 help 804 Say 'Y' to enable a driver for the REE interface of the Arm 805 TrustZone CryptoCell family of processors. Currently the 806 CryptoCell 713, 703, 712, 710 and 630 are supported. 807 Choose this if you wish to use hardware acceleration of 808 cryptographic operations on the system REE. 809 If unsure say Y. 810 811source "drivers/crypto/hisilicon/Kconfig" 812 813source "drivers/crypto/amlogic/Kconfig" 814 815endif # CRYPTO_HW 816