Implementation notes: amd64, hiphop, crypto_aead/juliusv1draft

Computer: hiphop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20231107
Operation: crypto_aead
Primitive: juliusv1draft

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.c: aes.c:530:10: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
aes.c: printf("%02x",state[idx2][idx]);
aes.c: ^
aes.c: aes.c:530:10: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
aes.c: aes.c:531:4: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration]
aes.c: puts("");
aes.c: ^
aes.c: aes.c:539:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
aes.c: printf("%08x",key[idx]);
aes.c: ~~~~ ^~~~~~~~
aes.c: %08lx
aes.c: aes.c:540:4: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration]
aes.c: puts("");
aes.c: ^
aes.c: 4 warnings generated.
encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./functions.c:2:10: fatal error: 'AES/aes.c' file not found
encrypt.c: #include "AES/aes.c"
encrypt.c: ^~~~~~~~~~~
encrypt.c: 1 error 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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes.c: aes.c: In function 'printstate':
aes.c: aes.c:530:10: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
aes.c: 530 | printf("%02x",state[idx2][idx]);
aes.c: | ^~~~~~
aes.c: aes.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
aes.c: +++ |+#include <stdio.h>
aes.c: 1 |
aes.c: aes.c:530:10: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
aes.c: 530 | printf("%02x",state[idx2][idx]);
aes.c: | ^~~~~~
aes.c: aes.c:530:10: note: include '<stdio.h>' or provide a declaration of 'printf'
aes.c: aes.c:531:4: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
aes.c: 531 | puts("");
aes.c: | ^~~~
aes.c: aes.c:531:4: note: include '<stdio.h>' or provide a declaration of 'puts'
aes.c: aes.c: In function 'print_rnd_key':
aes.c: aes.c:539:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
aes.c: 539 | printf("%08x",key[idx]);
aes.c: | ^~~~~~
aes.c: aes.c:539:7: note: include '<stdio.h>' or provide a declaration of 'printf'
aes.c: aes.c:539:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
aes.c: 539 | printf("%08x",key[idx]);
aes.c: | ~~~^ ~~~~~~~~
aes.c: | | |
aes.c: | | long unsigned int
aes.c: ...
encrypt.c: In file included from encrypt.c:10:
encrypt.c: functions.c:2:10: fatal error: AES/aes.c: No such file or directory
encrypt.c: 2 | #include "AES/aes.c"
encrypt.c: | ^~~~~~~~~~~
encrypt.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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