Implementation notes: armeabi, bblack, crypto_aead/aeadaes192ocbtaglen128v1

Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aeadaes192ocbtaglen128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2967368748 0 040113 428 792T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122120231212
29790410348 0 032937 428 784T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122120231212
29873610200 0 035529 428 776T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122120231212
29906810200 0 035529 428 776T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122120231212
3084486000 0 021768 476 776T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122120231212
3797321636 0 016335 472 776T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122120231212
3975681286 0 016423 472 776T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122120231212
4170241176 0 015160 468 776T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122120231212
4377722456 0 026107 424 776T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122120231212

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