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 Core i5-3427U; 2 x 1800MHz; hunsnivy, supercop-20241022

[Page version: 20241120 00:41:23]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.900.920.92T:aes128ctr
0.930.940.94tango642
1.041.051.06chacha8
1.201.201.21aes256ctr
0.83?1.21?1.22?T:aes192ctr
1.211.211.22salsa208
1.451.461.48chacha12
1.721.721.73T:trivium
1.721.731.74salsa2012
2.082.102.12T:hc128
2.112.122.13T:speck6496ctr
2.142.152.15T:speck64128ctr
2.292.302.32chacha20
2.632.652.66T:speck128128ctr
2.672.682.70T:cryptmtv3
2.722.732.73T:speck128192ctr
2.762.772.78salsa20
2.762.772.78xsalsa20
2.802.802.81T:speck128256ctr
2.842.852.86T:simon6496ctr
2.922.932.94T:sosemanuk
3.003.023.03T:hc256
3.083.093.10T:simon64128ctr
3.163.213.24T:nlsv2
3.233.293.39T:tpy6
3.273.343.40T:tpy
3.503.513.53T:rabbit
3.513.523.54T:snow20
3.453.533.60T:panama
4.564.574.59T:simon128128ctr
4.814.834.85T:simon128256ctr
4.894.914.92T:lexv2
5.025.075.16T:tpypy
9.749.769.77T:aes128estream
15.5015.5315.56T:aes256estream
20.7020.8120.93T:ocelot1
20.9521.0221.19T:ocelot2
35.4437.2138.11T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.950.960.96T:aes128ctr
1.071.071.08chacha8
1.121.121.12tango642
1.241.241.25salsa208
1.251.251.26aes256ctr
1.10?1.34?1.34?T:aes192ctr
1.491.491.50chacha12
1.751.761.76salsa2012
1.821.821.82T:trivium
2.162.162.16T:speck6496ctr
2.192.192.19T:speck64128ctr
2.322.332.33chacha20
2.682.692.70T:speck128128ctr
2.762.772.77T:speck128192ctr
2.802.802.80salsa20
2.842.852.85T:speck128256ctr
2.902.912.92xsalsa20
3.033.033.04T:simon6496ctr
3.133.143.15T:cryptmtv3
3.213.223.22T:sosemanuk
3.383.383.38T:simon64128ctr
3.383.403.41T:nlsv2
3.613.623.64T:rabbit
3.623.633.63T:snow20
4.064.094.13T:tpy6
4.634.644.68T:panama
4.844.854.85T:simon128128ctr
4.954.985.01T:tpy
5.065.075.07T:lexv2
5.325.335.34T:simon128256ctr
5.495.505.51T:hc128
6.656.676.71T:tpypy
9.819.829.83T:aes128estream
11.6711.6711.68T:hc256
15.6215.6415.65T:aes256estream
22.2922.3522.39T:ocelot1
22.5722.6022.66T:ocelot2
37.7038.8639.50T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.011.021.02T:aes128ctr
1.111.121.13chacha8
1.291.291.30salsa208
1.321.331.34aes256ctr
1.431.431.44tango642
1.42?1.43?1.66?T:aes192ctr
1.521.531.54chacha12
1.791.801.81salsa2012
1.981.991.99T:trivium
2.222.222.24T:speck6496ctr
2.262.272.27T:speck64128ctr
2.352.362.37chacha20
2.752.762.76T:speck128128ctr
2.832.832.84T:speck128192ctr
2.842.842.86salsa20
2.912.922.92T:speck128256ctr
3.143.143.16xsalsa20
3.353.363.36T:simon6496ctr
3.753.773.81T:nlsv2
3.773.773.79T:sosemanuk
3.793.793.81T:snow20
3.793.813.82T:rabbit
3.863.863.87T:simon64128ctr
4.424.434.44T:cryptmtv3
5.295.305.30T:simon128128ctr
5.335.345.35T:lexv2
5.325.395.48T:tpy6
6.166.196.23T:simon128256ctr
6.476.496.61T:panama
7.657.717.73T:tpy
9.159.199.23T:tpypy
9.929.939.94T:aes128estream
11.1311.1411.19T:hc128
15.8015.8315.87T:aes256estream
24.9325.0525.21T:ocelot1
24.9925.1425.36T:ocelot2
26.0726.1026.12T:hc256
41.8042.0542.71T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.311.36T:aes128ctr
1.301.311.33chacha8
1.521.541.55salsa208
1.671.681.77aes256ctr
1.791.811.82chacha12
2.082.092.20salsa2012
2.292.302.31tango642
2.342.392.52T:aes192ctr
2.382.392.40T:trivium
2.432.442.45T:speck6496ctr
2.492.502.50T:speck64128ctr
2.752.782.79chacha20
2.983.003.00T:speck128128ctr
3.063.073.09T:speck128192ctr
3.163.173.18T:speck128256ctr
3.28?3.30?4.17?salsa20
4.074.084.10xsalsa20
4.254.274.29T:snow20
4.274.304.31T:rabbit
4.694.714.73T:nlsv2
4.914.924.93T:simon6496ctr
4.924.934.94T:cryptmtv3
5.255.265.29T:sosemanuk
5.825.835.85T:simon64128ctr
6.066.076.10T:lexv2
7.727.757.82T:simon128128ctr
8.768.889.06T:tpy6
9.929.9710.02T:simon128256ctr
10.2410.2610.28T:aes128estream
11.3811.4211.75T:panama
14.9615.0915.20T:tpy
15.9716.0616.17T:tpypy
16.2216.3316.36T:aes256estream
26.1726.2026.36T:hc128
31.2131.3431.54T:ocelot1
31.8332.0532.49T:ocelot2
47.8948.2548.59T:amastrid
64.4764.5264.62T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.303.303.38chacha8
3.984.024.08salsa208
4.394.414.44chacha12
4.474.594.86T:aes128ctr
4.924.975.39salsa2012
5.115.115.11T:speck6496ctr
5.125.165.16T:speck64128ctr
5.615.726.00aes256ctr
5.885.925.97T:speck128192ctr
6.066.066.16T:speck128256ctr
5.986.086.08T:speck128128ctr
6.346.346.42chacha20
7.097.167.19salsa20
7.697.757.86T:trivium
9.9410.0510.12T:snow20
10.0610.1410.39T:rabbit
10.09?10.31?12.59?T:simon6496ctr
10.4210.5010.58T:simon64128ctr
12.3312.4112.45T:cryptmtv3
13.2713.3413.41tango642
13.3113.3813.44T:aes192ctr
14.1914.2214.36T:aes128estream
14.4214.5214.58xsalsa20
14.5314.6214.84T:simon128128ctr
15.7315.7715.88T:lexv2
16.3416.3616.41T:simon128256ctr
17.8818.2018.36T:nlsv2
21.8121.9122.05T:aes256estream
22.2822.4722.62T:sosemanuk
52.7753.8054.23T:tpy6
73.8374.0677.28T:panama
103.75105.41105.83T:tpypy
106.56107.34107.67T:tpy
114.50115.72118.67T:ocelot1
113.45115.94120.45T:ocelot2
133.98134.88137.44T:amastrid
218.89219.34219.91T:hc128
555.72556.72557.19T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.8823.0023.62T:speck64128ctr
24.1224.3824.75T:speck6496ctr
26.3826.6227.38T:speck128192ctr
26.7527.1227.25T:speck128256ctr
27.0027.6228.88T:speck128128ctr
27.7528.3829.12chacha8
35.8836.2537.00chacha12
36.5037.5039.12T:aes128ctr
38.7539.7542.38salsa208
45.1246.3848.62aes256ctr
49.1249.7550.38T:trivium
51.8852.3852.75chacha20
54.0054.6255.62T:simon6496ctr
59.6260.7560.88salsa2012
61.3862.3864.38T:rabbit
64.7564.7565.00T:simon64128ctr
65.5066.0066.25T:aes128estream
69.8870.3871.75salsa20
79.1279.6280.50T:snow20
79.2579.8880.50T:cryptmtv3
80.5080.7581.25T:aes256estream
90.5091.3892.12T:lexv2
93.2593.8894.62T:simon128128ctr
99.62100.62101.38tango642
100.62101.88103.00T:nlsv2
104.00104.75105.38T:aes192ctr
104.75107.00108.50T:simon128256ctr
127.75127.88129.62xsalsa20
177.12178.88180.62T:sosemanuk
403.25406.88409.38T:tpy6
579.25580.75608.38T:panama
762.25775.00793.38T:ocelot2
794.75797.25799.12T:tpypy
789.50804.00817.00T:ocelot1
810.12817.88834.62T:tpy
897.00907.62915.50T:amastrid
1744.881748.621759.62T:hc128
4449.624452.754457.25T:hc256