crypto: sm4 - introduce SM4 symmetric cipher algorithm
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 6 Mar 2018 09:44:42 +0000 (09:44 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Mar 2018 15:35:48 +0000 (23:35 +0800)
commit747c8ce4e710cf2d72d115f84b2d0d6f4aa504b4
tree5982ec8882440954bdbe3a602ef967c1291d5581
parent5110e65536f35e854f5d520b913505dbdbe22787
crypto: sm4 - introduce SM4 symmetric cipher algorithm

Introduce the SM4 cipher algorithms (OSCCA GB/T 32907-2016).

SM4 (GBT.32907-2016) is a cryptographic standard issued by the
Organization of State Commercial Administration of China (OSCCA)
as an authorized cryptographic algorithms for the use within China.

SMS4 was originally created for use in protecting wireless
networks, and is mandated in the Chinese National Standard for
Wireless LAN WAPI (Wired Authentication and Privacy Infrastructure)
(GB.15629.11-2003).

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/sm4_generic.c [new file with mode: 0644]
include/crypto/sm4.h [new file with mode: 0644]