Implementation notes: aarch64, rockpi4, crypto_stream/hc128

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_stream
Primitive: hc128

Compiler output

Implementation: e/hc-128/200606
Security model: unknown
Compiler: cc
hc-128.c: In file included from hc-128.c:2:
hc-128.c: e/hc-128.c: In function 'crypto_stream_hc128_e_hc_128_200606_ECRYPT_keysetup':
hc-128.c: e/hc-128.c:207:54: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^~~~~~~~~~~~~~
hc-128.c: U8TO32_LITTLE
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200606_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200606_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200606_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc e/hc-128/200606
gcc e/hc-128/200606
gcc -O2 -fomit-frame-pointer e/hc-128/200606
gcc -O3 -fomit-frame-pointer e/hc-128/200606
gcc -O -fomit-frame-pointer e/hc-128/200606
gcc -Os -fomit-frame-pointer e/hc-128/200606
gcc -fno-schedule-insns -O2 -fomit-frame-pointer e/hc-128/200606
gcc -fno-schedule-insns -O3 -fomit-frame-pointer e/hc-128/200606
gcc -fno-schedule-insns -O -fomit-frame-pointer e/hc-128/200606
gcc -fno-schedule-insns -Os -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops e/hc-128/200606
gcc -funroll-loops -O2 -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -O3 -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -O -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -Os -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer e/hc-128/200606
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer e/hc-128/200606
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv e/hc-128/200606
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv e/hc-128/200606
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv e/hc-128/200606
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv e/hc-128/200606

Compiler output

Implementation: e/hc-128/200606
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
hc-128.c: In file included from hc-128.c:2:
hc-128.c: ./e/hc-128.c:207:54: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:221:57: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:269:45: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: ^
hc-128.c: 3 warnings generated.
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200606_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200606_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200606_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments e/hc-128/200606
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments e/hc-128/200606
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments e/hc-128/200606
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments e/hc-128/200606
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments e/hc-128/200606

Compiler output

Implementation: e/hc-128/200701a
Security model: unknown
Compiler: cc
hc-128.c: In file included from hc-128.c:2:
hc-128.c: e/hc-128.c: In function 'crypto_stream_hc128_e_hc_128_200701a_ECRYPT_keysetup':
hc-128.c: e/hc-128.c:239:54: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^~~~~~~~~~~~~~
hc-128.c: U8TO32_LITTLE
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701a_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701a_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701a_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc e/hc-128/200701a
gcc e/hc-128/200701a
gcc -O2 -fomit-frame-pointer e/hc-128/200701a
gcc -O3 -fomit-frame-pointer e/hc-128/200701a
gcc -O -fomit-frame-pointer e/hc-128/200701a
gcc -Os -fomit-frame-pointer e/hc-128/200701a
gcc -fno-schedule-insns -O2 -fomit-frame-pointer e/hc-128/200701a
gcc -fno-schedule-insns -O3 -fomit-frame-pointer e/hc-128/200701a
gcc -fno-schedule-insns -O -fomit-frame-pointer e/hc-128/200701a
gcc -fno-schedule-insns -Os -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops e/hc-128/200701a
gcc -funroll-loops -O2 -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -O3 -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -O -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -Os -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer e/hc-128/200701a
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer e/hc-128/200701a
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv e/hc-128/200701a
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv e/hc-128/200701a
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv e/hc-128/200701a
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv e/hc-128/200701a

Compiler output

Implementation: e/hc-128/200701a
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
hc-128.c: In file included from hc-128.c:2:
hc-128.c: ./e/hc-128.c:239:54: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:253:57: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:301:45: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: ^
hc-128.c: 3 warnings generated.
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701a_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701a_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701a_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments e/hc-128/200701a
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments e/hc-128/200701a
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments e/hc-128/200701a
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments e/hc-128/200701a
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments e/hc-128/200701a

Compiler output

Implementation: e/hc-128/200701b
Security model: unknown
Compiler: cc
hc-128.c: In file included from hc-128.c:2:
hc-128.c: e/hc-128.c: In function 'crypto_stream_hc128_e_hc_128_200701b_ECRYPT_keysetup':
hc-128.c: e/hc-128.c:209:54: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^~~~~~~~~~~~~~
hc-128.c: U8TO32_LITTLE
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701b_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701b_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701b_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc e/hc-128/200701b
gcc e/hc-128/200701b
gcc -O2 -fomit-frame-pointer e/hc-128/200701b
gcc -O3 -fomit-frame-pointer e/hc-128/200701b
gcc -O -fomit-frame-pointer e/hc-128/200701b
gcc -Os -fomit-frame-pointer e/hc-128/200701b
gcc -fno-schedule-insns -O2 -fomit-frame-pointer e/hc-128/200701b
gcc -fno-schedule-insns -O3 -fomit-frame-pointer e/hc-128/200701b
gcc -fno-schedule-insns -O -fomit-frame-pointer e/hc-128/200701b
gcc -fno-schedule-insns -Os -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops e/hc-128/200701b
gcc -funroll-loops -O2 -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -O3 -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -O -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -Os -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer e/hc-128/200701b
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer e/hc-128/200701b
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv e/hc-128/200701b
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv e/hc-128/200701b
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv e/hc-128/200701b
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv e/hc-128/200701b

Compiler output

Implementation: e/hc-128/200701b
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
hc-128.c: In file included from hc-128.c:2:
hc-128.c: ./e/hc-128.c:209:54: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (keysize >> 5); i++) ctx->key[i] = U32TO32_LITTLE (((u32*)key)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:223:57: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: for (i = 0; i < (ctx->ivsize >> 5); i++) ctx->iv[i] = U32TO32_LITTLE(((u32*)iv)[i]);
hc-128.c: ^
hc-128.c: ./e/hc-128.c:271:45: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
hc-128.c: ((u32*)output)[0] = ((u32*)input)[0] ^ U32TO32_LITTLE(keystream[0]);
hc-128.c: ^
hc-128.c: 3 warnings generated.
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701b_ECRYPT_keysetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701b_ECRYPT_ivsetup':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o): in function `crypto_stream_hc128_e_hc_128_200701b_ECRYPT_process_bytes':
try.c: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: hc-128.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: crypto_stream_hc128.a(hc-128.o):hc-128.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments e/hc-128/200701b
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments e/hc-128/200701b
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments e/hc-128/200701b
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments e/hc-128/200701b
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments e/hc-128/200701b