Implementation notes: aarch64, pmnod145, crypto_aead/elmd101270v2

Computer: pmnod145
Architecture: aarch64
CPU ID: 431f0af1
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: elmd101270v2

Compiler output

Implementation: ref
Security model: unknown
Compiler: armclang -march=armv8a+crypto -mcpu=thunderx2t99 -mtune=thunderx2t99 -O2 -fPIC -fPIE
encrypt.c: In file included from encrypt.c:15:
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:83:3: warning: implicit declaration of function 'AES_set_encrypt_key_6' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: AES_set_encrypt_key_6(key, 128, &aes_key1);
encrypt.c: ^
encrypt.c: ./module.h:84:3: warning: implicit declaration of function 'AES_set_decrypt_key_6' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: AES_set_decrypt_key_6(key, 128, &aes_key2);
encrypt.c: ^
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
armclang -march=armv8a+crypto -mcpu=thunderx2t99 -mtune=thunderx2t99 -O2 -fPIC -fPIE ref
armclang -march=armv8a+crypto -mcpu=thunderx2t99 -mtune=thunderx2t99 -O3 -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: In file included from encrypt.c:15:
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: 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: 78 | AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c: | ^~~
encrypt.c: | |
encrypt.c: | 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 ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref