Implementation notes: aarch64, gcc185, crypto_aead/elmd1001v2

Computer: gcc185
Microarchitecture: aarch64; Skylark (503f0002)
Architecture: aarch64
CPU ID: 503f0002
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: elmd1001v2

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: In file included from encrypt.c:12:
encrypt.c: ./module.h:45:39: error: unknown type name 'u8'
encrypt.c: 45 | static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: | ^
encrypt.c: ./module.h:45:53: error: unknown type name 'u8'
encrypt.c: 45 | static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: | ^
encrypt.c: ./module.h:45:61: error: unknown type name 'u8'
encrypt.c: 45 | static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: | ^
encrypt.c: ./module.h:45:70: error: unknown type name 'u8'
encrypt.c: 45 | static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: | ^
encrypt.c: ./module.h:51:25: error: unknown type name 'u8'
encrypt.c: 51 | static void store_bytes(u8 *b, block Blk, int first, int last){int i;
encrypt.c: | ^
encrypt.c: ./module.h:68:33: error: unknown type name 'u8'
encrypt.c: 68 | static void key_schedule( const u8 *key)
encrypt.c: | ^
encrypt.c: ./module.h:83:3: error: call to undeclared function 'AES_set_encrypt_key_6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 83 | AES_set_encrypt_key_6(key, 128, &aes_key1);
encrypt.c: | ^
encrypt.c: ./module.h:83:3: note: did you mean 'AES_set_encrypt_key'?
encrypt.c: /usr/include/openssl/aes.h:43:5: note: 'AES_set_encrypt_key' declared here
encrypt.c: 43 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
encrypt.c: ...

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
encrypt.c: In file included from encrypt.c:12:
encrypt.c: module.h:45:39: error: unknown type name 'u8'
encrypt.c: static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: ^~
encrypt.c: module.h:45:53: error: unknown type name 'u8'
encrypt.c: static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: ^~
encrypt.c: module.h:45:61: error: unknown type name 'u8'
encrypt.c: static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: ^~
encrypt.c: module.h:45:70: error: unknown type name 'u8'
encrypt.c: static void load_block(block L, const u8 *a1, const u8 *a2, u8 len1, u8 len2){
encrypt.c: ^~
encrypt.c: module.h:51:25: error: unknown type name 'u8'
encrypt.c: static void store_bytes(u8 *b, block Blk, int first, int last){int i;
encrypt.c: ^~
encrypt.c: module.h:68:33: error: unknown type name 'u8'
encrypt.c: static void key_schedule( const u8 *key)
encrypt.c: ^~
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:78:23: warning: passing argument 1 of 'AES_set_encrypt_key' from incompatible pointer type [-Wincompatible-pointer-types]
encrypt.c: AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c: ^~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:43:46: note: expected 'const unsigned char *' but argument is of type 'const int *'
encrypt.c: ...

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