Implementation notes: armeabi, tinker, crypto_aead/aes256gcmv1

Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aes256gcmv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
144990468 0 014091 424 816T:opensslnewgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
146595584 0 017463 432 824T:opensslnewgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
146968584 0 018195 432 824T:opensslnewgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
147001640 0 016106 428 816T:opensslnewgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
147115728 0 020837 452 824T:opensslnewclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
45809263484 0 1625529 384 840T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
46293441892 0 1623209 384 840T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
253056711848 0 1621748 380 832T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
274506662376 0 1626886 412 840T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
276532601264 0 1619321 376 832T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
851283501892 0 1622201 384 840refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
851397833484 0 1624521 384 840refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
1059357791848 0 1620740 380 832refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107
1080166602376 0 1625878 412 840refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024012820240107
1082870351264 0 1618313 376 832refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024012820240107

Compiler output

Implementation: T:cryptopp
Security model: timingleaks
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
stream.cpp: stream.cpp:2:10: fatal error: cryptopp/aes.h: No such file or directory
stream.cpp: 2 | #include <cryptopp/aes.h>
stream.cpp: | ^~~~~~~~~~~~~~~~
stream.cpp: compilation terminated.

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

Compiler output

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/arm_neon.h:32:2: error: "NEON support not enabled"
armv8crypto.c: #error "NEON support not enabled"
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:54:13: error: expected ';' after expression
armv8crypto.c: uint8x16_t temp = vld1q_u8(n);
armv8crypto.c: ^
armv8crypto.c: ;
armv8crypto.c: armv8crypto.c:54:3: error: use of undeclared identifier 'uint8x16_t'
armv8crypto.c: uint8x16_t temp = vld1q_u8(n);
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:54:14: error: use of undeclared identifier 'temp'
armv8crypto.c: uint8x16_t temp = vld1q_u8(n);
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:54:21: warning: implicit declaration of function 'vld1q_u8' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: uint8x16_t temp = vld1q_u8(n);
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:66:15: error: expected ';' after expression
armv8crypto.c: uint32x4_t t;
armv8crypto.c: ^
armv8crypto.c: ;
armv8crypto.c: armv8crypto.c:66:5: error: use of undeclared identifier 'uint32x4_t'
armv8crypto.c: uint32x4_t t;
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:66:16: error: use of undeclared identifier 't'
armv8crypto.c: ...

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

Compiler output

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
armv8crypto.c: armv8crypto.c: In function ‘addmul’:
armv8crypto.c: armv8crypto.c:327:19: warning: implicit declaration of function ‘vrbitq_u8’; did you mean ‘vbicq_u8’? [-Wimplicit-function-declaration]
armv8crypto.c: 327 | A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: | ^~~~~~~~~
armv8crypto.c: | vbicq_u8
armv8crypto.c: armv8crypto.c:327:3: error: cannot convert a value of type ‘int’ to vector type ‘__simd128_poly8_t’ which has different size
armv8crypto.c: 327 | A = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)A));
armv8crypto.c: | ^
armv8crypto.c: armv8crypto.c:328:3: error: cannot convert a value of type ‘int’ to vector type ‘__simd128_poly8_t’ which has different size
armv8crypto.c: 328 | X = (poly8x16_t)vrbitq_u8((uint8x16_t)/* vreversebyteq_u128 */((uint32x4_t)X));
armv8crypto.c: | ^
armv8crypto.c: armv8crypto.c:329:3: error: cannot convert a value of type ‘int’ to vector type ‘__simd128_poly8_t’ which has different size
armv8crypto.c: 329 | Y = (poly8x16_t)vrbitq_u8((uint8x16_t)vreversebyteq_u128((uint32x4_t)Y));
armv8crypto.c: | ^
armv8crypto.c: armv8crypto.c:342:3: error: cannot convert a value of type ‘int’ to vector type ‘__simd128_poly8_t’ which has different size
armv8crypto.c: 342 | 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:399:3: error: cannot convert a value of type ‘int’ to vector type ‘__simd128_uint32_t’ which has different size
armv8crypto.c: 399 | 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:399:3: error: cannot 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 T:dolbeau/armv8crypto
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:dolbeau/armv8crypto

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -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/types.h:102: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: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
decrypt.c: decrypt.c: In function ‘crypto_aead_aes256gcmv1_openssl_timingleaks_decrypt’:
decrypt.c: decrypt.c:13:18: error: storage size of ‘x’ isn’t known
decrypt.c: 13 | 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 T:openssl
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl