Implementation notes: armeabi, berry2, crypto_aead/aeadaes192ocbtaglen128v1

Computer: berry2
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20210529
Operation: crypto_aead
Primitive: aeadaes192ocbtaglen128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4611438884 0 039448 400 832T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011820210114
4674008604 0 027682 412 816T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
5595872080 0 020045 408 816T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
5597341828 0 018319 404 816T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
5719022564 0 019773 408 816T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: clang -mcpu=native -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: crypto_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: crypto_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 -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: crypto_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: crypto_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 -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o ocb_decrypt T
encrypt.o ocb_encrypt T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
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