Implementation notes: ppc64, power9, crypto_aead/romulusn2v1

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_aead
Primitive: romulusn2v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
386613836778 72 856892 756 1216T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
398910737122 72 858812 756 1216T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
400122074244 144 1658812 756 1216T:refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
428558434710 72 854300 756 1208T:refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
431396134710 72 854300 756 1208T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
1213718310074 72 826638 748 1208T:refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
1216998810074 72 826638 748 1208T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
1303776214368 96 834126 748 1224T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
1352325714504 72 834222 748 1224T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
1360712314504 72 834222 748 1224T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
140912559954 72 825998 748 1208T:refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
140965879954 72 825998 748 1208T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
1452959812728 72 831321 748 1216T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
1487294512876 72 831465 748 1216T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
1492917112876 72 831465 748 1216T:refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
157117379680 72 826802 740 1216T:refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
160957359732 72 826774 740 1216T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
161259479732 72 826774 740 1216T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c: In function 'ad_encryption':
encrypt.c: encrypt.c:29:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 29 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:289:17: note: at offset 0 to object 'T' with size 16 declared here
encrypt.c: 289 | unsigned char T [16];
encrypt.c: | ^
encrypt.c: encrypt.c:29:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 29 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:289:17: note: at offset 0 to object 'T' with size 16 declared here
encrypt.c: 289 | unsigned char T [16];
encrypt.c: | ^
encrypt.c: encrypt.c:29:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 29 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:289:17: note: at offset 0 to object 'T' with size 16 declared here
encrypt.c: 289 | unsigned char T [16];
encrypt.c: | ^
encrypt.c: encrypt.c:29:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 29 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:289:17: note: at offset 0 to object 'T' with size 16 declared here
encrypt.c: 289 | unsigned char T [16];
encrypt.c: | ^
encrypt.c: ...

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o ad_encryption T
encrypt.o block_cipher T
encrypt.o compose_tweakey T
encrypt.o dual_lfsr T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o irho T
encrypt.o lfsr_gf24 T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o nonce_encryption T
encrypt.o pad T
encrypt.o reset_dual_lfsr T
encrypt.o reset_lfsr_gf24 T
encrypt.o rho T
encrypt.o rho_ad T
skinny_reference.o AddConstants T
skinny_reference.o AddKey T
skinny_reference.o AddKey_inv T
skinny_reference.o MixColumn T
skinny_reference.o MixColumn_inv T
skinny_reference.o P R
skinny_reference.o P_inv R
skinny_reference.o RC R
skinny_reference.o ShiftRows T
skinny_reference.o ShiftRows_inv T
skinny_reference.o SubCell4 T
skinny_reference.o SubCell4_inv T
skinny_reference.o SubCell8 T
skinny_reference.o SubCell8_inv T
skinny_reference.o TWEAKEY_P R
skinny_reference.o TWEAKEY_P_inv R
skinny_reference.o TestVectors T
skinny_reference.o dec T
skinny_reference.o enc T
skinny_reference.o fic B
skinny_reference.o sbox_4 R
skinny_reference.o sbox_4_inv R
skinny_reference.o sbox_8 R
skinny_reference.o sbox_8_inv R
skinny_reference.o skinny_128_384_enc T
skinny_reference.o versions D

Number of similar (compiler,implementation) pairs: 17, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
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
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o ad_encryption T
encrypt.o ad_encryption T
encrypt.o block_cipher T
encrypt.o block_cipher T
encrypt.o compose_tweakey T
encrypt.o compose_tweakey T
encrypt.o dual_lfsr T
encrypt.o dual_lfsr T
encrypt.o g8A T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o generate_tag T
encrypt.o irho T
encrypt.o irho T
encrypt.o lfsr_gf24 T
encrypt.o lfsr_gf24 T
encrypt.o msg_decryption T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o msg_encryption T
encrypt.o nonce_encryption T
encrypt.o nonce_encryption T
encrypt.o pad T
encrypt.o pad T
encrypt.o reset_dual_lfsr T
encrypt.o reset_dual_lfsr T
encrypt.o reset_lfsr_gf24 T
encrypt.o reset_lfsr_gf24 T
encrypt.o rho T
encrypt.o rho T
encrypt.o rho_ad T
encrypt.o rho_ad T
skinny_reference.o AddConstants T
skinny_reference.o AddConstants T
skinny_reference.o AddKey T
skinny_reference.o AddKey T
skinny_reference.o AddKey_inv T
skinny_reference.o AddKey_inv T
skinny_reference.o MixColumn T
skinny_reference.o MixColumn T
skinny_reference.o MixColumn_inv T
skinny_reference.o MixColumn_inv T
skinny_reference.o P R
skinny_reference.o P R
skinny_reference.o P_inv R
skinny_reference.o P_inv R
skinny_reference.o RC R
skinny_reference.o RC R
skinny_reference.o ShiftRows T
skinny_reference.o ShiftRows T
skinny_reference.o ShiftRows_inv T
skinny_reference.o ShiftRows_inv T
skinny_reference.o SubCell4 T
skinny_reference.o SubCell4 T
skinny_reference.o SubCell4_inv T
skinny_reference.o SubCell4_inv T
skinny_reference.o SubCell8 T
skinny_reference.o SubCell8 T
skinny_reference.o SubCell8_inv T
skinny_reference.o SubCell8_inv T
skinny_reference.o TWEAKEY_P R
skinny_reference.o TWEAKEY_P R
skinny_reference.o TWEAKEY_P_inv R
skinny_reference.o TWEAKEY_P_inv R
skinny_reference.o TestVectors T
skinny_reference.o TestVectors T
skinny_reference.o dec T
skinny_reference.o dec T
skinny_reference.o enc T
skinny_reference.o enc T
skinny_reference.o fic B
skinny_reference.o fic B
skinny_reference.o sbox_4 R
skinny_reference.o sbox_4 R
skinny_reference.o sbox_4_inv R
skinny_reference.o sbox_4_inv R
skinny_reference.o sbox_8 R
skinny_reference.o sbox_8 R
skinny_reference.o sbox_8_inv R
skinny_reference.o sbox_8_inv R
skinny_reference.o skinny_128_384_enc T
skinny_reference.o skinny_128_384_enc T
skinny_reference.o versions D
skinny_reference.o versions D

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref