Implementation notes: armeabi, rpi4, crypto_aead/aes128gcmv1

Computer: rpi4
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_aead
Primitive: aes128gcmv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
25915782980 0 1632407 412 808refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010820191221
26815762048 0 1622973 408 792refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010820191221
27360762988 0 1626135 412 792refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010820191221
27370762988 0 1633103 412 808refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010820191221
27409922988 0 1626135 412 792refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010820191221
61240864324 0 1624881 424 792refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010820191221
212647481828 0 1619372 412 792refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010820191221
213205532264 0 1621012 420 792refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010820191221
219776842428 0 1621724 420 792refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010820191221

Compiler output

Implementation: dolbeau/armv8crypto
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
armv8crypto.c: armv8crypto.c:245:9: warning: 'vext_p8' macro redefined [-Wmacro-redefined]
armv8crypto.c: #define vext_p8(a,b,c) vreinterpret_p8_u8(vext_u8(vreinterpret_u8_p8(a),vreinterpret_u8_p8(b),c))
armv8crypto.c: ^
armv8crypto.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:5653:9: note: previous definition is here
armv8crypto.c: #define vext_p8(__p0, __p1, __p2) __extension__ ({ \
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:246:9: warning: 'vextq_p16' macro redefined [-Wmacro-redefined]
armv8crypto.c: #define vextq_p16(a,b,c) vreinterpretq_p16_u16(vextq_u16(vreinterpretq_u16_p16(a),vreinterpretq_u16_p16(b),c))
armv8crypto.c: ^
armv8crypto.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/arm_neon.h:5716:9: note: previous definition is here
armv8crypto.c: #define vextq_p16(__p0, __p1, __p2) __extension__ ({ \
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:270:33: warning: implicit declaration of function 'vmull_p64' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: poly16x8_t rql = (poly16x8_t)(vmull_p64((poly64_t)(adl),(poly64_t)(ydl)));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:270:44: error: use of undeclared identifier 'poly64_t'
armv8crypto.c: poly16x8_t rql = (poly16x8_t)(vmull_p64((poly64_t)(adl),(poly64_t)(ydl)));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:270:60: error: use of undeclared identifier 'poly64_t'
armv8crypto.c: poly16x8_t rql = (poly16x8_t)(vmull_p64((poly64_t)(adl),(poly64_t)(ydl)));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:271:44: error: use of undeclared identifier 'poly64_t'
armv8crypto.c: poly16x8_t rqh = (poly16x8_t)(vmull_p64((poly64_t)(adh),(poly64_t)(ydh)));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:271:60: error: use of undeclared identifier 'poly64_t'
armv8crypto.c: ...

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

Compiler output

Implementation: dolbeau/armv8crypto
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
armv8crypto.c: armv8crypto.c: In function 'addmul':
armv8crypto.c: armv8crypto.c:326:19: warning: implicit declaration of function 'vrbitq_u8'; did you mean 'vbicq_u8'? [-Wimplicit-function-declaration]
armv8crypto.c: A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: ^~~~~~~~~
armv8crypto.c: vbicq_u8
armv8crypto.c: armv8crypto.c:326:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:327:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: X = (poly8x16_t)vrbitq_u8((uint8x16_t)/* vreversebyteq_u128 */((uint32x4_t)X));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:328:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: Y = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)Y));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:341:3: error: can't convert a value of type 'int' to vector type '__simd128_poly8_t' which has different size
armv8crypto.c: A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c: In function 'mulv':
armv8crypto.c: armv8crypto.c:398:3: error: can't convert a value of type 'int' to vector type '__simd128_uint32_t' which has different size
armv8crypto.c: return (uint32x4_t)vrbitq_u8((uint8x16_t)mulv_neon_nobr((uint32x4_t)vrbitq_u8((uint8x16_t)A),(uint32x4_t)vrbitq_u8((uint8x16_t)B)));
armv8crypto.c: ^~~~~~
armv8crypto.c: armv8crypto.c:398:3: error: can't convert a value of type 'int' to vector type '__simd128_uint32_t' which has different size

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

Compiler output

Implementation: openssl
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
decrypt.c: decrypt.c:13:18: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
decrypt.c: EVP_CIPHER_CTX x;
decrypt.c: ^
decrypt.c: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'struct evp_cipher_ctx_st'
decrypt.c: typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
decrypt.c: ^
decrypt.c: 1 error generated.

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

Compiler output

Implementation: openssl
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
decrypt.c: decrypt.c: In function 'crypto_aead_aes128gcmv1_openssl_decrypt':
decrypt.c: decrypt.c:13:18: error: storage size of 'x' isn't known
decrypt.c: EVP_CIPHER_CTX x;
decrypt.c: ^

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