]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - crypto/Kconfig
ARM: replace unnecessary perl with sed and the shell $(( )) operator
[mirror_ubuntu-bionic-kernel.git] / crypto / Kconfig
index ac5fb37e6f4b71513a83b53af5683b4f6b859d7b..9327fbfccf5ac94ee62b32771e39c1e90d754554 100644 (file)
@@ -130,7 +130,7 @@ config CRYPTO_DH
 
 config CRYPTO_ECDH
        tristate "ECDH algorithm"
-       select CRYTPO_KPP
+       select CRYPTO_KPP
        select CRYPTO_RNG_DEFAULT
        help
          Generic implementation of the ECDH algorithm
@@ -860,6 +860,17 @@ config CRYPTO_SHA3
          References:
          http://keccak.noekeon.org/
 
+config CRYPTO_SM3
+       tristate "SM3 digest algorithm"
+       select CRYPTO_HASH
+       help
+         SM3 secure hash function as defined by OSCCA GM/T 0004-2012 SM3).
+         It is part of the Chinese Commercial Cryptography suite.
+
+         References:
+         http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
+         https://datatracker.ietf.org/doc/html/draft-shen-sm3-hash
+
 config CRYPTO_TGR192
        tristate "Tiger digest algorithms"
        select CRYPTO_HASH