summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index eaeb8a986b7d..b6376d5d973e 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -501,6 +501,29 @@ config CRYPTO_NHPOLY1305
501 select CRYPTO_HASH 501 select CRYPTO_HASH
502 select CRYPTO_POLY1305 502 select CRYPTO_POLY1305
503 503
504config CRYPTO_ADIANTUM
505 tristate "Adiantum support"
506 select CRYPTO_CHACHA20
507 select CRYPTO_POLY1305
508 select CRYPTO_NHPOLY1305
509 help
510 Adiantum is a tweakable, length-preserving encryption mode
511 designed for fast and secure disk encryption, especially on
512 CPUs without dedicated crypto instructions. It encrypts
513 each sector using the XChaCha12 stream cipher, two passes of
514 an ε-almost-∆-universal hash function, and an invocation of
515 the AES-256 block cipher on a single 16-byte block. On CPUs
516 without AES instructions, Adiantum is much faster than
517 AES-XTS.
518
519 Adiantum's security is provably reducible to that of its
520 underlying stream and block ciphers, subject to a security
521 bound. Unlike XTS, Adiantum is a true wide-block encryption
522 mode, so it actually provides an even stronger notion of
523 security than XTS, subject to the security bound.
524
525 If unsure, say N.
526
504comment "Hash modes" 527comment "Hash modes"
505 528
506config CRYPTO_CMAC 529config CRYPTO_CMAC