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: armeabi; Cortex-A8 (413fc082); 2012 TI Sitara XAM3359AZCZ100; 1 x 1000MHz; bblack, supercop-20240425

[Page version: 20241014 13:34:05]

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.


Test results

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
4.32?5.42?6.90?T:tpy
5.40?5.53?6.07?T:tpy6
6.026.056.07tango642
6.326.356.38T:nlsv2
6.296.446.51chacha20
7.047.157.39T:sosemanuk
7.297.327.35salsa208
7.197.537.85chacha8
8.198.298.34T:cryptmtv3
8.668.799.06T:tpypy
9.219.349.57T:speck64128ctr
9.739.749.76salsa2012
9.939.949.95chacha12
11.5711.6412.32T:panama
14.1714.2014.20xsalsa20
14.3114.3214.34salsa20
19.4619.5819.73T:aes128ctr
22.7222.8022.95T:aes192ctr
26.2626.5026.65T:aes256ctr
27.5327.5827.60T:aes128estream
40.7340.7840.81T:aes256estream
72.0772.2273.27T:ocelot1
74.6574.6674.77T:ocelot2
111.58112.49113.80T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
7.107.117.51T:tpy6
7.147.157.16T:nlsv2
7.287.297.30tango642
7.287.387.39chacha20
7.687.697.71salsa208
7.897.908.15chacha8
8.46?8.49?9.60?T:tpy
9.569.609.76T:sosemanuk
9.749.839.97T:speck64128ctr
10.1110.1110.12salsa2012
10.2610.2810.31T:cryptmtv3
10.3010.3110.32chacha12
12.3112.3712.52T:tpypy
14.7114.7114.72salsa20
14.7914.8014.80xsalsa20
15.6115.6316.13T:panama
20.7820.8420.95T:aes128ctr
24.3124.3524.36T:aes192ctr
27.9928.0128.03T:aes128estream
28.0028.0728.17T:aes256ctr
41.2841.2941.30T:aes256estream
75.1475.2176.00T:ocelot1
77.6877.6977.76T:ocelot2
115.14115.56115.89T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
8.308.308.33salsa208
8.528.559.17chacha8
8.818.908.93chacha20
8.908.928.93T:nlsv2
9.369.399.39tango642
9.719.749.98T:tpy6
10.4710.4710.50T:speck64128ctr
10.7110.7210.74salsa2012
10.9310.9310.96chacha12
13.61?13.62?16.41?T:tpy
13.7513.8113.97T:sosemanuk
14.2114.2414.32T:cryptmtv3
15.3315.3515.38salsa20
15.7915.8115.82xsalsa20
18.2018.3618.50T:tpypy
22.2722.3022.41T:panama
23.3023.3523.41T:aes128ctr
26.6126.9827.02T:aes192ctr
28.7228.7328.78T:aes128estream
30.5830.6830.76T:aes256ctr
42.1542.1842.21T:aes256estream
80.1680.2480.99T:ocelot1
82.7082.7382.73T:ocelot2
120.14120.28121.06T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
9.909.929.99salsa208
10.1910.2110.35chacha8
12.1412.1512.22T:speck64128ctr
12.3612.3812.44salsa2012
12.5812.5812.65chacha12
13.0813.1013.17T:nlsv2
13.6013.8113.96chacha20
14.9014.9014.97tango642
16.7216.7817.36T:tpy6
17.0017.0717.14salsa20
18.4618.5118.53xsalsa20
19.6019.6119.74T:cryptmtv3
25.0325.1925.46T:sosemanuk
27.28?27.35?31.03?T:tpy
30.6130.6830.81T:aes128estream
31.0831.9032.26T:aes128ctr
33.9334.0134.14T:tpypy
35.0135.3136.03T:aes192ctr
40.0040.2240.43T:panama
41.5341.7441.82T:aes256ctr
44.3544.4044.42T:aes256estream
93.6093.6194.39T:ocelot1
96.1296.1496.21T:ocelot2
135.92137.72138.08T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
30.6230.6231.12salsa208
31.2531.8831.88chacha8
33.1233.2533.88salsa2012
33.7533.8834.62T:speck64128ctr
33.8833.8834.38chacha12
39.0039.0039.12salsa20
52.0052.1252.75xsalsa20
54.7555.3856.62T:aes128estream
67.1272.8873.62chacha20
72.8873.0073.62T:aes256estream
76.1276.7577.38T:nlsv2
80.0080.1281.38T:cryptmtv3
85.2585.3885.88tango642
97.1297.6299.00T:aes128ctr
99.62100.25101.50T:aes192ctr
102.88104.75106.25T:aes256ctr
106.75106.75107.38T:tpy6
160.25161.50164.75T:sosemanuk
202.38202.62216.75T:tpy
234.38234.38235.62T:tpypy
265.00265.50265.75T:ocelot1
267.50267.75268.25T:ocelot2
266.88268.25270.25T:panama
358.12362.00369.12T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
208.00209.00213.00T:speck64128ctr
239.00240.00241.00salsa208
245.00245.00250.00chacha8
255.00260.00261.00salsa2012
265.00266.00266.00chacha12
276.00277.00286.00T:aes128estream
302.00302.00307.00salsa20
338.00339.00344.00T:aes256estream
411.00412.00417.00xsalsa20
427.00432.00437.00T:nlsv2
558.00567.00573.00T:cryptmtv3
553.00599.00609.00chacha20
635.00639.00646.00T:aes128ctr
636.00640.00645.00tango642
640.00646.00651.00T:aes192ctr
646.00656.00688.00T:aes256ctr
813.00817.00818.00T:tpy6
1265.001282.001298.00T:sosemanuk
1583.001583.001677.00T:tpy
1610.001615.001620.00T:ocelot1
1620.001625.001626.00T:ocelot2
1813.001818.001828.00T:tpypy
2104.002115.002131.00T:panama
2354.002355.002360.00T:amastrid