Implementation notes: ppc64, power9, crypto_aead/aeadaes192ocbtaglen128v1

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_aead
Primitive: aeadaes192ocbtaglen128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2911047260 0 035055 684 1232T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
29123614520 0 035055 684 1232T:refclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
2912687260 0 032943 684 1224T:refclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
2923357260 0 032943 684 1224T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
2930357484 0 033743 684 1232T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
3244687796 0 035349 692 1264T:refgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3246817168 0 034441 692 1264T:refgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3246897168 0 034441 692 1264T:refgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3441514712 0 030589 692 1248T:refgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3443814712 0 030589 692 1248T:refgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3456502624 0 024657 676 1224T:refclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
3476302624 0 024657 676 1224T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
3480984868 0 030817 692 1248T:refgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3560632496 0 024905 676 1224T:refclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
3562702496 0 024905 676 1224T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042220210326
3585682256 0 025113 684 1240T:refgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3587112208 0 024985 684 1240T:refgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3595532208 0 024985 684 1240T:refgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3666063052 0 027476 692 1240T:refgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3699133116 0 027540 692 1240T:refgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326
3736523052 0 027476 692 1240T:refgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042220210326

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ocb.c: ocb.c:917:4: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: store_block(&ctp[0],xor_block(ta[0], oa[0]));
ocb.c: ^
ocb.c: ocb.c:1002:12: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: case 3: store_block(&ctp[2],xor_block(ta[2], oa[2]));
ocb.c: ^
ocb.c: ocb.c:1124:4: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: store_block(&ptp[0],xor_block(ta[0], oa[0]));
ocb.c: ^
ocb.c: ocb.c:1209:12: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: case 3: store_block(&ptp[2],xor_block(ta[2], oa[2]));
ocb.c: ^
ocb.c: 4 warnings generated.
try.c: /usr/bin/ld: libcrypto_aead_aeadaes192ocbtaglen128v1.a(ocb.o): in function `ae_encrypt':
try.c: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: libcrypto_aead_aeadaes192ocbtaglen128v1.a(ocb.o):ocb.c:(.text+0x...): more undefined references to `store_block' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ocb.c: ocb.c:917:4: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: store_block(&ctp[0],xor_block(ta[0], oa[0]));
ocb.c: ^
ocb.c: ocb.c:1002:12: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: case 3: store_block(&ctp[2],xor_block(ta[2], oa[2]));
ocb.c: ^
ocb.c: ocb.c:1124:4: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: store_block(&ptp[0],xor_block(ta[0], oa[0]));
ocb.c: ^
ocb.c: ocb.c:1209:12: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: case 3: store_block(&ptp[2],xor_block(ta[2], oa[2]));
ocb.c: ^
ocb.c: 4 warnings generated.
try.c: /usr/bin/ld: libcrypto_aead_aeadaes192ocbtaglen128v1.a(ocb.o): in function `ae_encrypt':
try.c: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: libcrypto_aead_aeadaes192ocbtaglen128v1.a(ocb.o):ocb.c:(.text+0x...): more undefined references to `store_block' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
ocb.c: ocb.c:917:4: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: store_block(&ctp[0],xor_block(ta[0], oa[0]));
ocb.c: ^
ocb.c: ocb.c:1002:12: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: case 3: store_block(&ctp[2],xor_block(ta[2], oa[2]));
ocb.c: ^
ocb.c: ocb.c:1124:4: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: store_block(&ptp[0],xor_block(ta[0], oa[0]));
ocb.c: ^
ocb.c: ocb.c:1209:12: warning: implicit declaration of function 'store_block' is invalid in C99 [-Wimplicit-function-declaration]
ocb.c: case 3: store_block(&ptp[2],xor_block(ta[2], oa[2]));
ocb.c: ^
ocb.c: 4 warnings generated.
try.c: /usr/bin/ld: libcrypto_aead_aeadaes192ocbtaglen128v1.a(ocb.o): in function `ae_encrypt':
try.c: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: ocb.c:(.text+0x...): undefined reference to `store_block'
try.c: /usr/bin/ld: libcrypto_aead_aeadaes192ocbtaglen128v1.a(ocb.o):ocb.c:(.text+0x...): more undefined references to `store_block' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
ocb.c: ocb.c: In function 'ae_encrypt':
ocb.c: ocb.c:917:4: warning: implicit declaration of function 'store_block'; did you mean 'xor_block'? [-Wimplicit-function-declaration]
ocb.c: 917 | store_block(&ctp[0],xor_block(ta[0], oa[0]));
ocb.c: | ^~~~~~~~~~~
ocb.c: | xor_block
ocb.c: ocb.c:917:4: error: AltiVec argument passed to unprototyped function
ocb.c: ocb.c:918:4: error: AltiVec argument passed to unprototyped function
ocb.c: 918 | store_block(&ctp[1],xor_block(ta[1], oa[1]));
ocb.c: | ^~~~~~~~~~~
ocb.c: ocb.c:919:4: error: AltiVec argument passed to unprototyped function
ocb.c: 919 | store_block(&ctp[2],xor_block(ta[2], oa[2]));
ocb.c: | ^~~~~~~~~~~
ocb.c: ocb.c:920:4: error: AltiVec argument passed to unprototyped function
ocb.c: 920 | store_block(&ctp[3],xor_block(ta[3], oa[3]));
ocb.c: | ^~~~~~~~~~~
ocb.c: ocb.c:1002:4: error: AltiVec argument passed to unprototyped function
ocb.c: 1002 | case 3: store_block(&ctp[2],xor_block(ta[2], oa[2]));
ocb.c: | ^~~~
ocb.c: ocb.c:1003:4: error: AltiVec argument passed to unprototyped function
ocb.c: 1003 | case 2: store_block(&ctp[1],xor_block(ta[1], oa[1]));
ocb.c: | ^~~~
ocb.c: ocb.c:1004:4: error: AltiVec argument passed to unprototyped function
ocb.c: 1004 | case 1: store_block(&ctp[0],xor_block(ta[0], oa[0]));
ocb.c: | ^~~~
ocb.c: ocb.c: In function 'ae_decrypt':
ocb.c: ...

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -mcpu=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o ocb_decrypt T
encrypt.o ocb_encrypt T

Number of similar (compiler,implementation) pairs: 20, 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 -O3 -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 -O3 -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 -O3 -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 ocb_decrypt T
encrypt.o ocb_decrypt T
encrypt.o ocb_encrypt T
encrypt.o ocb_encrypt T

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