VAMPIRE

eBACS: ECRYPT Benchmarking of Cryptographic Systems


ECRYPT II
General information:IntroductioneBASHeBASCeBAEADeBATSSUPERCOPXBXComputersArch
How to submit new software:Tipshashstreamaeaddhkemencryptsign
List of primitives measured:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
Measurements:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
List of subroutines:verifydecodeencodesortcorehashblocksxofscalarmult

Measurements of stream ciphers on one machine: amd64; Ivy Bridge+AES (306a9); 2012 Intel Xeon E3-1275 V2; 4 x 3500MHz; hydra8, supercop-20240625

[Page version: 20240719 07:49:00]

eBASC (ECRYPT Benchmarking of Stream Ciphers) is a project to measure the performance of stream ciphers. This page presents benchmark results collected in eBASC:

Graphs show timings for all message lengths between 0 and 4096 bytes. The stair-step shape of a typical curve on the graphs reflects the fact that these stream ciphers handle messages in blocks, such as 64-byte blocks.

Each table row lists the first quartile of many speed measurements, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance are indicated in red with question marks. The symbol T: (starting with supercop-20200816) means that the SUPERCOP database at the time of benchmarking did not list constant time as a goal for this implementation. The symbol T!!! means that constant time was listed as a goal for this implementation, but that the implementation failed TIMECOP. (TIMECOP failures are not necessarily security issues; they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)

There is a separate page with more information about each stream cipher and each implementation. Designers and implementors interested in submitting new stream ciphers and new implementations should read the call for submissions.


Implementation notes

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.910.930.97T:aes128ctr
0.950.960.96tango642
1.041.051.05chacha8
1.201.211.22salsa208
1.211.221.23aes256ctr
1.461.481.48chacha12
1.40?1.51?1.62?T:aes192ctr
1.691.701.71T:trivium
1.711.721.73salsa2012
2.052.072.10T:hc128
2.062.072.08T:speck6496ctr
2.142.152.15T:speck64128ctr
2.302.312.32chacha20
2.632.632.65T:speck128128ctr
2.642.652.66T:cryptmtv3
2.612.672.73T:tpy
2.722.732.73T:speck128192ctr
2.762.772.78salsa20
2.772.782.79xsalsa20
2.802.812.81T:speck128256ctr
2.862.872.88T:sosemanuk
2.91?2.92?6.36?T:simon6496ctr
2.872.973.03T:tpy6
3.043.053.06T:simon64128ctr
3.173.183.20T:nlsv2
3.233.253.27T:hc256
3.493.513.53T:panama
3.503.513.53T:rabbit
3.573.583.59T:snow20
4.274.334.41T:tpypy
4.464.484.50T:simon128128ctr
4.904.924.93T:lexv2
5.825.825.83T:simon128256ctr
9.729.739.76T:aes128estream
16.1016.1216.15T:aes256estream
20.9721.0721.16T:ocelot2
21.2121.2921.44T:ocelot1
37.2338.1638.57T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.970.971.00T:aes128ctr
1.061.071.07chacha8
1.141.151.15tango642
1.231.241.24salsa208
1.271.271.28aes256ctr
1.491.491.50chacha12
1.751.751.76salsa2012
1.801.811.81T:trivium
1.901.911.98T:aes192ctr
2.112.122.12T:speck6496ctr
2.192.192.19T:speck64128ctr
2.332.332.34chacha20
2.682.682.70T:speck128128ctr
2.772.772.78T:speck128192ctr
2.802.802.80salsa20
2.852.852.85T:speck128256ctr
2.912.922.92xsalsa20
3.10?3.11?5.68?T:simon6496ctr
3.113.123.12T:cryptmtv3
3.153.153.16T:sosemanuk
3.343.343.35T:nlsv2
3.363.363.37T:simon64128ctr
3.613.623.63T:rabbit
3.693.693.70T:snow20
3.683.713.74T:tpy6
4.264.284.31T:tpy
4.594.594.60T:panama
4.744.754.76T:simon128128ctr
5.065.075.08T:lexv2
5.455.465.47T:hc128
5.925.955.99T:tpypy
6.226.226.22T:simon128256ctr
9.809.819.82T:aes128estream
12.6512.6712.67T:hc256
16.2116.2216.24T:aes256estream
22.4022.4322.49T:ocelot2
22.6322.6722.75T:ocelot1
38.9139.5139.78T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.031.041.08T:aes128ctr
1.101.101.12chacha8
1.271.281.28salsa208
1.341.351.36aes256ctr
1.451.461.47tango642
1.521.531.54chacha12
1.811.811.82salsa2012
1.981.991.99T:trivium
2.192.192.20T:speck6496ctr
2.272.272.28T:speck64128ctr
2.352.362.37chacha20
2.572.602.83T:aes192ctr
2.762.772.78T:speck128128ctr
2.842.852.87T:speck128192ctr
2.852.862.87salsa20
2.912.922.93T:speck128256ctr
3.143.153.15xsalsa20
3.423.423.43T:simon6496ctr
3.643.653.66T:nlsv2
3.69?3.70?5.18?T:sosemanuk
3.783.793.81T:rabbit
3.863.873.88T:snow20
3.893.903.91T:simon64128ctr
4.394.394.41T:cryptmtv3
4.864.944.99T:tpy6
5.185.205.23T:simon128128ctr
5.325.345.35T:lexv2
6.386.396.41T:panama
6.876.916.97T:tpy
6.986.996.99T:simon128256ctr
8.528.558.57T:tpypy
9.929.929.93T:aes128estream
11.0711.0911.12T:hc128
16.3516.3716.41T:aes256estream
24.5624.6724.79T:ocelot2
24.8524.9125.03T:ocelot1
28.3228.3328.35T:hc256
41.6241.7342.66T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.301.31chacha8
1.311.371.42T:aes128ctr
1.521.531.53salsa208
1.691.721.76aes256ctr
1.811.821.82chacha12
2.102.112.12salsa2012
2.312.322.34tango642
2.402.412.41T:speck6496ctr
2.402.422.44T:trivium
2.492.512.51T:speck64128ctr
2.762.792.80chacha20
3.003.013.02T:speck128128ctr
3.083.083.11T:speck128192ctr
3.163.173.18T:speck128256ctr
3.263.283.33salsa20
4.06?4.10?4.94?xsalsa20
4.244.264.28T:rabbit
4.30?4.32?5.14?T:aes192ctr
4.334.364.39T:snow20
4.424.444.46T:nlsv2
4.924.934.96T:cryptmtv3
4.954.964.99T:simon6496ctr
5.165.175.18T:sosemanuk
6.056.066.07T:lexv2
6.276.306.51T:simon64128ctr
7.807.847.98T:simon128128ctr
8.088.348.43T:tpy6
9.959.959.96T:simon128256ctr
10.2310.2610.28T:aes128estream
11.1611.1911.25T:panama
13.7714.1614.43T:tpy
15.5215.7215.75T:tpypy
16.8216.8616.95T:aes256estream
26.1226.1426.22T:hc128
30.2630.4330.64T:ocelot2
30.6230.8531.07T:ocelot1
47.3947.7349.14T:amastrid
70.0470.0870.12T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.253.283.34chacha8
3.943.974.00salsa208
4.284.314.34chacha12
4.53?4.94?5.20?T:aes128ctr
5.005.065.19salsa2012
5.055.145.25T:speck6496ctr
5.195.205.20T:speck64128ctr
5.835.895.91T:speck128128ctr
5.645.916.08aes256ctr
5.976.036.03T:speck128192ctr
6.086.126.17T:speck128256ctr
6.306.346.39chacha20
7.117.207.34salsa20
7.837.948.08T:trivium
9.809.8910.00T:rabbit
10.1110.3310.33T:simon6496ctr
10.5010.5610.67T:snow20
11.8411.8411.84T:simon64128ctr
12.3812.4212.50T:cryptmtv3
13.2513.2813.41tango642
14.2514.3614.44T:aes128estream
14.3414.5514.59xsalsa20
15.1415.2515.50T:lexv2
15.9516.1716.38T:nlsv2
16.1716.2716.33T:simon128128ctr
16.2716.3116.39T:simon128256ctr
22.0022.0322.11T:sosemanuk
22.5222.6222.72T:aes256estream
27.11?27.30?31.23?T:aes192ctr
49.0849.6152.30T:tpy6
72.3172.5872.75T:panama
103.62104.27105.38T:tpy
104.00105.92108.45T:ocelot1
105.94107.28108.84T:ocelot2
106.61107.69108.17T:tpypy
133.69135.17137.95T:amastrid
217.34217.59218.53T:hc128
604.78605.03605.38T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.0022.1222.75T:speck6496ctr
22.5022.8823.25T:speck64128ctr
27.0027.0027.00T:speck128256ctr
27.0027.1227.25T:speck128192ctr
27.50?27.75?30.75?T:speck128128ctr
27.7527.8828.50chacha8
35.8836.2536.50chacha12
36.75?38.75?42.00?T:aes128ctr
45.8847.3848.75aes256ctr
49.2549.8852.12salsa2012
49.6250.2552.88T:trivium
51.6252.1252.50salsa208
52.6252.6253.38chacha20
54.6254.8855.00T:simon6496ctr
58.6259.8862.00T:rabbit
65.1265.3866.38T:aes128estream
64.6265.7566.62T:simon64128ctr
70.2570.8871.75salsa20
78.8879.6280.75T:cryptmtv3
82.0082.7584.75T:snow20
85.1285.3886.00T:aes256estream
86.3886.3886.38T:simon128128ctr
86.7587.7588.12T:nlsv2
94.2595.0096.00T:lexv2
100.50101.12101.62tango642
100.75101.38102.62T:simon128256ctr
127.62128.38129.75xsalsa20
175.75176.62178.00T:sosemanuk
209.50?210.75?246.38?T:aes192ctr
357.00364.88373.12T:tpy6
568.38570.00572.88T:panama
687.00700.38716.88T:ocelot2
690.88706.75724.88T:ocelot1
802.00814.50822.25T:tpypy
817.00830.62835.50T:tpy
886.50895.00907.62T:amastrid
1739.381741.621751.00T:hc128
4836.754839.754842.38T:hc256