Implementation notes: x86, leaf, crypto_aead/aes256cpfbv1

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aes256cpfbv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
505940aesrefgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
564844aesrefgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
583656aesrefgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
630812aesrefgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
1101724refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
1117992refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
1162144refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
1171872refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724

Compiler output

Implementation: crypto_aead/aes256cpfbv1/gladman
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
aeskey.c: aeskey.c:25:27: error: aes_via_ace.h: No such file or directory
aeskey.c: aeskey.c: In function 'aes_encrypt_key128':
aeskey.c: aeskey.c:100: error: 'VIA_ACE_AVAILABLE' undeclared (first use in this function)
aeskey.c: aeskey.c:100: error: (Each undeclared identifier is reported only once
aeskey.c: aeskey.c:100: error: for each function it appears in.)
aeskey.c: aeskey.c: In function 'aes_encrypt_key256':
aeskey.c: aeskey.c:201: error: 'VIA_ACE_AVAILABLE' undeclared (first use in this function)

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

Compiler output

Implementation: crypto_aead/aes256cpfbv1/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
cpfbkey.c: cpfbkey.c:15:23: error: wmmintrin.h: No such file or directory
cpfbkey.c: In file included from cpfbkey.c:17:
cpfbkey.c: cpfbkey.h:6: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.h:7: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.h:10: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.h:12: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:21: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:41: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:98: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:147: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:159: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:172: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:221: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:301: error: expected ')' before '*' token

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

Compiler output

Implementation: crypto_aead/aes256cpfbv1/evp
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc9xd3Dl.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: crypto_aead_aes256cpfbv1.a(encrypt.o): In function `crypto_aead_aes256cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes256cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
try.c: collect2: ld returned 1 exit status

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

Compiler output

Implementation: crypto_aead/aes256cpfbv1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccHgvLhw.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//cczVzGPA.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/aes256cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccb1lbTQ.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//cc2EhY6d.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 aesref

Compiler output

Implementation: crypto_aead/aes256cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc8vKR0v.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//cc88tEMQ.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 aesref

Compiler output

Implementation: crypto_aead/aes256cpfbv1/evp
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccFVRhse.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: crypto_aead_aes256cpfbv1.a(encrypt.o): In function `crypto_aead_aes256cpfbv1_evp_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes256cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
try.c: collect2: ld returned 1 exit status

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

Compiler output

Implementation: crypto_aead/aes256cpfbv1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccv3j7iZ.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//ccwXQKgC.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/aes256cpfbv1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccCiBknB.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//ccwY2eWt.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/aes256cpfbv1/evp
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccEa775S.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: crypto_aead_aes256cpfbv1.a(encrypt.o): In function `crypto_aead_aes256cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes256cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
try.c: collect2: ld returned 1 exit status

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

Compiler output

Implementation: crypto_aead/aes256cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccHJObra.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//ccuLjVB5.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 aesref

Compiler output

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

Compiler output

Implementation: crypto_aead/aes256cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccWi2yPu.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//ccyliVyU.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 aesref

Compiler output

Implementation: crypto_aead/aes256cpfbv1/evp
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccaL4LEx.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: crypto_aead_aes256cpfbv1.a(encrypt.o): In function `crypto_aead_aes256cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes256cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
try.c: collect2: ld returned 1 exit status

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