Implementation notes: amd64, hydra7, crypto_aead/morus640128v1

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: morus640128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
103664624 0 021164 812 1088T:sse2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
105302492 0 017540 812 1088T:sse2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
107462573 0 017884 812 1088T:sse2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
116722037 0 015719 788 1056T:sse2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
2696412286 0 028820 812 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


encrypt.c: encrypt.c: In function 'morus_dec_aut_partialblock':
encrypt.c: encrypt.c:169:63: warning: unused variable 'pb' [-Wunused-variable]
encrypt.c:   169 |         unsigned char plaintextblock[16], ciphertextblock[16],pb[16];
encrypt.c:       |                                                               ^~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:200:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   200 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:248:23: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:   248 |         unsigned char check = 0;
encrypt.c:       |                       ^~~~~
encrypt.c: encrypt.c:247:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:   247 |         unsigned char tag[16];
encrypt.c:       |                       ^~~
encrypt.c: encrypt.c:246:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   246 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:245:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:   245 |         unsigned long i,j;
encrypt.c:       |                         ^
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:67: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_tag_generation':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:84: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_tag_verification':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:107: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_enc_aut_partialblock':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:160: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_dec_aut_partialblock':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:184: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:129: more undefined references to `morus_stateupdate' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt.c: encrypt.c: In function 'morus_dec_aut_partialblock':
encrypt.c: encrypt.c:169:63: warning: unused variable 'pb' [-Wunused-variable]
encrypt.c:   169 |         unsigned char plaintextblock[16], ciphertextblock[16],pb[16];
encrypt.c:       |                                                               ^~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:200:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   200 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:248:23: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:   248 |         unsigned char check = 0;
encrypt.c:       |                       ^~~~~
encrypt.c: encrypt.c:247:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:   247 |         unsigned char tag[16];
encrypt.c:       |                       ^~~
encrypt.c: encrypt.c:246:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   246 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:245:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:   245 |         unsigned long i,j;
encrypt.c:       |                         ^

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt.c: encrypt.c: In function 'morus_dec_aut_partialblock':
encrypt.c: encrypt.c:169:63: warning: unused variable 'pb' [-Wunused-variable]
encrypt.c:   169 |         unsigned char plaintextblock[16], ciphertextblock[16],pb[16];
encrypt.c:       |                                                               ^~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:200:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   200 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:248:23: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:   248 |         unsigned char check = 0;
encrypt.c:       |                       ^~~~~
encrypt.c: encrypt.c:247:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:   247 |         unsigned char tag[16];
encrypt.c:       |                       ^~~
encrypt.c: encrypt.c:246:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   246 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:245:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:   245 |         unsigned long i,j;
encrypt.c:       |                         ^
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:67: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_tag_generation':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:84: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_tag_verification':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:107: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_enc_aut_partialblock':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:160: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_dec_aut_partialblock':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:184: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:129: more undefined references to `morus_stateupdate' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt.c: encrypt.c: In function 'morus_dec_aut_partialblock':
encrypt.c: encrypt.c:169:63: warning: unused variable 'pb' [-Wunused-variable]
encrypt.c:   169 |         unsigned char plaintextblock[16], ciphertextblock[16],pb[16];
encrypt.c:       |                                                               ^~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:200:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   200 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_morus640128v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:248:23: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:   248 |         unsigned char check = 0;
encrypt.c:       |                       ^~~~~
encrypt.c: encrypt.c:247:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:   247 |         unsigned char tag[16];
encrypt.c:       |                       ^~~
encrypt.c: encrypt.c:246:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
encrypt.c:   246 |         unsigned char plaintextblock[16], ciphertextblock[16];
encrypt.c:       |                       ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:245:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:   245 |         unsigned long i,j;
encrypt.c:       |                         ^
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_initialization':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:67: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_tag_generation':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:84: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_tag_verification':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:107: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_enc_aut_partialblock':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:160: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `morus_dec_aut_partialblock':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:184: undefined reference to `morus_stateupdate'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `crypto_aead_morus640128v1_ref_timingleaks_encrypt':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:208: undefined reference to `morus_enc_aut_step'
try.c: /usr/bin/ld: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:219: undefined reference to `morus_enc_aut_step'
try.c: /usr/bin/ld: libcrypto_aead_morus640128v1.a(encrypt.o): in function `crypto_aead_morus640128v1_ref_timingleaks_decrypt':
try.c: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:257: undefined reference to `morus_enc_aut_step'
try.c: /usr/bin/ld: .../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_aead/morus640128v1/ref/work/encrypt.c:269: undefined reference to `morus_dec_aut_step'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


morus640128v1sse2.c: morus640128v1sse2.c: In function 'crypto_aead_morus640128v1_sse2_timingleaks_encrypt':
morus640128v1sse2.c: morus640128v1sse2.c:235:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
morus640128v1sse2.c:   235 |         unsigned char plaintextblock[16], ciphertextblock[16];
morus640128v1sse2.c:       |                       ^~~~~~~~~~~~~~
morus640128v1sse2.c: morus640128v1sse2.c: In function 'crypto_aead_morus640128v1_sse2_timingleaks_decrypt':
morus640128v1sse2.c: morus640128v1sse2.c:281:23: warning: unused variable 'tag' [-Wunused-variable]
morus640128v1sse2.c:   281 |         unsigned char tag[16];
morus640128v1sse2.c:       |                       ^~~
morus640128v1sse2.c: morus640128v1sse2.c:280:23: warning: unused variable 'plaintextblock' [-Wunused-variable]
morus640128v1sse2.c:   280 |         unsigned char plaintextblock[16], ciphertextblock[16];
morus640128v1sse2.c:       |                       ^~~~~~~~~~~~~~
morus640128v1sse2.c: morus640128v1sse2.c:279:25: warning: unused variable 'j' [-Wunused-variable]
morus640128v1sse2.c:   279 |         unsigned long i,j;
morus640128v1sse2.c:       |                         ^

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:sse2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:sse2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:sse2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:sse2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)