Implementation notes: amd64, sliver, crypto_aead/aesjambuv2

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aesjambuv2

Test failure

Implementation: crypto_aead/aesjambuv2/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
error 111
crypto_aead_decrypt returns nonzero

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

Compiler output

Implementation: crypto_aead/aesjambuv2/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-86f18e.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
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_aead/aesjambuv2/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-f7d891.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
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments aesni

Compiler output

Implementation: crypto_aead/aesjambuv2/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt_aesni.c: encrypt_aesni.c:3:25: error: immintrin.h: No such file or directory
encrypt_aesni.c: encrypt_aesni.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aes128_keyexpand'
encrypt_aesni.c: encrypt_aesni.c:32: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:61: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:75: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:98: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:124: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:138: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:159: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:172: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:191: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:214: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:224: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c:240: error: expected ')' before '*' token
encrypt_aesni.c: encrypt_aesni.c: In function 'crypto_aead_aesjambuv2_aesni_encrypt':
encrypt_aesni.c: encrypt_aesni.c:272: error: '__m128i' undeclared (first use in this function)
encrypt_aesni.c: encrypt_aesni.c:272: error: (Each undeclared identifier is reported only once
encrypt_aesni.c: encrypt_aesni.c:272: error: for each function it appears in.)
encrypt_aesni.c: encrypt_aesni.c:272: error: expected ';' before 'jambu_state'
encrypt_aesni.c: encrypt_aesni.c:273: error: expected ';' before 'stateR'
encrypt_aesni.c: encrypt_aesni.c:278: error: expected ';' before 'K'
encrypt_aesni.c: encrypt_aesni.c:279: error: 'K' undeclared (first use in this function)
encrypt_aesni.c: encrypt_aesni.c:279: error: expected expression before ')' token
encrypt_aesni.c: encrypt_aesni.c:292: error: 'jambu_state' undeclared (first use in this function)
encrypt_aesni.c: encrypt_aesni.c:293: error: 'stateR' undeclared (first use in this function)
encrypt_aesni.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/aesjambuv2/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccGFsIcS.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/aesjambuv2/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccq9DmJ0.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/aesjambuv2/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccHJCVjp.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/aesjambuv2/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccYsn2zm.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