Implementation notes: amd64, river, crypto_aead/aes256gcmv1

Computer: river
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aes256gcmv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
47428opensslgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
47484opensslgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806
47524opensslgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
47596opensslgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
21776328refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
21802696refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
21986284refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
22879928refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806

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/dolbeau/aesenc-int
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
aesenc-int.c: aesenc-int.c:11:23: error: immintrin.h: No such file or directory
aesenc-int.c: aesenc-int.c:41: error: expected declaration specifiers or '...' before '__m128i'
aesenc-int.c: aesenc-int.c: In function 'aesni_key256_expand':
aesenc-int.c: aesenc-int.c:42: error: '__m128i' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:42: error: (Each undeclared identifier is reported only once
aesenc-int.c: aesenc-int.c:42: error: for each function it appears in.)
aesenc-int.c: aesenc-int.c:42: error: expected ';' before 'key0'
aesenc-int.c: aesenc-int.c:43: error: expected ';' before 'key1'
aesenc-int.c: aesenc-int.c:44: error: expected ';' before 'temp0'
aesenc-int.c: aesenc-int.c:47: error: 'rkeys' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:47: error: 'key0' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:48: error: 'temp0' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:49: error: 'temp2' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:49: error: 'key1' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:72: error: 'temp1' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:72: error: 'temp4' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c: At top level:
aesenc-int.c: aesenc-int.c:95: error: expected declaration specifiers or '...' before '__m128i'
aesenc-int.c: aesenc-int.c: In function 'aesni_encrypt1':
aesenc-int.c: aesenc-int.c:96: error: '__m128i' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:96: error: expected ';' before 'nv'
aesenc-int.c: aesenc-int.c:98: error: expected ';' before 'temp'
aesenc-int.c: aesenc-int.c:101: error: 'temp' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:101: error: 'rkeys' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:104: error: expected expression before ')' token
aesenc-int.c: ...

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

Compiler output

Implementation: crypto_aead/aes256gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cciK1SLe.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//cc9Coske.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//cclfAwCK.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//cckYMGU6.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/openssl
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc3e9zYY.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//ccHC0dD4.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 -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cczws45t.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//ccgSDMaR.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/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cc9ABwWv.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//ccOE6wLd.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//ccZI6NBa.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//cckD5mpC.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//ccXKLiIM.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//cc8iegPx.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//ccuVdsXG.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//ccbWGHjV.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