Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add SIMON-64 and SIMON-128 block ciphers #539
See The SIMON and SPECK Families of Lightweight Block Ciphers by Ray Beaulieu, Douglas Shors, Jason Smith, Stefan Treatman-Clark, Bryan Weeks, Louis Wingers.
Additional sample code is available at Noloader | Simon-and-Speck. The
Cleared at Commit 3970a066e35f (and friends).
Here are the benchmark numbers for the straight C/C++ implementation. Simon is being benchmarked in CTR mode, so there's some additional overhead being measured in the tables below.
A 6th gen Skylake (AVX2 and BMI2) running at 3.1 GHz:
And here are the numbers for a Core2 Duo (SSE4.1) running at 2.2 GHz:
And data on an Aarch64 Opteron running at 2.0 GHz:
And numbers on GCC119, which is a Power8 machine running at 4.1 GHz: