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; Raptor Cove (b06a2-40); 2024 Intel Core 5 210H, P cores; 4 x 2200MHz; freshwrap,big, supercop-20251222

[Page version: 20260120 12:53:45]

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.310.320.33aes256ctr
0.400.400.41T:aes128ctr
0.38?0.42?0.46?T:aes192ctr
0.450.470.48tango642
0.570.570.58chacha8
0.640.650.66salsa208
0.810.840.86chacha12
0.920.930.94salsa2012
1.051.061.07T:speck6496ctr
1.01?1.10?1.16?T:tpy
1.091.101.14T:speck64128ctr
1.271.281.31T:speck128128ctr
1.20?1.29?1.36?T:hc128
1.261.301.33chacha20
1.311.321.33T:speck128192ctr
1.341.351.37T:speck128256ctr
1.431.451.46salsa20
1.441.451.47xsalsa20
1.39?1.51?1.62?T:tpy6
1.471.521.60T:hc256
1.541.551.60T:nlsv2
1.591.661.73T:tpypy
1.661.691.75T:snow20
1.761.791.88T:panama
1.851.881.93T:sosemanuk
1.881.891.90T:trivium
1.851.921.96T:rabbit
2.052.062.08T:simon6496ctr
2.152.162.18T:simon64128ctr
2.422.432.44T:cryptmtv3
3.323.333.35T:simon128128ctr
3.493.523.54T:simon128256ctr
3.593.623.64T:lexv2
7.307.327.34T:aes128estream
10.9710.9911.02T:aes256estream
12.3412.5612.87T:ocelot1
13.33?13.95?15.46?T:ocelot2
21.8822.8323.14T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.370.380.38aes256ctr
0.430.430.44T:aes128ctr
0.580.580.59tango642
0.580.580.59chacha8
0.620.630.64T:aes192ctr
0.660.660.67salsa208
0.830.850.86chacha12
0.930.940.95salsa2012
1.091.091.10T:speck6496ctr
1.141.141.17T:speck64128ctr
1.291.311.32chacha20
1.321.321.34T:speck128128ctr
1.361.361.37T:speck128192ctr
1.391.401.41T:speck128256ctr
1.451.461.47salsa20
1.531.541.55xsalsa20
1.691.701.73T:nlsv2
1.751.761.81T:snow20
1.971.971.98T:trivium
1.981.992.01T:rabbit
2.082.102.12T:sosemanuk
2.102.182.24T:tpy6
2.302.302.31T:simon6496ctr
2.302.312.37T:panama
2.442.482.51T:tpy
2.522.532.53T:simon64128ctr
2.922.932.93T:cryptmtv3
2.942.963.01T:tpypy
3.603.613.62T:simon128128ctr
3.703.713.72T:lexv2
3.673.723.75T:hc128
3.983.994.00T:simon128256ctr
7.357.357.36T:aes128estream
8.218.238.25T:hc256
11.0711.0811.09T:aes256estream
13.3313.4313.60T:ocelot1
14.4614.8215.85T:ocelot2
23.7924.2924.39T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.450.460.47aes256ctr
0.470.480.50T:aes128ctr
0.580.590.60chacha8
0.670.680.69salsa208
0.750.760.79tango642
0.840.860.87chacha12
0.940.950.96salsa2012
0.940.960.99T:aes192ctr
1.141.151.17T:speck6496ctr
1.181.211.26T:speck64128ctr
1.311.331.34chacha20
1.391.401.42T:speck128128ctr
1.441.451.46T:speck128192ctr
1.461.471.49salsa20
1.481.491.49T:speck128256ctr
1.671.691.70xsalsa20
1.89?2.00?2.12?T:snow20
2.032.062.07T:nlsv2
2.082.092.10T:rabbit
2.112.122.12T:trivium
2.522.552.58T:sosemanuk
2.692.702.72T:simon6496ctr
2.84?2.91?3.31?T:tpy6
3.123.133.14T:simon64128ctr
3.203.233.31T:panama
3.843.853.87T:lexv2
4.074.084.10T:simon128128ctr
4.104.124.15T:cryptmtv3
4.774.784.80T:simon128256ctr
4.774.834.88T:tpy
5.155.225.30T:tpypy
7.387.407.41T:aes128estream
7.767.817.86T:hc128
11.1811.1911.23T:aes256estream
14.7615.0215.24T:ocelot1
15.8116.2017.12T:ocelot2
19.4119.5119.58T:hc256
25.7026.5526.85T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.640.670.69T:aes128ctr
0.730.750.76chacha8
0.75?0.76?0.85?aes256ctr
0.870.880.90salsa208
1.061.081.09chacha12
1.221.241.25salsa2012
1.241.251.26tango642
1.321.331.34T:speck6496ctr
1.371.391.44T:speck64128ctr
1.611.621.63T:speck128128ctr
1.661.661.68T:speck128192ctr
1.691.711.73chacha20
1.711.711.72T:speck128256ctr
1.81?1.95?2.04?T:aes192ctr
1.951.982.01salsa20
2.202.252.32T:snow20
2.292.362.46T:rabbit
2.482.492.50T:trivium
2.532.552.58xsalsa20
2.822.853.05T:nlsv2
3.253.263.30T:simon64128ctr
3.463.533.62T:sosemanuk
4.224.234.27T:simon6496ctr
4.254.344.39T:lexv2
4.584.604.61T:cryptmtv3
4.944.954.98T:simon128128ctr
5.285.295.30T:simon128256ctr
5.435.475.58T:panama
5.916.046.16T:tpy6
7.587.617.64T:aes128estream
11.0311.2211.47T:tpy
10.9511.3011.45T:tpypy
11.5611.6011.63T:aes256estream
18.5918.7619.07T:hc128
18.3018.8719.68T:ocelot1
19.3419.9921.07T:ocelot2
29.2630.4932.30T:amastrid
49.3549.4949.59T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.701.731.80chacha8
2.562.622.70T:speck6496ctr
2.672.722.80T:speck64128ctr
2.892.923.03T:aes128ctr
3.053.143.28salsa208
3.303.343.41T:speck128128ctr
3.343.393.47T:speck128192ctr
3.523.583.66T:speck128256ctr
3.703.773.81chacha12
4.284.444.75aes256ctr
4.314.444.55salsa2012
5.335.555.89T:rabbit
5.615.675.73chacha20
6.12?6.42?7.22?T:snow20
6.556.616.77salsa20
6.556.726.84T:simon6496ctr
7.207.257.27T:trivium
7.417.568.16tango642
7.527.617.78T:cryptmtv3
7.587.667.81T:simon64128ctr
9.339.419.53T:lexv2
9.809.889.97T:aes128estream
11.5811.6611.91xsalsa20
11.8411.9512.19T:simon128128ctr
12.7812.8413.95T:aes192ctr
12.9813.0613.19T:simon128256ctr
14.7814.8814.97T:nlsv2
14.9114.9815.11T:sosemanuk
16.3416.4216.62T:aes256estream
34.6935.3336.11T:panama
40.1441.4441.86T:tpy6
58.55?64.25?70.27?T:ocelot1
61.20?66.16?71.25?T:ocelot2
84.1484.6987.77T:tpypy
89.3091.2596.20T:tpy
92.3495.03101.64T:amastrid
157.22158.30162.12T:hc128
430.05430.45431.36T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.7514.1214.50chacha8
13.7514.2514.88T:speck6496ctr
16.75?17.25?18.75?T:speck128128ctr
16.8817.3817.88T:speck128192ctr
17.00?18.00?19.12?T:speck128256ctr
19.75?21.12?22.12?T:speck64128ctr
23.1223.8824.12salsa208
24.0025.1226.00T:aes128ctr
31.38?32.12?35.75?T:rabbit
32.0032.5034.12salsa2012
35.6236.1236.50T:aes128estream
35.6236.6237.62aes256ctr
37.1237.5038.25chacha12
38.7539.2539.75T:simon6496ctr
39.1239.8841.00T:cryptmtv3
44.3844.6244.88T:trivium
46.8847.5048.25T:simon64128ctr
45.12?48.25?50.25?T:snow20
47.8848.3848.75salsa20
51.7552.3852.75T:lexv2
55.6256.6261.75tango642
60.1261.3862.00chacha20
66.2566.3866.88T:aes256estream
70.3870.8871.88T:simon128128ctr
77.8878.8879.75T:nlsv2
78.2578.8880.25T:simon128256ctr
88.3889.5092.75xsalsa20
104.00106.88114.12T:aes192ctr
119.25120.38121.25T:sosemanuk
272.38286.50294.88T:panama
314.12318.88322.88T:tpy6
384.12?428.25?459.00?T:ocelot2
381.38?429.62?492.25?T:ocelot1
664.12667.25680.00T:tpypy
639.88?687.50?730.88?T:amastrid
711.38715.25726.75T:tpy
1259.501266.501289.88T:hc128
3448.003453.123467.00T:hc256