Implementation notes: amd64, alder2,1f626960,3300000, crypto_aead/aes128marble4rv1

Computer: alder2,1f626960,3300000
Microarchitecture: amd64; Gracemont (906a4-20)
Architecture: amd64
CPU ID: GenuineIntel-000906a4-20-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: aes128marble4rv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15994147082 0 063767 796 1080T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
17439634411 0 051223 828 1016T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
19172233648 0 050351 828 1048T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
19353328049 0 042743 796 1080T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
19798930705 0 047271 828 1048T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
20385026195 0 040621 820 1016T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
22582326239 0 040317 820 1016T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
24241327006 0 041366 788 1080T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
25943325350 0 038466 772 1048T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

Compiler output


aes_core.c: aes_core.c:892:12: warning: unused variable 'status' [-Wunused-variable]
aes_core.c:         int i, j, status;
aes_core.c:                   ^
aes_core.c: 1 warning generated.
encrypt.c: encrypt.c:34:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c:         free(cxt);
encrypt.c:         ^
encrypt.c: encrypt.c:19:16: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:         unsigned char tag[CRYPTO_ABYTES];
encrypt.c:                       ^
encrypt.c: encrypt.c:67:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c:         free(cxt);
encrypt.c:         ^
encrypt.c: 3 warnings generated.
marble.c: marble.c:223:7: warning: unused variable 'temp' [-Wunused-variable]
marble.c:         byte temp[SLEN];
marble.c:              ^
marble.c: marble.c:281:7: warning: unused variable 'temp' [-Wunused-variable]
marble.c:         byte temp[SLEN];
marble.c:              ^
marble.c: 2 warnings generated.

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

Compiler output


aes_core.c: aes_core.c: In function 'AES_set_4round_decrypt_key':
aes_core.c: aes_core.c:892:12: warning: unused variable 'status' [-Wunused-variable]
aes_core.c:   892 |  int i, j, status;
aes_core.c:       |            ^~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_aes128marble4rv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:34:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
encrypt.c:    34 |  free(cxt);
encrypt.c:       |  ^~~~
encrypt.c: encrypt.c:34:2: warning: incompatible implicit declaration of built-in function 'free'
encrypt.c: encrypt.c:5:1: note: include '<stdlib.h>' or provide a declaration of 'free'
encrypt.c:     4 | #include "marble.h"
encrypt.c:   +++ |+#include <stdlib.h>
encrypt.c:     5 |
encrypt.c: encrypt.c:19:16: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:    19 |  unsigned char tag[CRYPTO_ABYTES];
encrypt.c:       |                ^~~
encrypt.c: encrypt.c: In function 'crypto_aead_aes128marble4rv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:67:2: warning: incompatible implicit declaration of built-in function 'free'
encrypt.c:    67 |  free(cxt);
encrypt.c:       |  ^~~~
encrypt.c: encrypt.c:67:2: note: include '<stdlib.h>' or provide a declaration of 'free'
marble.c: marble.c: In function 'ae_encrypt':
marble.c: marble.c:223:7: warning: unused variable 'temp' [-Wunused-variable]
marble.c:   223 |  byte temp[SLEN];
marble.c:       |       ^~~~
marble.c: marble.c: In function 'ae_decrypt':
marble.c: marble.c:281:7: warning: unused variable 'temp' [-Wunused-variable]
marble.c:   281 |  byte temp[SLEN];
marble.c:       |       ^~~~

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