Implementation notes: aarch64, pi4b, crypto_aead/morus1280256v1
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: morus1280256v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
14218 | 7856 0 0 | 23930 880 880 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
14218 | 10636 0 0 | 26738 880 880 | T:ref64 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
28436 | 5408 0 0 | 22345 896 872 | T:ref64 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
28436 | 5296 0 0 | 20354 880 864 | T:ref64 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
28436 | 5664 0 0 | 20793 872 864 | T:ref64 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
28436 | 5048 0 0 | 19122 864 856 | T:ref64 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
Compiler output
morus1280256v1avx2.c: In file included from morus1280256v1avx2.c:2:
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1avx2.c: #error "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1avx2.c: ^
morus1280256v1avx2.c: In file included from morus1280256v1avx2.c:2:
morus1280256v1avx2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:17:
morus1280256v1avx2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/x86gprintrin.h:15:
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
morus1280256v1avx2.c: __asm__ ("hreset $0" :: "a"(__eax));
morus1280256v1avx2.c: ^
morus1280256v1avx2.c: In file included from morus1280256v1avx2.c:2:
morus1280256v1avx2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:21:
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1avx2.c: #error "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1avx2.c: ^
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1avx2.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
morus1280256v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1avx2.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
morus1280256v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1avx2.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
morus1280256v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280256v1avx2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1avx2.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
morus1280256v1avx2.c: morus1280256v1avx2.c:2:10: fatal error: immintrin.h: No such file or directory
morus1280256v1avx2.c: 2 | #include <immintrin.h>
morus1280256v1avx2.c: | ^~~~~~~~~~~~~
morus1280256v1avx2.c: compilation terminated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
encrypt.c: encrypt.c:207:10: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: ^
encrypt.c: encrypt.c:251:18: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: unsigned long i,j;
encrypt.c: ^
encrypt.c: encrypt.c:252:10: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: ^
encrypt.c: encrypt.c:253:10: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: uint8_t tag[16];
encrypt.c: ^
encrypt.c: encrypt.c:254:10: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: uint8_t check = 0;
encrypt.c: ^
encrypt.c: 5 warnings generated.
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/pi4b/aarch64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: .../supercop-data/pi4b/aarch64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: .../supercop-data/pi4b/aarch64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: .../supercop-data/pi4b/aarch64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: .../supercop-data/pi4b/aarch64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o):.../supercop-data/pi4b/aarch64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: more undefined references to `morus_stateupdate' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:207:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 207 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:254:17: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 254 | uint8_t check = 0;
encrypt.c: | ^~~~~
encrypt.c: encrypt.c:253:17: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 253 | uint8_t tag[16];
encrypt.c: | ^~~
encrypt.c: encrypt.c:252:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 252 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:251:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 251 | unsigned long i,j;
encrypt.c: | ^
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_tag_generation':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:83: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_tag_verification':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:107: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_enc_aut_partialblock':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:167: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_dec_aut_partialblock':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:191: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o):.../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:132: more undefined references to `morus_stateupdate' follow
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:207:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 207 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:254:17: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 254 | uint8_t check = 0;
encrypt.c: | ^~~~~
encrypt.c: encrypt.c:253:17: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 253 | uint8_t tag[16];
encrypt.c: | ^~~
encrypt.c: encrypt.c:252:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 252 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:251:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 251 | unsigned long i,j;
encrypt.c: | ^
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:207:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 207 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:254:17: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 254 | uint8_t check = 0;
encrypt.c: | ^~~~~
encrypt.c: encrypt.c:253:17: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 253 | uint8_t tag[16];
encrypt.c: | ^~~
encrypt.c: encrypt.c:252:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 252 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:251:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 251 | unsigned long i,j;
encrypt.c: | ^
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_tag_generation':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:83: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_tag_verification':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:107: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_enc_aut_partialblock':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:167: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_dec_aut_partialblock':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:191: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o):.../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:132: more undefined references to `morus_stateupdate' follow
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:207:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 207 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus1280256v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:254:17: warning: unused variable 'check' [-Wunused-variable]
encrypt.c: 254 | uint8_t check = 0;
encrypt.c: | ^~~~~
encrypt.c: encrypt.c:253:17: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c: 253 | uint8_t tag[16];
encrypt.c: | ^~~
encrypt.c: encrypt.c:252:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c: 252 | uint8_t plaintextblock[32], ciphertextblock[32];
encrypt.c: | ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:251:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c: 251 | unsigned long i,j;
encrypt.c: | ^
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:66: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_tag_generation':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:83: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_tag_verification':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:107: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_enc_aut_partialblock':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:167: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `morus_dec_aut_partialblock':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:191: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `crypto_aead_morus1280256v1_ref_timingleaks_encrypt':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:215: undefined reference to `morus_enc_aut_step'
try.c: /usr/bin/ld: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:226: undefined reference to `morus_enc_aut_step'
try.c: /usr/bin/ld: libcrypto_aead_morus1280256v1.a(encrypt.o): in function `crypto_aead_morus1280256v1_ref_timingleaks_decrypt':
try.c: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:261: undefined reference to `morus_enc_aut_step'
try.c: /usr/bin/ld: .../supercop-data/pi4b/aarch64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus1280256v1/ref/work/encrypt.c:273: undefined reference to `morus_dec_aut_step'
try.c: collect2: error: ld returned 1 exit status
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
morus1280256v1opt64.c: morus1280256v1opt64.c:269:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
morus1280256v1opt64.c: uint8_t plaintextblock[32], ciphertextblock[32];
morus1280256v1opt64.c: ^
morus1280256v1opt64.c: morus1280256v1opt64.c:314:25: warning: unused variable 'j' [-Wunused-variable]
morus1280256v1opt64.c: unsigned long i,j;
morus1280256v1opt64.c: ^
morus1280256v1opt64.c: morus1280256v1opt64.c:315:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
morus1280256v1opt64.c: uint8_t plaintextblock[32], ciphertextblock[32];
morus1280256v1opt64.c: ^
morus1280256v1opt64.c: morus1280256v1opt64.c:316:17: warning: unused variable 'tag' [-Wunused-variable]
morus1280256v1opt64.c: uint8_t tag[16];
morus1280256v1opt64.c: ^
morus1280256v1opt64.c: morus1280256v1opt64.c:317:17: warning: unused variable 'check' [-Wunused-variable]
morus1280256v1opt64.c: uint8_t check = 0;
morus1280256v1opt64.c: ^
morus1280256v1opt64.c: 5 warnings generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref64 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
morus1280256v1opt64.c: morus1280256v1opt64.c: In function 'crypto_aead_morus1280256v1_ref64_timingleaks_encrypt':
morus1280256v1opt64.c: morus1280256v1opt64.c:269:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
morus1280256v1opt64.c: 269 | uint8_t plaintextblock[32], ciphertextblock[32];
morus1280256v1opt64.c: | ^~~~~~~~~~~~~~
morus1280256v1opt64.c: morus1280256v1opt64.c: In function 'crypto_aead_morus1280256v1_ref64_timingleaks_decrypt':
morus1280256v1opt64.c: morus1280256v1opt64.c:317:17: warning: unused variable 'check' [-Wunused-variable]
morus1280256v1opt64.c: 317 | uint8_t check = 0;
morus1280256v1opt64.c: | ^~~~~
morus1280256v1opt64.c: morus1280256v1opt64.c:316:17: warning: unused variable 'tag' [-Wunused-variable]
morus1280256v1opt64.c: 316 | uint8_t tag[16];
morus1280256v1opt64.c: | ^~~
morus1280256v1opt64.c: morus1280256v1opt64.c:315:17: warning: unused variable 'plaintextblock' [-Wunused-variable]
morus1280256v1opt64.c: 315 | uint8_t plaintextblock[32], ciphertextblock[32];
morus1280256v1opt64.c: | ^~~~~~~~~~~~~~
morus1280256v1opt64.c: morus1280256v1opt64.c:314:25: warning: unused variable 'j' [-Wunused-variable]
morus1280256v1opt64.c: 314 | unsigned long i,j;
morus1280256v1opt64.c: | ^
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref64 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref64 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref64 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
morus1280256v1sse2.c: In file included from morus1280256v1sse2.c:2:
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1sse2.c: #error "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1sse2.c: ^
morus1280256v1sse2.c: In file included from morus1280256v1sse2.c:2:
morus1280256v1sse2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:17:
morus1280256v1sse2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/x86gprintrin.h:15:
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
morus1280256v1sse2.c: __asm__ ("hreset $0" :: "a"(__eax));
morus1280256v1sse2.c: ^
morus1280256v1sse2.c: In file included from morus1280256v1sse2.c:2:
morus1280256v1sse2.c: In file included from /usr/lib/llvm-14/lib/clang/14.0.0/include/immintrin.h:21:
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1sse2.c: #error "This header is only meant to be used on x86 and x64 architecture"
morus1280256v1sse2.c: ^
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1sse2.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
morus1280256v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1sse2.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
morus1280256v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1sse2.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
morus1280256v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280256v1sse2.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280256v1sse2.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
morus1280256v1sse2.c: morus1280256v1sse2.c:2:10: fatal error: immintrin.h: No such file or directory
morus1280256v1sse2.c: 2 | #include <immintrin.h>
morus1280256v1sse2.c: | ^~~~~~~~~~~~~
morus1280256v1sse2.c: compilation terminated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:sse2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:sse2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:sse2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:sse2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |