Implementation notes: amd64, river, crypto_aead/aezv4

Computer: river
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aezv4
TimeImplementationCompilerBenchmark dateSUPERCOP version
758120refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
876836refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
1002592refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
1177364refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806

Compiler output

Implementation: crypto_aead/aezv4/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:181:2: error: #error - This implementation requires __AES__ or __ARM_FEATURE_CRYPTO
encrypt.c: encrypt.c:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zero_pad'
encrypt.c: encrypt.c:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'one_zero_pad'
encrypt.c: encrypt.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zero_set_byte'
encrypt.c: encrypt.c:226: error: expected specifier-qualifier-list before 'block'
encrypt.c: encrypt.c:234: error: expected declaration specifiers or '...' before 'size_t'
encrypt.c: encrypt.c:235: error: expected declaration specifiers or '...' before 'size_t'
encrypt.c: encrypt.c:236: error: expected declaration specifiers or '...' before 'size_t'
encrypt.c: encrypt.c: In function 'aez_setup':
encrypt.c: encrypt.c:239: error: 'block' undeclared (first use in this function)
encrypt.c: encrypt.c:239: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:239: error: for each function it appears in.)
encrypt.c: encrypt.c:239: error: expected ';' before 'tmp'
encrypt.c: encrypt.c:241: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:242: error: 'aez_ctx_t' has no member named 'J'
encrypt.c: encrypt.c:243: error: 'aez_ctx_t' has no member named 'L'
encrypt.c: encrypt.c:245: warning: passing argument 2 of 'blake2b' makes pointer from integer without a cast
encrypt.c: encrypt.c:245: error: too many arguments to function 'blake2b'
encrypt.c: encrypt.c:246: error: 'aez_ctx_t' has no member named 'J'
encrypt.c: encrypt.c:246: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:247: error: 'aez_ctx_t' has no member named 'L'
encrypt.c: encrypt.c:247: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:250: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:250: error: 'tmp' undeclared (first use in this function)
encrypt.c: encrypt.c:250: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: ...

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/aezv4/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cceEl9Ei.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//ccgWCYNM.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/aezv4/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccceHvPY.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//cczD65yl.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/aezv4/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccn3Fg6p.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//cc8h7yGv.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/aezv4/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccdnAvzS.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//ccXdT57R.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