Implementation notes: ppc64, power9, crypto_aead/remusn3v1

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_aead
Primitive: remusn3v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
520286927218 72 847484 756 1216T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
579990454972 144 1649340 756 1216T:refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
580869427486 72 849340 756 1216T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
589890326670 72 846428 756 1208T:refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
614155026670 72 846428 756 1208T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
149783949026 72 825582 748 1208T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
150487409026 72 825582 748 1208T:refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
161864698846 72 824878 748 1208T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
162786988846 72 824878 748 1208T:refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
1676966312592 96 832314 748 1224T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
1828766912844 72 832530 748 1224T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
1835914712844 72 832530 748 1224T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
188995458604 72 825690 740 1216T:refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
189254258656 72 825694 740 1216T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
189923678656 72 825694 740 1216T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
2074568911072 72 829661 748 1216T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
2159172211184 72 829741 748 1216T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
2202351611184 72 829741 748 1216T:refgcc_-mcpu=native_-mtune=native_-O_-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 'rho_ad':
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c: 56 | unsigned char mp [8];
encrypt.c: | ^~
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c: 56 | unsigned char mp [8];
encrypt.c: | ^~
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c: 56 | unsigned char mp [8];
encrypt.c: | ^~
encrypt.c: encrypt.c:30:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c:56:17: note: at offset 0 to object 'mp' with size 8 declared here
encrypt.c: 56 | unsigned char mp [8];
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 compose_tweakey T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o ice T
encrypt.o irho T
encrypt.o kdf T
encrypt.o lfsr_gf120 T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o pad 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 block_cipher 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 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 compose_tweakey T
encrypt.o compose_tweakey T
encrypt.o g8A T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o generate_tag T
encrypt.o ice T
encrypt.o ice T
encrypt.o irho T
encrypt.o irho T
encrypt.o kdf T
encrypt.o kdf T
encrypt.o lfsr_gf120 T
encrypt.o lfsr_gf120 T
encrypt.o msg_decryption T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o msg_encryption T
encrypt.o pad T
encrypt.o pad 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 block_cipher T
skinny_reference.o block_cipher 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 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