Implementation notes: armeabi, berry0, crypto_aead/aeadaes192ocbtaglen128v1

Computer: berry0
Microarchitecture: armeabi; ARM1176 (410fb767)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aeadaes192ocbtaglen128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
49980310336 0 035080 400 816T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012520240107
49996510336 0 035080 400 816T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012520240107
50057310640 0 032664 400 824T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012520240107
5030958628 0 027738 412 816T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012520240107
51080610676 0 032760 400 824T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012520240107
5813612568 0 019893 408 816T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012520240107
6258061828 0 018443 404 816T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012520240107
6264552084 0 020173 408 816T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012520240107
6579472536 0 025543 396 816T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012520240107

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -march=native -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: 5, namely:
CompilerImplementations
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: gcc -march=native -mtune=native -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: store_block(&ctp[0],xor_block(ta[0], oa[0]));
ocb.c: ^~~~~~~~~~~
ocb.c: xor_block
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: collect2: error: ld returned 1 exit status

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -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: 9, namely:
CompilerImplementations
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 -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref