Skip to content

Commit e2ee95b

Browse files
Hye-Shik ChangDavid S. Miller
authored andcommitted
[CRYPTO] seed: New cipher algorithm
This patch adds support for the SEED cipher (RFC4269). This patch have been used in few VPN appliance vendors in Korea for several years. And it was verified by KISA, who developed the algorithm itself. As its importance in Korean banking industry, it would be great if linux incorporates the support. Signed-off-by: Hye-Shik Chang <perky@FreeBSD.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent aa379a6 commit e2ee95b

5 files changed

Lines changed: 591 additions & 1 deletion

File tree

‎crypto/Kconfig‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,20 @@ config CRYPTO_ANUBIS
412412
<https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
413413
<http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
414414

415+
config CRYPTO_SEED
416+
tristate "SEED cipher algorithm"
417+
select CRYPTO_ALGAPI
418+
help
419+
SEED cipher algorithm (RFC4269).
420+
421+
SEED is a 128-bit symmetric key block cipher that has been
422+
developed by KISA (Korea Information Security Agency) as a
423+
national standard encryption algorithm of the Republic of Korea.
424+
It is a 16 round block cipher with the key size of 128 bit.
425+
426+
See also:
427+
<http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
428+
415429

416430
config CRYPTO_DEFLATE
417431
tristate "Deflate compression algorithm"

‎crypto/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ obj-$(CONFIG_CRYPTO_ARC4) += arc4.o
4545
obj-$(CONFIG_CRYPTO_TEA) += tea.o
4646
obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
4747
obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
48+
obj-$(CONFIG_CRYPTO_SEED) += seed.o
4849
obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
4950
obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
5051
obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o

0 commit comments

Comments
 (0)