Implementation notes: amd64, genji291, crypto_encrypt/4hfe

Computer: genji291
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20180818
Operation: crypto_encrypt
Primitive: 4hfe

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -xAVX -O2 -fomit-frame-pointer
error 111
crypto_encrypt_open does not match m

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
icpc -xAVX -O2 -fomit-frame-pointer ref
icpc -xCOMMON-AVX512 -O2 -fomit-frame-pointer ref
icpc -xCORE-AVX-I -O2 -fomit-frame-pointer ref
icpc -xCORE-AVX2 -O3 -fomit-frame-pointer ref
icpc -xMIC-AVX512 -O3 -fomit-frame-pointer ref
icpc -xSSE4.2 -O2 -fomit-frame-pointer ref
icpc -xSSE4.2 -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -xAVX -O3 -fomit-frame-pointer
error 111
crypto_encrypt_open does not handle c=t overlap

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
icpc -xAVX -O3 -fomit-frame-pointer ref
icpc -xCOMMON-AVX512 -O3 -fomit-frame-pointer ref
icpc -xSSE4.1 -O2 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -xCORE-AVX-I -O3 -fomit-frame-pointer
error 111
crypto_encrypt_open does not handle s=t overlap

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
icpc -xCORE-AVX-I -O3 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -xCORE-AVX2 -O2 -fomit-frame-pointer
error 111
crypto_encrypt_open returns nonzero

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
icpc -xCORE-AVX2 -O2 -fomit-frame-pointer ref

Test failure

Implementation: ref
Security model: unknown
Compiler: icpc -xMIC-AVX512 -O2 -fomit-frame-pointer
error 111
crypto_encrypt_open is nondeterministic

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
icpc -xMIC-AVX512 -O2 -fomit-frame-pointer ref
icpc -xSSE4.1 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: g++
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/knownrandombytes.o: In function `randombytes':
try.cpp: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memcpy'
try.cpp: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_salsa20_dolbeau_amd64_xmm6int-api.o): In function `crypto_stream_salsa20_dolbeau_amd64_xmm6int':
try.cpp: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_salsa20_dolbeau_amd64_xmm6int-salsa20-xmm6int.o): In function `crypto_stream_salsa20_dolbeau_amd64_xmm6int_ECRYPT_keystream_bytes':
try.cpp: salsa20-xmm6int.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-api.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2':
try.cpp: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-chacha.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2_ECRYPT_keystream_bytes':
try.cpp: chacha.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 73, namely:
CompilerImplementations
g++ ref
g++ -O2 -fomit-frame-pointer ref
g++ -O3 -fomit-frame-pointer ref
g++ -O -fomit-frame-pointer ref
g++ -Os -fomit-frame-pointer ref
g++ -fno-schedule-insns -O2 -fomit-frame-pointer ref
g++ -fno-schedule-insns -O3 -fomit-frame-pointer ref
g++ -fno-schedule-insns -O -fomit-frame-pointer ref
g++ -fno-schedule-insns -Os -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
g++ -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
g++ -m64 -O2 -fomit-frame-pointer ref
g++ -m64 -O3 -fomit-frame-pointer ref
g++ -m64 -O -fomit-frame-pointer ref
g++ -m64 -Os -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -O2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -O3 -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -O -fomit-frame-pointer ref
g++ -m64 -march=core-avx-i -Os -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -O -fomit-frame-pointer ref
g++ -m64 -march=core-avx2 -Os -fomit-frame-pointer ref
g++ -m64 -march=core2 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core2 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -Os -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -O3 -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -O -fomit-frame-pointer ref
g++ -m64 -march=core2 -msse4 -Os -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O2 -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O3 -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -O -fomit-frame-pointer ref
g++ -m64 -march=corei7-avx -Os -fomit-frame-pointer ref
g++ -m64 -march=corei7 -O2 -fomit-frame-pointer ref
g++ -m64 -march=corei7 -O3 -fomit-frame-pointer ref
g++ -m64 -march=corei7 -O -fomit-frame-pointer ref
g++ -m64 -march=corei7 -Os -fomit-frame-pointer ref
g++ -m64 -march=k8 -O2 -fomit-frame-pointer ref
g++ -m64 -march=k8 -O3 -fomit-frame-pointer ref
g++ -m64 -march=k8 -O -fomit-frame-pointer ref
g++ -m64 -march=k8 -Os -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
g++ -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref
g++ -m64 -march=nocona -O2 -fomit-frame-pointer ref
g++ -m64 -march=nocona -O3 -fomit-frame-pointer ref
g++ -m64 -march=nocona -O -fomit-frame-pointer ref
g++ -m64 -march=nocona -Os -fomit-frame-pointer ref
g++ -march=barcelona -O2 -fomit-frame-pointer ref
g++ -march=barcelona -O3 -fomit-frame-pointer ref
g++ -march=barcelona -O -fomit-frame-pointer ref
g++ -march=barcelona -Os -fomit-frame-pointer ref
g++ -march=k8 -O2 -fomit-frame-pointer ref
g++ -march=k8 -O3 -fomit-frame-pointer ref
g++ -march=k8 -O -fomit-frame-pointer ref
g++ -march=k8 -Os -fomit-frame-pointer ref
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
g++ -march=nocona -O2 -fomit-frame-pointer ref
g++ -march=nocona -O3 -fomit-frame-pointer ref
g++ -march=nocona -O -fomit-frame-pointer ref
g++ -march=nocona -Os -fomit-frame-pointer ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: g++ -m64 -march=barcelona -O2 -fomit-frame-pointer
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/knownrandombytes.o: In function `randombytes':
try.cpp: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memcpy'
try.cpp: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_salsa20_dolbeau_amd64_xmm6int-api.o): In function `crypto_stream_salsa20_dolbeau_amd64_xmm6int':
try.cpp: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_salsa20_dolbeau_amd64_xmm6int-salsa20-xmm6int.o): In function `crypto_stream_salsa20_dolbeau_amd64_xmm6int_ECRYPT_keystream_bytes':
try.cpp: salsa20-xmm6int.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-api.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2':
try.cpp: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-chacha.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2_ECRYPT_keystream_bytes':
try.cpp: chacha.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: collect2: error: ld returned 1 exit status
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/knownrandombytes.o: In function `randombytes':
try.cpp: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memcpy'
try.cpp: knownrandombytes.c:(.text+0x...): undefined reference to `_intel_fast_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_salsa20_dolbeau_amd64_xmm6int-api.o): In function `crypto_stream_salsa20_dolbeau_amd64_xmm6int':
try.cpp: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_salsa20_dolbeau_amd64_xmm6int-salsa20-xmm6int.o): In function `crypto_stream_salsa20_dolbeau_amd64_xmm6int_ECRYPT_keystream_bytes':
try.cpp: salsa20-xmm6int.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-api.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2':
try.cpp: api.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: /scratch_lustre_DDN7k/bdolbeaur/supercop-20180818/supercop-data/genji291/amd64/lib/libsupercop.a(crypto_stream_chacha20_dolbeau_amd64_avx2-chacha.o): In function `crypto_stream_chacha20_dolbeau_amd64_avx2_ECRYPT_keystream_bytes':
try.cpp: chacha.c:(.text+0x...): undefined reference to `__intel_mic_avx512f_memset'
try.cpp: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -m64 -march=barcelona -O2 -fomit-frame-pointer ref
g++ -m64 -march=barcelona -O3 -fomit-frame-pointer ref
g++ -m64 -march=barcelona -O -fomit-frame-pointer ref
g++ -m64 -march=barcelona -Os -fomit-frame-pointer ref