Re: [PATCH 0/4] Add support for MORUS AEAD algorithm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 11, 2018 at 02:19:08PM +0200, Ondrej Mosnáček wrote:
> From: Ondrej Mosnacek <omosnacek@xxxxxxxxx>
> 
> This patchset adds the MORUS AEAD algorithm implementation to the Linux Crypto API.
> 
> MORUS [1] is a dedicated AEAD algorithm focused on SIMD instructions and designed for high throughput both on modern processors and in hardware. It is designed by Hongjun Wu and Tao Huang and has been submitted to the CAESAR competiton [2], where it is currently one of the finalists [3]. MORUS uses only logical bitwise operations and bitwise rotations as primitives.
> 
> MORUS has two variants:
> * MORUS-640 operating on 128-bit blocks and accepting a 128-bit key.
> * MORUS-1280 operating on 256-bit blocks and accepting a 128- or 256-bit key.
> Both variants accept a 128-bit IV and produce an up to 128-bit tag.
> 
> The patchset contains four patches, adding:
> * generic implementations
> * test vectors to testmgr
> * common glue code for x86_64 optimizations
> * x86_64 SSE2/AVX2 optimized implementations
> 
> Since there are no official test vectors currently available, the test vectors in patch 2 were generated using a reference implementation from public CAESAR benchmarks [4]. They should be replaced/complemented with official test vectors if/when they become available.
> 
> The implementations have been developed in cooperation with Milan Broz (the maintainer of dm-crypt and cryptsetup) and there is a plan to use them for authenticated disk encryption in cryptsetup. They are a result of my Master's thesis at the Faculty of Informatics, Masaryk University, Brno [5].
> 
> [1] https://competitions.cr.yp.to/round3/morusv2.pdf
> [2] https://competitions.cr.yp.to/caesar-call.html
> [3] https://competitions.cr.yp.to/caesar-submissions.html
> [4] https://bench.cr.yp.to/ebaead.html
> [5] https://is.muni.cz/th/409879/fi_m/?lang=en
> 
> Ondrej Mosnacek (4):
>   crypto: Add generic MORUS AEAD implementations
>   crypto: testmgr - Add test vectors for MORUS
>   crypto: Add common SIMD glue code for MORUS
>   crypto: x86 - Add optimized MORUS implementations

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux