[Page version: 20260319 14:29:22]
Measurements for amd64, know, crypto_encrypt Test results for amd64, know, crypto_encrypt Test results for crypto_encrypt/lotus256| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
|---|---|---|---|---|---|---|
| 685649 | 43684 0 8 | 84929 1384 2368 | T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 691121 | 36114 0 8 | 76977 1384 2304 | T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 699026 | 24897 0 8 | 64907 1328 2400 | T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 814713 | 12938 0 8 | 50795 1328 2400 | T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 822247 | 11626 0 8 | 49367 1376 2368 | T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1125125 | 39356 0 8 | 79435 1328 2400 | T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1435868 | 31661 0 8 | 71603 1328 2400 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 2645177 | 43903 0 8 | 85049 1384 2304 | T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 2845420 | 53815 0 8 | 95465 1384 2368 | T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 3036117 | 49290 0 8 | 89065 1384 2304 | T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 3087085 | 25176 0 8 | 66353 1384 2304 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 3460390 | 26888 0 8 | 66673 1384 2304 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 3496145 | 31800 0 8 | 73449 1384 2368 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 4636296 | 18710 0 8 | 55633 1384 2304 | T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 5132747 | 13012 0 8 | 50915 1328 2400 | T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 5992015 | 11742 0 8 | 49607 1376 2368 | T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 9035247 | 15518 0 8 | 52937 1384 2304 | T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 9083192 | 10256 0 8 | 46331 1320 2400 | T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 9582468 | 9615 0 8 | 47467 1328 2400 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 9944918 | 9772 0 8 | 47105 1384 2304 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 10022470 | 8447 0 8 | 46295 1376 2368 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 15634475 | 10088 0 8 | 46155 1320 2400 | T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 16999250 | 7877 0 8 | 43939 1320 2400 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
error 111 crypto_encrypt_open does not match mlen
| Implementation | Compiler |
| T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:158:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: c[0] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:158:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:159:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: c[1] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:159:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:160:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: c[2] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:160:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:161:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: c[3] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:161:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:162:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: c[4] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:162:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:163:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: c[5] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:163:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:164:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: ...
| Implementation | Compiler |
| T:avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
cpa-pke_opt.o lotus_cpa_pke_dec_packed T cpa-pke_opt.o lotus_cpa_pke_enc_packed T cpa-pke_opt.o lotus_cpa_pke_keypair T crypto.o crypto_symenc_decrypt T crypto.o crypto_symenc_encrypt T crypto.o crypto_symenc_keysetup T crypto.o crypto_symenc_keystream T crypto.o crypto_symenc_keystream_13block T crypto.o crypto_symenc_keystream_32block T encrypt.o util_cmp_const T lwe-arithmetics_avx2.o add_sigma T lwe-arithmetics_avx2.o distribute_2x2_nl T lwe-arithmetics_avx2.o distribute_2x2_nn T lwe-arithmetics_avx2.o merge_2x2_nl T lwe-arithmetics_avx2.o reconstruct T lwe-arithmetics_avx2.o redc T lwe-arithmetics_avx2.o submat_add_nl T lwe-arithmetics_avx2.o submat_add_nn T lwe-arithmetics_avx2.o submat_negmul T lwe-arithmetics_avx2.o submat_negsubmul T lwe-arithmetics_avx2.o submat_sub_nl T lwe-arithmetics_avx2.o submat_sub_nn T lwe-arithmetics_avx2.o submat_submul T lwe-arithmetics_avx2.o submul T pack_avx2.o pack_128dg T pack_avx2.o pack_128elems T pack_avx2.o pack_64elems T pack_avx2.o pack_ct T pack_avx2.o pack_pk T pack_avx2.o pack_sk T pack_avx2.o unpack_128dg T pack_avx2.o unpack_128elems T pack_avx2.o unpack_64elems T pack_avx2.o unpack_ct T pack_avx2.o unpack_pk T pack_avx2.o unpack_sk T sampler.o _LOTUS_KYDG_SAMPLER_L1_pMat R sampler.o _LOTUS_KYDG_SAMPLER_L1_weight R sampler.o _LOTUS_KYDG_SAMPLER_LUT R sampler.o csprng_sample_bit T sampler.o csprng_sample_byte T sampler.o extend_sign_with_random_bit T sampler.o sample_discrete_gaussian T sampler.o sample_uniform T sampler.o sample_unit_discrete_gaussian T sampler.o sampler_init T sampler.o sampler_set_seed T sampler.o scan_bit_and_output T
| Implementation | Compiler |
| T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
cpa-pke_opt.o lotus_cpa_pke_dec_packed T cpa-pke_opt.o lotus_cpa_pke_enc_packed T cpa-pke_opt.o lotus_cpa_pke_keypair T crypto.o crypto_symenc_decrypt T crypto.o crypto_symenc_encrypt T crypto.o crypto_symenc_keysetup T crypto.o crypto_symenc_keystream T crypto.o crypto_symenc_keystream_13block T crypto.o crypto_symenc_keystream_32block T encrypt.o util_cmp_const T lwe-arithmetics_opt.o add_sigma T lwe-arithmetics_opt.o distribute_2x2_nl T lwe-arithmetics_opt.o distribute_2x2_nn T lwe-arithmetics_opt.o merge_2x2_nl T lwe-arithmetics_opt.o reconstruct T lwe-arithmetics_opt.o redc T lwe-arithmetics_opt.o submat_add_nl T lwe-arithmetics_opt.o submat_add_nn T lwe-arithmetics_opt.o submat_negmul T lwe-arithmetics_opt.o submat_negsubmul T lwe-arithmetics_opt.o submat_sub_nl T lwe-arithmetics_opt.o submat_sub_nn T lwe-arithmetics_opt.o submat_submul T lwe-arithmetics_opt.o submul T pack.o pack_128dg T pack.o pack_128elems T pack.o pack_64elems T pack.o pack_ct T pack.o pack_pk T pack.o pack_sk T pack.o unpack_128dg T pack.o unpack_128elems T pack.o unpack_64elems T pack.o unpack_ct T pack.o unpack_pk T pack.o unpack_sk T sampler.o _LOTUS_KYDG_SAMPLER_L1_pMat R sampler.o _LOTUS_KYDG_SAMPLER_L1_weight R sampler.o _LOTUS_KYDG_SAMPLER_LUT R sampler.o csprng_sample_bit T sampler.o csprng_sample_byte T sampler.o extend_sign_with_random_bit T sampler.o sample_discrete_gaussian T sampler.o sample_uniform T sampler.o sample_unit_discrete_gaussian T sampler.o sampler_init T sampler.o sampler_set_seed T sampler.o scan_bit_and_output T
| Implementation | Compiler |
| T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
cpa-pke.o lotus_cpa_pke_dec T cpa-pke.o lotus_cpa_pke_enc T cpa-pke.o lotus_cpa_pke_keypair T crypto.o crypto_symenc_decrypt T crypto.o crypto_symenc_encrypt T crypto.o crypto_symenc_keysetup T crypto.o crypto_symenc_keystream T encrypt.o util_cmp_const T lwe-arithmetics.o add_sigma T lwe-arithmetics.o addmul T lwe-arithmetics.o addmul_concat T lwe-arithmetics.o reconstruct T lwe-arithmetics.o redc T lwe-arithmetics.o submul T pack.o pack_128dg T pack.o pack_128elems T pack.o pack_64elems T pack.o pack_ct T pack.o pack_pk T pack.o pack_sk T pack.o unpack_128dg T pack.o unpack_128elems T pack.o unpack_64elems T pack.o unpack_ct T pack.o unpack_pk T pack.o unpack_sk T sampler.o _LOTUS_KYDG_SAMPLER_L1_pMat R sampler.o _LOTUS_KYDG_SAMPLER_L1_weight R sampler.o _LOTUS_KYDG_SAMPLER_LUT R sampler.o csprng_sample_bit T sampler.o csprng_sample_byte T sampler.o extend_sign_with_random_bit T sampler.o sample_discrete_gaussian T sampler.o sample_uniform T sampler.o sample_unit_discrete_gaussian T sampler.o sampler_init T sampler.o sampler_set_seed T sampler.o scan_bit_and_output T
| Implementation | Compiler |
| T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |