Implementation notes: amd64, kizomba, crypto_aead/aes128n12silcv1

Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aes128n12silcv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
11600025840 0 042871 792 928T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
11889922181 0 037055 792 928T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12118421536 0 034722 768 896T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12432123811 0 041687 824 920T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12459323004 0 040591 824 872T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12507023276 0 039535 824 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
12983222495 0 036909 784 928T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
13221820880 0 035417 816 920T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
13534121619 0 035375 824 856T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


encrypt.c: encrypt.c:77:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
encrypt.c:         return RETURN_SUCCESS;
encrypt.c:         ^
encrypt.c: encrypt.c:72:5: note: previous statement is here
encrypt.c:     for(i = 0; i < CRYPTO_ABYTES; i++)
encrypt.c:     ^
encrypt.c: 1 warning generated.
silc.c: silc.c:39:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:         pstate2("processing nonce:", NULL);
silc.c:         ^
silc.c: silc.c:101:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:                         pstate2("After xoring message block:", es);
silc.c:                         ^
silc.c: silc.c:106:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:                         pstate2("After xoring ciphertext block:", es);
silc.c:                         ^
silc.c: silc.c:110:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:                 pstate2("tag state:", ts);
silc.c:                 ^
silc.c: silc.c:127:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:                         pstate2("After xoring last partial message block:", es);
silc.c:                         ^
silc.c: silc.c:132:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:                         pstate2("After xoring last partial ciphertext block:", es);
silc.c:                         ^
silc.c: silc.c:136:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:                 pstate2("tag state:", ts);
silc.c:                 ^
silc.c: silc.c:147:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c:         pstate2("After xoring the legnth of message:", ts);
silc.c:         ^
silc.c: 8 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_aes128n12silcv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:72:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
encrypt.c:    72 |     for(i = 0; i < CRYPTO_ABYTES; i++)
encrypt.c:       |     ^~~
encrypt.c: encrypt.c:77:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
encrypt.c:    77 |         return RETURN_SUCCESS;
encrypt.c:       |         ^~~~~~
silc.c: silc.c: In function 'process_ad':
silc.c: silc.c:39:9: warning: implicit declaration of function 'pstate2'; did you mean 'pstate'? [-Wimplicit-function-declaration]
silc.c:    39 |         pstate2("processing nonce:", NULL);
silc.c:       |         ^~~~~~~
silc.c:       |         pstate

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)