Performance
SABER has been implemented on different platforms to illustrate its versatility. The tables below lists the performance on the Intel Haswell platform and on the ARM Cortex-M Platform. The SABER implementations are designed to run in constant time to thwart side channel attacks exploiting time differences.
Intel Haswell
On modern Intel platforms, we can utilize AVX2 SIMD instructions that support computation on 256-bit vectors. These timings are indicated by (avx).| LightSABER | |||||
|---|---|---|---|---|---|
| Sizes (in bytes) | Haswell cycles (ref)[x1000] | Haswell cycles(avx2) [X1000] | |||
| sk: | 1568 (992) | gen: | 98 | gen: | 45 |
| pk: | 672 | enc: | 139 | enc: | 61 |
| ct: | 736 | dec: | 151 | dec: | 63 |
| SABER | |||||
| Sizes (in bytes) | Haswell cycles (ref)[x1000] | Haswell cycles (avx2) [x1000] | |||
| sk: | 2304 (1440) | gen: | 200 | gen: | 82 |
| pk: | 992 | enc: | 260 | enc: | 105 |
| ct: | 1088 | dec: | 271 | dec: | 108 |
| FireSABER | |||||
| Sizes (in bytes) | Haswell cycles (ref)[x1000] | Haswell cycles (avx2) [x1000] | |||
| sk: | 3040 (1760) | gen: | 336 | gen: | 131 |
| pk: | 1312 | enc: | 402 | enc: | 159 |
| ct: | 1472 | dec: | 422 | dec: | 165 |
ARM Cortex-M Platform
The ARM Cortex-M series microcontrollers is very popular in IoT applications. The Cortex-M4 is the most powerful platform in the Cortex-M series. The Cortex-M0 is the least power consuming but computationally weakest device in the Cortex-M series. Detailed results are given in the following table, taken from the pqm4 benchmarking project.
| SABER on ARM Cortex-M Platform | |||||||
|---|---|---|---|---|---|---|---|
| Platform | Optimized for | Clock cycles [x1000] | Memory usage (bytes) | ||||
| KeyGen | Enc | Dec | KeyGen | Enc | Dec | ||
| Cortex-M4 | Speed | 645 | 851 | 774 | 6644 | 7316 | 7324 |
| Cortex-M4 | Speed / Memory | 820 | 1059 | 1038 | 3788 | 3180 | 3188 |
| Cortex-M0 | Memory | 4786 | 6328 | 7509 | 5031 | 5119 | 6215 |
Hardware
Two HW/SW codesigns [DFAG19][MTKRV20] and one HW-only [RB20] implementations of Saber have been reported in the literature. Saber is very efficient on hardware platforms. See performance comparisons with other KEMs at the bottom of this page.| Saber on Hardware [source] | ||||
|---|---|---|---|---|
| Implementations | Platforms | Time in us (keygen/encps/decps) | Frequency (MHz) | Area (LUT/FF/DSP/BRAM for FPGAs) (mm2 for ASIC) |
| Saber [MTKRV20] | Artix-7 (HW/SW) | 3.2K/4.1K/3.8K | 125 | 7.4K/7.3K/28/2 |
| Saber [DFAG19] | UltraScale+ (HW/SW) | -/60/65 | 322 | ≈12.5K/3.5K/256/4 |
| Saber [RB20] | UltraScale+ | 21.8/26.5/32.1 | 250 | 25K/10.7K/0/2 |
Performance comparison
Intel Haswell
Comparison of Saber with other schemes on desktop machines. Results for the reference implementation were taken from SUPERCOP on an amd64; Goldmont (506f1); 2017 Intel Atom C3955; 16 x 2100MHz; to make sure they correspond to an only C implementation. Results for AVX2 optimized implementation were taken from SUPERCOP on an amd64; CascadeLake (50657); 2019 Intel Xeon Gold 6248; 20 x 2500MHz.
| Low security | ||
|---|---|---|
| Scheme | C [x1000 cycles] gen/enc/dec |
AVX2 [x1000 cycles] gen/enc/dec |
| LightSaber | 98/139/151 | 45/61/63 |
| Kyber-512 | 160/227/272 | 25/40/34 |
| NewHope-512 | 186/294/341 | 59/97/106 |
| FrodoKEM-640 | 13799/15436/15299 | 4252/1767/1829 |
| Medium security | ||
| Scheme | C [x1000 cycles] gen/enc/dec |
AVX2 [x1000 cycles] gen/enc/dec |
| Saber | 200/260/271 | 82/105/108 |
| Kyber-768 | 296/381/436 | 49/68/58 |
| FrodoKEM-976 | -/-/- | 9675/3494/3582 |
| High security | ||
| Scheme | C [x1000 cycles] gen/enc/dec |
AVX2 [x1000 cycles] gen/enc/dec |
| FireSaber | 336/402/422 | 131/159/165 |
| Kyber-1024 | 462/561/629 | 68/96/85 |
| NewHope-1024 | 383/602/703 | 115/190/208 |
| FrodoKEM-1344 | 55001/60138/60230 | 1842/6316/6228 |
Comparison of Saber with other schemes on micro-controllers. Results were taken from pqm4 library except for Saber itself for which we use a most updated code.
Throughput
SaberX4 is a software implementation of Saber to achieve higher throughput, i.e., more KEM operations per second, on server machines with AVX2 support. A server needs to compute thousands of key exchanges every second; hence high throughput is desired in server applications. SaberX4 batches four Saber KEM operations and computes most operations in parallel using AVX2 instructions.| Throughput on Intel AVX2 | ||
|---|---|---|
| Scheme | Latency [x1000 cycles] gen/enc/dec |
Throughput/sec [x1000] gen/enc/dec |
| Saber | 102.8/121.1/119.9 | 24.3/20.6/20.8 |
| SaberX4 | 296.5/334.7/354.4 | 33.7/29.8/28.2 |
| Kyber768 | 69.6/89.7/75.5 | 35.9/27.8/33.1 |
Cortex-M4
| NIST candidates on ARM Cortex-M4 | |||||||
|---|---|---|---|---|---|---|---|
| Scheme | Clock cycles [x1000] | Memory usage (bytes) | |||||
| KeyGen | Enc | Dec | KeyGen | Enc | Dec | ||
| Saber (fast) | 846 | 1098 | 1112 | 7488 | 6560 | 6568 | |
| Saber (small) | 862 | 1119 | 1138 | 5708 | 4780 | 4788 | |
| Kyber-768 | 888 | 1044 | 981 | 3284 | 2980 | 3012 | |
| NewHope-1024 | 1158 | 1689 | 1614 | 2852 | 5036 | 5044 | |
| FrodoKEM-640 | 79331 | 79745 | 79231 | 26582 | 51904 | 72600 | |
Hardware
The modular nature of Saber and use of power-of-two modulus make Saber very efficient on hardware platforms and comparisons with reported KEM implementations of other schemes show Saber is the fastest.| NIST candidates on Hardware [source] | ||||
|---|---|---|---|---|
| Implementations | Platforms | Time in us (keygen/encps/decps) | Frequency (MHz) | Area (LUT/FF/DSP/BRAM for FPGAs) (mm2 for ASIC) |
| Kyber-768 [BUC19] | ASIC | 1.5K/2.4K/2.6K | 72 | 0.28 mm2 |
| NewHope-1024 [BUC19] | ASIC | 1.3K/3.2K/3.6K | 72 | 0.28 mm2 |
| FrodoKEM-976 [HOKG18] | Artix-7 | 45K/45K/47K | 167 | ≈7.7K/3.5K/1/24 |
| SIKEp503 [MLRB20] | Virtex-7 (HW/SW) | 8.2K/13.9K/14.8K | 142 | 21.2K/13.6K/162/38 |
| Saber [MTKRV20] | Artix-7 (HW/SW) | 3.2K/4.1K/3.8K | 125 | 7.4K/7.3K/28/2 |
| Saber [DFAG19] | UltraScale+ (HW/SW) | -/60/65 | 322 | ≈12.5K/11.6K/256/4 |
| Saber [RB20] | UltraScale+ | 21.8/26.5/32.1 | 250 | 23.6K/9.8K/0/2 |