Implementation notes: aarch64, gcc185, crypto_aead/elmd51270v1

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

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:15:
encrypt.c: ./module.h:84:3: error: call to undeclared function 'AES_set_encrypt_key_5'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 84 | AES_set_encrypt_key_5(key, 128, &aes_key2);
encrypt.c: | ^
encrypt.c: ./module.h:84: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: | ^
encrypt.c: In file included from encrypt.c:15:
encrypt.c: ./module.h:85:3: error: call to undeclared function 'AES_set_decrypt_key_5'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 85 | AES_set_decrypt_key_5(key, 128, &aes_key4);
encrypt.c: | ^
encrypt.c: ./module.h:103:4: error: call to undeclared function 'AES_encrypt_r5'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 103 | AES_encrypt_r5(inp, res, key);
encrypt.c: | ^
encrypt.c: ./module.h:103:4: note: did you mean 'AES_encrypt'?
encrypt.c: /usr/include/openssl/aes.h:48:6: note: 'AES_encrypt' declared here
encrypt.c: 48 | void AES_encrypt(const unsigned char *in, unsigned char *out,
encrypt.c: | ^
encrypt.c: In file included from encrypt.c:15:
encrypt.c: ./module.h:105:4: error: call to undeclared function 'AES_decrypt_r5'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 105 | AES_decrypt_r5(inp, res, key);
encrypt.c: | ^
encrypt.c: 4 errors 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
encrypt.c: In file included from encrypt.c:15:
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:84:3: warning: implicit declaration of function 'AES_set_encrypt_key_5'; did you mean 'AES_set_encrypt_key'? [-Wimplicit-function-declaration]
encrypt.c: AES_set_encrypt_key_5(key, 128, &aes_key2);
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: AES_set_encrypt_key
encrypt.c: module.h:85:3: warning: implicit declaration of function 'AES_set_decrypt_key_5'; did you mean 'AES_set_decrypt_key'? [-Wimplicit-function-declaration]
encrypt.c: AES_set_decrypt_key_5(key, 128, &aes_key4);
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: AES_set_decrypt_key
encrypt.c: module.h: In function 'AES':
encrypt.c: module.h:103:4: warning: implicit declaration of function 'AES_encrypt_r5'; did you mean 'AES_encrypt'? [-Wimplicit-function-declaration]
encrypt.c: AES_encrypt_r5(inp, res, key);
encrypt.c: ^~~~~~~~~~~~~~
encrypt.c: AES_encrypt
encrypt.c: module.h:105:4: warning: implicit declaration of function 'AES_decrypt_r5'; did you mean 'AES_decrypt'? [-Wimplicit-function-declaration]
encrypt.c: AES_decrypt_r5(inp, res, key);
encrypt.c: ^~~~~~~~~~~~~~
encrypt.c: AES_decrypt
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `key_schedule':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_encrypt_key_5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_decrypt_key_5'
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `process_block':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_decrypt_r5'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: In file included from encrypt.c:15:
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:84:3: warning: implicit declaration of function 'AES_set_encrypt_key_5'; did you mean 'AES_set_encrypt_key'? [-Wimplicit-function-declaration]
encrypt.c: AES_set_encrypt_key_5(key, 128, &aes_key2);
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: AES_set_encrypt_key
encrypt.c: module.h:85:3: warning: implicit declaration of function 'AES_set_decrypt_key_5'; did you mean 'AES_set_decrypt_key'? [-Wimplicit-function-declaration]
encrypt.c: AES_set_decrypt_key_5(key, 128, &aes_key4);
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: AES_set_decrypt_key
encrypt.c: module.h: In function 'AES':
encrypt.c: module.h:103:4: warning: implicit declaration of function 'AES_encrypt_r5'; did you mean 'AES_encrypt'? [-Wimplicit-function-declaration]
encrypt.c: AES_encrypt_r5(inp, res, key);
encrypt.c: ^~~~~~~~~~~~~~
encrypt.c: AES_encrypt
encrypt.c: module.h:105:4: warning: implicit declaration of function 'AES_decrypt_r5'; did you mean 'AES_decrypt'? [-Wimplicit-function-declaration]
encrypt.c: AES_decrypt_r5(inp, res, key);
encrypt.c: ^~~~~~~~~~~~~~
encrypt.c: AES_decrypt
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `process_AD':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `process_block.constprop.2':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_decrypt_r5'
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `crypto_aead_elmd51270v1_ref_timingleaks_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_encrypt_key_5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_decrypt_key_5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `crypto_aead_elmd51270v1_ref_timingleaks_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_encrypt_key_5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_decrypt_key_5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: In file included from encrypt.c:15:
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:84:3: warning: implicit declaration of function 'AES_set_encrypt_key_5'; did you mean 'AES_set_encrypt_key'? [-Wimplicit-function-declaration]
encrypt.c: AES_set_encrypt_key_5(key, 128, &aes_key2);
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: AES_set_encrypt_key
encrypt.c: module.h:85:3: warning: implicit declaration of function 'AES_set_decrypt_key_5'; did you mean 'AES_set_decrypt_key'? [-Wimplicit-function-declaration]
encrypt.c: AES_set_decrypt_key_5(key, 128, &aes_key4);
encrypt.c: ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: AES_set_decrypt_key
encrypt.c: module.h: In function 'AES':
encrypt.c: module.h:103:4: warning: implicit declaration of function 'AES_encrypt_r5'; did you mean 'AES_encrypt'? [-Wimplicit-function-declaration]
encrypt.c: AES_encrypt_r5(inp, res, key);
encrypt.c: ^~~~~~~~~~~~~~
encrypt.c: AES_encrypt
encrypt.c: module.h:105:4: warning: implicit declaration of function 'AES_decrypt_r5'; did you mean 'AES_decrypt'? [-Wimplicit-function-declaration]
encrypt.c: AES_decrypt_r5(inp, res, key);
encrypt.c: ^~~~~~~~~~~~~~
encrypt.c: AES_decrypt
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `key_schedule':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_encrypt_key_5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_set_decrypt_key_5'
try.c: libcrypto_aead_elmd51270v1.a(encrypt.o): In function `process_block':
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_decrypt_r5'
try.c: encrypt.c:(.text+0x...): undefined reference to `AES_encrypt_r5'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref