Implementation notes: x86, leaf, crypto_stream/aes256ctr

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_stream
Primitive: aes256ctr
TimeImplementationCompilerBenchmark dateSUPERCOP version
121732opensslgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
121804opensslgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
132592opensslgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
137780opensslgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724

Compiler output

Implementation: crypto_stream/aes256ctr/cryptopp
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.cpp: stream.cpp:1:26: error: cryptopp/aes.h: No such file or directory
stream.cpp: stream.cpp:2:28: error: cryptopp/modes.h: No such file or directory
stream.cpp: stream.cpp: In function 'int crypto_stream_aes256ctr_cryptopp(unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:12: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:12: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:12: error: '::Encryption' has not been declared
stream.cpp: stream.cpp:12: error: expected `;' before 's'
stream.cpp: stream.cpp:13: error: 's' was not declared in this scope
stream.cpp: stream.cpp:14: error: 'size_t' was not declared in this scope
stream.cpp: stream.cpp: In function 'int crypto_stream_aes256ctr_cryptopp_xor(unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:26: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:26: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:26: error: '::Encryption' has not been declared
stream.cpp: stream.cpp:26: error: expected `;' before 's'
stream.cpp: stream.cpp:27: error: 's' was not declared in this scope
stream.cpp: stream.cpp:28: error: 'size_t' was not declared in this scope

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

Compiler output

Implementation: crypto_stream/aes256ctr/openssl
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: stream.c: In function 'crypto_stream_aes256ctr_openssl':
stream.c: stream.c:12: warning: incompatible implicit declaration of built-in function 'memset'
try.c: /tmp//ccELmVQc.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//ccXKhpQl.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv openssl

Compiler output

Implementation: crypto_stream/aes256ctr/openssl
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
stream.c: stream.c: In function 'crypto_stream_aes256ctr_openssl':
stream.c: stream.c:12: warning: incompatible implicit declaration of built-in function 'memset'
try.c: /tmp//ccw2j8Hr.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//ccLhRU3m.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv openssl

Compiler output

Implementation: crypto_stream/aes256ctr/openssl
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
stream.c: stream.c: In function 'crypto_stream_aes256ctr_openssl':
stream.c: stream.c:12: warning: incompatible implicit declaration of built-in function 'memset'
try.c: /tmp//cc1D0OWP.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//ccj71yPe.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv openssl

Compiler output

Implementation: crypto_stream/aes256ctr/openssl
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
stream.c: stream.c: In function 'crypto_stream_aes256ctr_openssl':
stream.c: stream.c:12: warning: incompatible implicit declaration of built-in function 'memset'
try.c: /tmp//ccAgFbrf.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp//ccGL5Z8b.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv openssl