Implementation notes: x86, leaf, crypto_aead/aes256gcmv1

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aes256gcmv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
383340opensslgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
383576opensslgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
385756opensslgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
386448opensslgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
29815356refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
29836552refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
34355476refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
50819884refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724

Compiler output

Implementation: crypto_aead/aes256gcmv1/cryptopp
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.cpp: stream.cpp:2:26: error: cryptopp/aes.h: No such file or directory
stream.cpp: stream.cpp:3:26: error: cryptopp/gcm.h: No such file or directory
stream.cpp: stream.cpp:4:30: error: cryptopp/filters.h: No such file or directory
stream.cpp: stream.cpp:5:31: error: cryptopp/channels.h: No such file or directory
stream.cpp: stream.cpp: In function 'int crypto_aead_aes256gcmv1_cryptopp_encrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*, const unsigned char*)':
stream.cpp: stream.cpp:30: error: 'string' is not a member of 'std'
stream.cpp: stream.cpp:30: error: expected `;' before 'cipher'
stream.cpp: stream.cpp:31: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:31: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:31: error: '::Encryption' has not been declared
stream.cpp: stream.cpp:31: error: expected `;' before 'e'
stream.cpp: stream.cpp:32: error: 'e' was not declared in this scope
stream.cpp: stream.cpp:33: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:33: error: expected `;' before 'aef'
stream.cpp: stream.cpp:34: error: 'aef' was not declared in this scope
stream.cpp: stream.cpp:34: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:35: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:36: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:37: error: 'CryptoPP' has not been declared
stream.cpp: stream.cpp:41: error: 'cipher' was not declared in this scope
stream.cpp: stream.cpp:41: error: 'memcpy' was not declared in this scope
stream.cpp: stream.cpp:44: error: expected type-specifier before 'CryptoPP'
stream.cpp: stream.cpp:44: error: expected `)' before '::' token
stream.cpp: stream.cpp:44: error: expected `{' before '::' token
stream.cpp: stream.cpp:44: error: '::Exception' has not been declared
stream.cpp: ...

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_aead/aes256gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc2kxpZp.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//ccDsJL0W.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_aead/aes256gcmv1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccIqkuJV.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//cce2oQEL.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 ref

Compiler output

Implementation: crypto_aead/aes256gcmv1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccXRZlyc.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//ccQD2Jsk.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 ref

Compiler output

Implementation: crypto_aead/aes256gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccyNuI4K.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//cc8vOs2Z.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_aead/aes256gcmv1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cc4G4XWv.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//ccYToFZZ.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 ref

Compiler output

Implementation: crypto_aead/aes256gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccyL0KSz.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//ccQPb5bd.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_aead/aes256gcmv1/openssl
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//cc1RqLRo.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//ccKRWnzM.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

Compiler output

Implementation: crypto_aead/aes256gcmv1/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccpNrIYV.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//cccA7Vo0.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 ref