Implementation notes: amd64, colossus6, crypto_kem/limasp1306cca

Computer: colossus6
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20210125
Operation: crypto_kem
Primitive: limasp1306cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
448940323484 1512 260182745 2352 593184T:optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
455278519097 1512 260178033 2352 593184T:optclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
463758817481 1512 260176369 2352 593184T:optclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
464775714472 1512 260170447 2344 593184T:optclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
470058817481 1512 260176369 2352 593184T:optclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
472180525488 1524 288185477 2376 593248T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
474264019657 1524 288177509 2376 593248T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
481783516624 1524 288174117 2376 593248T:optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
516753014826 1524 288171285 2368 593216T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
2327823015389 432 4174225 1272 592928T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
2328538515389 432 4174225 1272 592928T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
2332248716849 432 4175729 1272 592928T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
2358348721548 432 4180729 1272 592928T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
2477972322804 424 4182749 1272 592992T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
2896258518165 424 4175909 1272 592992T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
2916369015781 424 4173157 1272 592992T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125
3006693012776 432 4168655 1264 592928T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021031020210125
3038145713961 424 4170357 1264 592960T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021031020210125

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
lima.c: lima.c:147:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^
lima.c: lima.c:147:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:155:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^
lima.c: lima.c:155:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^~~~
lima.c: abs
lima.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
lima.c: lima.c:91:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^
lima.c: lima.c:91:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:91:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
lima.c: lima.c:95:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: { rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^
lima.c: lima.c:95:20: note: use function 'abs' instead
lima.c: { rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:95:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
lima.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Namespace violations

Implementation: T:opt
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
LimaAPI.o Dec_CCA T
LimaAPI.o Dec_CPA T
LimaAPI.o Decap_CCA T
LimaAPI.o Decap_CPA T
LimaAPI.o Enc_CCA T
LimaAPI.o Enc_CPA T
LimaAPI.o Encap_CCA T
LimaAPI.o Encap_CPA T
LimaAPI.o Key_Generation T
fft.o bfft T
fft.o fft T
fft.o fft_inv T
fft.o fft_sub_1 T
fft.o fft_sub_2 T
fft.o inv_mod_q T
fft.o log_2 T
fft.o precompute_fft_data T
fft.o reverse T
lima.o DecodeCT T
lima.o DecodePK T
lima.o DecodeSK T
lima.o Decode_Val T
lima.o EncodeCT T
lima.o EncodePK T
lima.o EncodeSK T
lima.o Encode_Val T
lima.o InitLima T
lima.o RandCheck T
lima.o increment_seed T
lima.o init_done B
lima.o lima_2p_1024 D
lima.o lima_2p_2048 D
lima.o lima_dec_cca T
lima.o lima_dec_cpa T
lima.o lima_decap_cca T
lima.o lima_decap_cpa T
lima.o lima_enc_cca T
lima.o lima_enc_cpa T
lima.o lima_enc_cpa_sub T
lima.o lima_encap_cca T
lima.o lima_encap_cpa T
lima.o lima_fft_2p_1024 C
lima.o lima_fft_2p_2048 C
lima.o lima_fft_sp_1018 C
lima.o lima_fft_sp_1306 C
lima.o lima_fft_sp_1822 C
lima.o lima_fft_sp_2062 C
lima.o lima_key_gen T
lima.o lima_sp_1018 D
lima.o lima_sp_1306 D
lima.o lima_sp_1822 D
lima.o lima_sp_2062 D
lima.o precompute_noise T
lima.o precompute_noise_data T
lima.o xof5_to_modp T
modp.o MontMult T
modp.o add_mod_q T
modp.o assign_one T
modp.o exp_mod_q T
modp.o mod12521473 D
modp.o mod133121 D
modp.o mod16900097 D
modp.o mod184321 D
modp.o mod44802049 D
modp.o mod48181249 D
modp.o mul_add_mod_q T
modp.o mul_mod_q T
modp.o mul_mod_q_tag T
modp.o sub_mod_q T
modp.o to_int T
modp.o to_mod_q T
xof.o InitXOF T
xof.o KDF T
xof.o XOF T
xof.o generate_gaussian_noise T
xof.o get_random_field_element T
xof.o get_random_field_elements T

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
LimaAPI.o Dec_CCA T
LimaAPI.o Dec_CPA T
LimaAPI.o Decap_CCA T
LimaAPI.o Decap_CPA T
LimaAPI.o Enc_CCA T
LimaAPI.o Enc_CPA T
LimaAPI.o Encap_CCA T
LimaAPI.o Encap_CPA T
LimaAPI.o Key_Generation T
fft.o bfft T
fft.o fft T
fft.o fft_inv T
fft.o fft_sub_1 T
fft.o fft_sub_2 T
fft.o inv_mod_q T
fft.o precompute_fft_data T
lima.o DecodeCT T
lima.o DecodePK T
lima.o DecodeSK T
lima.o Decode_Val T
lima.o EncodeCT T
lima.o EncodePK T
lima.o EncodeSK T
lima.o Encode_Val T
lima.o InitLima T
lima.o RandCheck T
lima.o increment_seed T
lima.o init_done B
lima.o lima_2p_1024 D
lima.o lima_2p_2048 D
lima.o lima_dec_cca T
lima.o lima_dec_cpa T
lima.o lima_decap_cca T
lima.o lima_decap_cpa T
lima.o lima_enc_cca T
lima.o lima_enc_cpa T
lima.o lima_enc_cpa_sub T
lima.o lima_encap_cca T
lima.o lima_encap_cpa T
lima.o lima_fft_2p_1024 C
lima.o lima_fft_2p_2048 C
lima.o lima_fft_sp_1018 C
lima.o lima_fft_sp_1306 C
lima.o lima_fft_sp_1822 C
lima.o lima_fft_sp_2062 C
lima.o lima_key_gen T
lima.o lima_sp_1018 D
lima.o lima_sp_1306 D
lima.o lima_sp_1822 D
lima.o lima_sp_2062 D
modp.o add_mod_q T
modp.o exp_mod_q T
modp.o mod12521473 D
modp.o mod133121 D
modp.o mod16900097 D
modp.o mod184321 D
modp.o mod44802049 D
modp.o mod48181249 D
modp.o mul_add_mod_q T
modp.o mul_mod_q T
modp.o sub_mod_q T
modp.o to_int T
modp.o to_mod_q T
xof.o InitXOF T
xof.o KDF T
xof.o XOF T
xof.o generate_gaussian_noise T
xof.o get_random_field_element T
xof.o get_random_field_elements T

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref