Skip to content

Authenticated Encryption Based on the Masked Even-Mansour (MEM) Construction

License

Notifications You must be signed in to change notification settings

MEM-AEAD/mem-aead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEM AEAD Source Code Package

Warning

The cipher designs of this source code package are very new and still lack extensive analysis. Therefore, do not use them in your applications just now!

About

This repository provides implementations for the AEAD modes OPP, MRO and MRS instantiated with a round-reduced BLAKE2b permutation. All ciphers target a 256-bit security level.

The specification of the schemes together with many more information can be found at https://eprint.iacr.org/2015/999.

Features

  • OPP:
    • based on the tweakable Masked Even-Mansour (MEM) block cipher
    • requires nonce-uniqueness
    • 1-pass
    • fully parallelisable
    • constant-time
  • MRO:
    • based on the tweakable Masked Even-Mansour (MEM) block cipher
    • fully misuse-resistant
    • 2-pass
    • fully parallelisable
    • constant-time
  • MRS:
    • based on the Sponge construction
    • fully misuse-resistant
    • 2-pass
    • constant-time

Performance

Values for 4 BLAKE2b rounds given in cycles per byte (cpb):

Platform Impl. OPP MRO MRS
Cortex-A8 NEON 4.26 8.07 8.50
Sandy Bridge AVX 1.24 2.41 2.55
Haswell AVX2 0.55 1.06 2.40

Values for 6 BLAKE2b rounds given in cycles per byte (cpb):

Platform Impl. OPP MRO MRS
Cortex-A8 NEON 5.91 11.32 12.21
Sandy Bridge AVX 1.91 3.58 3.87
Haswell AVX2 0.75 1.39 3.58

Designers

License

The MEM AEAD source code is copyright (c) 2015 Philipp Jovanovic and Samuel Neves, and released under the CC0 license. The full license text is included in the file LICENSE.

About

Authenticated Encryption Based on the Masked Even-Mansour (MEM) Construction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages