Skip to content

Commit 396be41

Browse files
WOnder93herbertx
authored andcommitted
crypto: morus - Add generic MORUS AEAD implementations
This patch adds the generic implementation of the MORUS family of AEAD algorithms (MORUS-640 and MORUS-1280). The original authors of MORUS are Hongjun Wu and Tao Huang. At the time of writing, MORUS is one of the finalists in CAESAR, an open competition intended to select a portfolio of alternatives to the problematic AES-GCM: https://competitions.cr.yp.to/caesar-submissions.html https://competitions.cr.yp.to/round3/morusv2.pdf Signed-off-by: Ondrej Mosnacek <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 1d373d4 commit 396be41

File tree

5 files changed

+1130
-0
lines changed

5 files changed

+1130
-0
lines changed

crypto/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,18 @@ config CRYPTO_AEGIS256_AESNI_SSE2
334334
help
335335
AESNI+SSE2 implementation of the AEGSI-256 dedicated AEAD algorithm.
336336

337+
config CRYPTO_MORUS640
338+
tristate "MORUS-640 AEAD algorithm"
339+
select CRYPTO_AEAD
340+
help
341+
Support for the MORUS-640 dedicated AEAD algorithm.
342+
343+
config CRYPTO_MORUS1280
344+
tristate "MORUS-1280 AEAD algorithm"
345+
select CRYPTO_AEAD
346+
help
347+
Support for the MORUS-1280 dedicated AEAD algorithm.
348+
337349
config CRYPTO_SEQIV
338350
tristate "Sequence Number IV Generator"
339351
select CRYPTO_AEAD

crypto/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o
8989
obj-$(CONFIG_CRYPTO_AEGIS128) += aegis128.o
9090
obj-$(CONFIG_CRYPTO_AEGIS128L) += aegis128l.o
9191
obj-$(CONFIG_CRYPTO_AEGIS256) += aegis256.o
92+
obj-$(CONFIG_CRYPTO_MORUS640) += morus640.o
93+
obj-$(CONFIG_CRYPTO_MORUS1280) += morus1280.o
9294
obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o
9395
obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
9496
obj-$(CONFIG_CRYPTO_MCRYPTD) += mcryptd.o

0 commit comments

Comments
 (0)